Archive search methods: how to search the archived web at content level

Compiled 2 December 2026 during the third pass of the forum dossier (African/Caribbean diaspora discourse about Black Americans, 1993, 2013). Every tool below was either used in this pass or verified against its own documentation in this pass. Where a tool could not be exercised from the available text fetcher, that is stated as a fetcher limit, not as a property of the tool. Reuse this file on other research jobs.

0. The three problems that prompted this file, and what they actually are

  1. "web.archive.org returned HTTP 403." The block hits automated text fetchers, not the archive itself. The same URLs open fine in an ordinary browser session (verified in the dossier's third Wayback pass, which completed a full CDX enumeration in a real browser after the fetcher was refused). Rule: a 403 from a fetcher is a client problem. Switch client (real browser), do not conclude the archive is down or the captures absent, and do not route around a denial inside the same blocked client.
  2. "Broad CDX queries die with 504 Gateway Time-out." True of matchType=domain and large matchType=host queries against big domains. The fix is query shape, not persistence: narrow prefix queries (matchType=prefix on a specific path), bounded with from=/to=, filter=statuscode:200, collapse=urlkey and a positive limit=. Every successful enumeration in this project used that shape.
  3. "Internet Archive intermittently serves a 'Temporarily Offline' page." Real and transient. Retry later; a failed attempt is not a negative result. Log it as unverified, never as empty.

1. Wayback Machine CDX API (URL index: no full text)

Endpoint: https://web.archive.org/cdx/search/cdx. It searches the index of captured URLs, never page content. Anything content-level must be done by fetching captures the index returns.

Parameters that matter (per the CDX server documentation, github.com/internetarchive/wayback, wayback-cdx-server README):

Parameter Use
url= Target URL or pattern; URL-encode it if it contains its own query string
matchType=exact One URL (default)
matchType=prefix Everything under a path: the workhorse for forum trees
matchType=host / matchType=domain Whole host / host + subdomains: expensive, 504-prone on big domains
from= / to= Inclusive timestamp bounds, 1, 14 digits (from=2006&to=2013)
filter=statuscode:200 Repeatable [!]field:regex predicates; stack them
collapse=urlkey One row per distinct URL: use to list a forum's archived threads
collapse=timestamp:8 One capture per day; collapse=digest dedupes identical content (adjacency-based, not global)
fl=urlkey,timestamp,original,statuscode,digest Trim returned fields
output=json JSON array, first row is field names
limit= Positive cap; showNumPages=true + page= for paging large result sets

Worked pattern (forum thread enumeration): https://web.archive.org/cdx/search/cdx?url=example.com/forums/&matchType=prefix&from=2006&to=2013&filter=statuscode:200&collapse=urlkey&limit=500&output=json

Content access once the index gives a timestamp: https://web.archive.org/web/<timestamp>id_/<original URL>: the id_ suffix returns the raw archived response without the Wayback toolbar/rewrite, which is the form to quote and grep.

Limits and traps: - No full-text search exists over Wayback captures. The archive.org "Search archived websites" box is a URL search. Anyone claiming to "search Wayback for a word" is either using Arquivo.pt (below), Common Crawl WARC greps, or a third-party index. - The Availability API (archive.org/wayback/available) is degraded: it returns empty archived_snapshots for URLs that are in fact archived. Use CDX as the primary mechanism. - Retroactive robots.txt exclusion can hide captures that exist; a CDX zero is "not retrievable", not "never captured". - The CDX index is sorted by URL then date; thread-level work means enumerating a forum's URL space first, then sampling captures: there is no shortcut around the enumeration step.

2. Arquivo.pt: the one true full-text archive search (use this first for content)

The Portuguese web archive exposes full-text search over the content of archived pages, which neither Wayback nor Common Crawl offers. This pass's single most productive tool: it found, by content, a 2006 Nigeriaworld article using "akata" and a 2009, 2013 diaspora blog comment thread stating the lazy/welfare pattern: neither findable by URL guessing.

Endpoints (all open, JSON, CORS-enabled; documentation at arquivo.pt/textsearch/api-docs/v3 and the Arquivo.pt API wiki):

Coverage and limits, honestly: - Holdings centre on the Portuguese web (.pt, Portuguese language) plus broad international crawls (the AWP/EAWP collections). Big English-language sites appear, but diaspora-forum coverage is spotty and must be probed per domain: in this pass Arquivo held no BlackPlanet captures at all, only 2021, 22 captures of Nairaland, and thin GhanaWeb material: while still holding the 2006 Nigeriaworld article (captured 2021) that no other route surfaced. - The full-text index lags the crawl, in places by years; recent captures may be in versionHistory before they are text-searchable. - A bare rare-word query (q=akata) returns ~95k estimated results dominated by namesakes (a novel series, a manga publisher, Croatian legal "akata"). Site restriction and date windows are not optional refinements; they are what make the tool usable. - Phrase-pair queries (two quoted phrases) behaved loosely in testing and returned noise; prefer one phrase + site restriction, or phrase + date window.

3. Common Crawl: URL index + byte-range WARC retrieval (the grep-it-yourself archive)

A crawl corpus, not a preservation archive, but the most machine-friendly route to dead pages: no throttling observed in the documentation and third-party probes, and records are individually retrievable.

Fetcher note from this pass: through the text fetcher available here, index.commoncrawl.org index queries returned HTTP 503 on every attempt while collinfo.json itself loaded and reported the service up: the same fetcher-side pattern as the Wayback 403. A direct HTTP client or real browser is the working route; the queries are specified in the dossier, Section 8, for that route.

4. Internet Archive item search: full text for items, not for web captures

Two different things share the archive.org brand; conflating them wastes hours.

5. archive.today: on-demand snapshots only (2012, )

Mirrors: archive.today / .ph / .is / .fo / .md / .li (one service). Founded 2012; it crawls nothing: every capture exists because a user submitted that URL. Consequences: coverage of 1990s, 2000s forum threads is near zero by construction, and it can only ever hold the 2012+ state of a page, never its earlier state.

6. Memento / Time Travel: the aggregator is gone; use per-archive timemaps

Memento (RFC 7089) standardises datetime negotiation: a TimeGate returns the capture of a URL nearest a requested datetime, and a TimeMap lists all captures across archives. The LANL Time Travel aggregator (timetravel.mementoweb.org) shut down in September 2025 (the Memento Project concluded 5 September 2025): older guides that route every archive lookup through it are stale, and its API endpoints no longer resolve. Working substitutes:

7. Usenet web archives: Google Groups is decayed; the mboxes are the record

8. Decision table

Question Tool Pattern
"Find pages whose text contains X" Arquivo.pt textsearch q="phrase"&siteSearch=domain&from=&to= then textextracted
"What captures exist of this URL / under this path?" Wayback CDX narrow matchType=prefix, collapse=urlkey, bounded dates, filter=statuscode:200
"Wayback has nothing / is blocked / excluded" Common Crawl (2008+) per-crawl index query → Range GET the WARC record → grep locally
"Search a whole corpus" (Usenet, lists, dumps) IA item files archive.org/metadata/<id> → download → local grep with word boundaries
"Did anyone save this page since 2012?" archive.today search box / archive.ph/timemap/<url>; corroborate before citing
"Which archive holds this URL at all?" Per-archive timemaps (Memento aggregator defunct) query Wayback CDX + Arquivo versionHistory + CC index in turn
"Search inside a book/scan" IA "Search text contents" / BookReader texts items only: never web captures

9. Standing rules earned in this pass

  1. A fetcher's 403/503 is a client fact, not an archive fact. Change client before concluding anything; never route around a denial inside the blocked client, and never report a blocked lane as an empty archive.
  2. Shape beats persistence: every failed broad query in this project succeeded when narrowed (prefix + dates + filters + collapse + limit).
  3. Full text exists in exactly one public web archive (Arquivo.pt). Everything else is enumerate-then-fetch-then-grep. Budget the work accordingly.
  4. Coverage is per-domain and must be probed, never assumed: the same archive that held nothing of BlackPlanet held the one 2006 Nigeriaworld article that mattered.
  5. Date-window everything. Undated archive queries drown in namesakes and later material.
  6. A zero is a statement about a specific index, query and date: record all three, or the zero is worthless.