Reef AI: ask for any data. Try it
Looking for the overview — what this API returns, what it costs, and a call you can run without a key? See the Wayback Machine API page →
docs / wayback-machine

Wayback Machine

Every Internet Archive capture of a URL or domain: timestamps, status codes, snapshot links, first and last seen.

base /wayback-machine/v15 endpoints
post/wayback-machine/v1/snapshots1 credit

All Wayback captures for a URL (timestamp, status, mimetype, digest, archival size, snapshot_url), date/status/mime filtered, collapsible, RESUME-KEY PAGINATED.

ParameterAllowed / rangeDescription
urlrequired—The URL, host, or path to look up in the archive (e.g. 'github.com', 'github.com/torvalds', 'https://example.com/page'). Scheme optional. Use with match=prefix/domain/host to widen.
fromoptional—Earliest capture to include. ISO date (YYYY-MM-DD) or a Wayback timestamp (YYYYMMDDhhmmss, any 4-14 digit prefix). Inclusive.
tooptional—Latest capture to include. ISO date or Wayback timestamp prefix. Inclusive.
limit = 100optional1–1000Max captures to return (1-1000, default 100). Page further with meta.resume_key on the snapshots action.
collapseoptionaldigest · timestamp:4 · timestamp:6 · timestamp:8 · timestamp:10 · urlkey · original · statuscode · mimetypeDeduplicate consecutive captures on a field (CDX 'collapse'). collapse=digest is the change-detection workhorse.
match = exactoptionalexact · prefix · host · domainHow to match url: exact | prefix | host | domain. domain_captures forces 'domain'.
statusoptional—Keep only captures with this HTTP status (e.g. 200, 404, 301). Prefix with '!' to exclude (e.g. '!200').
mimeoptional—Keep only captures of this MIME type (e.g. text/html, application/pdf, image/png). Prefix with '!' to exclude.
filteroptional—Advanced raw CDX filter expression(s), comma-separated. Format [!]field:regex over urlkey/timestamp/original/mimetype/statuscode/digest/length (e.g. 'original:.*\.pdf$'). Power-user escape hatch.
resume_keyoptional—Opaque pagination token from meta.resume_key of the previous page; returns the next page of captures.
Try in playground →
post/wayback-machine/v1/available1 credit

Closest single Wayback snapshot to a given date (or the latest). Fast existence check.

ParameterAllowed / rangeDescription
urlrequired—The URL, host, or path to look up in the archive (e.g. 'github.com', 'github.com/torvalds', 'https://example.com/page'). Scheme optional. Use with match=prefix/domain/host to widen.
timestampoptional—Target date for the closest snapshot. ISO date or Wayback timestamp prefix. Omitted → the most recent capture.
Try in playground →
post/wayback-machine/v1/history1 credit

Lifespan + capture cadence for a URL: EXACT first_seen/last_seen + span, plus per-year capture counts and status/mime breakdown — the SEO/due-diligence summary.

ParameterAllowed / rangeDescription
urlrequired—The URL, host, or path to look up in the archive (e.g. 'github.com', 'github.com/torvalds', 'https://example.com/page'). Scheme optional. Use with match=prefix/domain/host to widen.
fromoptional—Earliest capture to include. ISO date (YYYY-MM-DD) or a Wayback timestamp (YYYYMMDDhhmmss, any 4-14 digit prefix). Inclusive.
tooptional—Latest capture to include. ISO date or Wayback timestamp prefix. Inclusive.
match = exactoptionalexact · prefix · host · domainHow to match url: exact | prefix | host | domain. domain_captures forces 'domain'.
Try in playground →
post/wayback-machine/v1/domain_captures1 credit

All archived URLs under a domain (the domain + its subdomains), one row per unique URL — the 'every page this site ever had' view. Resume-key paginated.

ParameterAllowed / rangeDescription
urlrequired—The URL, host, or path to look up in the archive (e.g. 'github.com', 'github.com/torvalds', 'https://example.com/page'). Scheme optional. Use with match=prefix/domain/host to widen.
fromoptional—Earliest capture to include. ISO date (YYYY-MM-DD) or a Wayback timestamp (YYYYMMDDhhmmss, any 4-14 digit prefix). Inclusive.
tooptional—Latest capture to include. ISO date or Wayback timestamp prefix. Inclusive.
limit = 100optional1–1000Max captures to return (1-1000, default 100). Page further with meta.resume_key on the snapshots action.
statusoptional—Keep only captures with this HTTP status (e.g. 200, 404, 301). Prefix with '!' to exclude (e.g. '!200').
mimeoptional—Keep only captures of this MIME type (e.g. text/html, application/pdf, image/png). Prefix with '!' to exclude.
filteroptional—Advanced raw CDX filter expression(s), comma-separated. Format [!]field:regex over urlkey/timestamp/original/mimetype/statuscode/digest/length (e.g. 'original:.*\.pdf$'). Power-user escape hatch.
resume_keyoptional—Pagination token from the previous page's meta.resume_key.
Try in playground →
post/wayback-machine/v1/batch1 credit

Closest-snapshot existence + capture-count for up to 20 URLs in one call (bulk archival presence — competitor/portfolio sweeps).

ParameterAllowed / rangeDescription
urlsrequired—Up to 20 URLs/hosts to look up at once (JSON array or comma/newline-separated string).
timestampoptional—Target date for the closest snapshot. ISO date or Wayback timestamp prefix. Omitted → the most recent capture.
Try in playground →
Built for volume
5M+ requests a day

Measured at 60 requests a second across the fleet, with no central bottleneck. Volume pricing is on request, and per-key limits are raised for high-volume accounts.

Missing a source?
We build it

Tell us a site we do not cover yet and it becomes an engine. A customer asked for bestprice.gr on a Sunday and it was in the catalog the next day.

Support
2 minute median reply

Median time from a question in the live chat to the first answer, measured across every answered conversation. Setup help included, no support tier to buy.

One key, one balance
Every API included

No per-site plans and no separate subscriptions. One key and one credit pool across the whole catalog, so adding a source costs nothing up front.

Planning something large? Tell us the volume and the sources and we will come back with what it costs and what we would have to build.