Wayback Machine URLs Scraper avatar

Wayback Machine URLs Scraper

Pricing

from $2.00 / 1,000 wayback capture listeds

Go to Apify Store
Wayback Machine URLs Scraper

Wayback Machine URLs Scraper

List the captures the Internet Archive Wayback Machine holds for a domain or URL: capture time, original URL, status code, file type, size and a ready archive link. Pay per capture.

Pricing

from $2.00 / 1,000 wayback capture listeds

Rating

0.0

(0)

Developer

nanodata

nanodata

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Features

Limited permissions

Share

List the captures that the Internet Archive Wayback Machine holds for a domain or a URL. Each row is one capture with its time, original address, status code, file type, size and a link that opens the archived copy. You pay per capture delivered.

The data comes from the public capture index of the Internet Archive. No account and no API key are needed.

What you get

For each capture the actor returns one row with:

  • urlkey: the archive's normalized key for the URL
  • timestamp: capture time as the archive writes it (YYYYMMDDhhmmss, UTC)
  • capturedAt: the same time in ISO 8601
  • original: the URL that was captured
  • mimetype: the file type recorded for the capture
  • statuscode: the HTTP status the site returned (a number)
  • digest: a content hash. Equal hashes mean equal content.
  • length: stored size in bytes (a number)
  • archiveUrl: link that opens the capture in the Wayback Machine
  • query: the entry from your input that the capture was found for

A value the archive does not record is null.

Typical uses

  • Find old pages of a site, for example before a redesign or a migration
  • Build a list of URLs that used to exist, to set up redirects or check broken links
  • Collect all PDF or image files the archive holds for a domain
  • Track when a page changed, using one row per changed version
  • Research how a site looked in a given year

Pricing

You pay per capture delivered, plus a small fee for each run.

EventNamePrice
Run start (charged once, together with the first delivered row)actor-start$0.001 per run
One capture rowcapture-result$0.002 per capture ($2.00 per 1,000 captures)

A run that finds nothing is not charged. If you set a maximum cost for the run, the actor stops cleanly once the next row would go over it.

Input

FieldTypeDefaultDescription
urlslistapify.com sampleDomains (apify.com) or full URLs (https://apify.com/blog)
matchTypetextdomaindomain (the domain and its subdomains), host (this host only), prefix (URLs starting with the given URL) or exact (only the given URL)
fromtextemptyEarliest capture date, a year (2020) or a date (20200131)
totextemptyLatest capture date, a year or a date
statusFiltertext200A status code (200), a pattern (2.., 30[12]), !404 to leave a code out, or any for all
mimeTypeFiltertextemptyA file type such as text/html, application/pdf or image/.*. Start with ! to leave a type out.
collapsetexturlkeyurlkey: one row per URL. digest: a new row only when the content changed. none: every capture.
maxResultsnumber1000Maximum captures in total, up to 1,000,000
maxResultsPerUrlnumber0Optional limit per entry so later entries also get rows. 0 means no limit.
pageSizenumber1000Captures requested per page, 10 to 1000

How it works:

  • Entries in urls are worked through in order. maxResults counts all entries together, so with a small maxResults the first entry can use the whole budget. Set maxResultsPerUrl to share it.
  • With domain or host, a full URL is cut down to its host name.
  • With collapse set to none, a busy page such as a home page can have thousands of captures. Use from, to or maxResults to keep the result small.
  • Number fields also accept numbers written as text, for example "7".
  • Started with no input, the actor returns a sample of 100 captures for apify.com.

Example: all pages of a domain

{
"urls": ["apify.com"],
"matchType": "domain",
"maxResults": 5000
}

Example: PDF files of two sites, shared budget

{
"urls": ["example.org", "example.com"],
"mimeTypeFilter": "application/pdf",
"maxResults": 2000,
"maxResultsPerUrl": 1000
}

Example: every version of one page in 2023

{
"urls": ["https://apify.com/pricing"],
"matchType": "exact",
"from": "2023",
"to": "2023",
"collapse": "digest"
}

Output sample

{
"urlkey": "com,apify)/.well-known/agents.md",
"timestamp": "20260508051948",
"capturedAt": "2026-05-08T05:19:48Z",
"original": "https://apify.com/.well-known/agents.md",
"mimetype": "text/markdown",
"statuscode": 200,
"digest": "6ZQES6QBXK4TU6TBASZ23HGUCQ4CRYIR",
"length": 7750,
"archiveUrl": "https://web.archive.org/web/20260508051948/https://apify.com/.well-known/agents.md",
"query": "apify.com"
}

Limitations

  • The actor lists what the Internet Archive capture index holds. Pages the archive never captured do not appear.
  • The archive is often busy. The actor waits and retries, so runs are slower than the row count suggests. If the archive keeps refusing, the run stops cleanly with a status that says so, and only delivered rows are charged.
  • The archive may hold several captures of the same page. With collapse set to none you pay for each one.
  • The actor does not download or check archived content. Open archiveUrl to view a capture.
  • Very large domains can hold millions of captures. Use maxResults and the filters to keep a run small.

FAQ

Do I need an Internet Archive account or key? No. The actor reads the public capture index.

Does the actor download the archived pages? No. It lists captures and gives a link for each. Open archiveUrl to see the archived copy.

Why do I get one row per URL by default? collapse is urlkey by default, which keeps one capture per URL (the earliest). Use digest to get one row per changed version, or none for every capture.

Why is statuscode sometimes empty? For repeat captures the archive records no status code. These rows have a null statuscode. They are left out by the default filter 200. Use statusFilter set to any to keep them.

What does length mean? The size of the stored capture in bytes, as the archive holds it. It is usually smaller than the page you see in a browser.

Why did I get fewer rows than maxResults? The archive holds fewer captures for your filters, or the maximum cost you set for the run was reached. The run status message says which.

How fast is it? The actor sends one request at a time with at least one second between requests, to respect the archive's limits. A page of 1,000 captures usually takes a few seconds, but the archive often answers slowly or asks to wait, so a run of a few hundred rows can take a few minutes. If the archive asks to slow down, the actor waits and tries again, then stops cleanly if the archive keeps refusing.

Can a run be restarted safely? Yes. Progress is saved after every page. A restarted run continues where it stopped and does not deliver or charge the same rows twice.

Is this affiliated with the Internet Archive? No. This is an independent tool that reads public data. Please keep your use modest and in line with the Internet Archive terms of use.