Wayback Machine
Wayback Machine
- provider: "wayback"
- web.archive.org
The Internet Archive's CDX index. One streamed answer with dates, subdomains included.
- Format
- CDX text
- Paging
- one streamed request, or one per urlScope prefix
- Dates
- firstSeen · lastSeen
- Key
- none
Access
- Load
await create("wayback") - CLI
urls discover example.com -p wayback - Key
nothing, no key and no account - Endpoint
https://web.archive.org/cdx/search/cdx
What it knows
Everything the Internet Archive captured under the domain since 1996. For an old domain that's the deepest source by far, and every row has a timestamp.
How it asks
One request to /cdx/search/cdx with matchType=domain, output=txt and fl=original,timestamp. The answer streams line by line and the reader is cancelled the moment the collector has enough.
Got a urlScope? Then nobody needs the whole domain. Each pattern becomes a matchType=prefix request for its host and path. https://nuxt.com/docs asks for nuxt.com/docs alone. On agntn.dev that's 259 KB in 13 seconds instead of 9.2 MB in 47. The collector still checks the exact pattern afterwards.
Some patterns can't shrink the request. A glob before the path, a port or a query in the prefix, a host outside the domain, more than eight prefixes. One of those and the provider falls back to the domain-wide dump. Slower, never wrong.
Traps
url=domain/*only matches the apex host,www.included. Subdomains never came back that way, so the provider asks withmatchType=domain, like urlfinder's*.domain/*.collapse=urlkeywould dedupe on the server, but that variant times out from some networks while the plain query answers at once. The collector dedupes instead.- A prefix request ignores case, the scheme and
www., so it returns a bit more than the pattern keeps. The collector drops the extras. - Rows are captures, not URLs.
http://example.com:80/captured in 2002 andhttp://example.com/captured in 2020 are one URL after dedup. The first spelling wins and the dates widen. - On a big domain the full dump is huge. Set a
limitor a filter, or run your own CDX server and pointbaseUrlat it.