Wayback Machine URL Scraper
Pricing
from $0.05 / 1,000 recovered urls
Wayback Machine URL Scraper
Recover archived website URLs from the Wayback Machine. Compare historical pages with your sitemap, review capture dates and export a deduplicated URL inventory to CSV or JSON. No API key required.
Pricing
from $0.05 / 1,000 recovered urls
Rating
0.0
(0)
Developer
Inus Grobler
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
12 days ago
Last modified
Categories
Features
Share
Recover historical website URLs from the Wayback Machine for website migrations, redirect planning and archive research. Enter a website or folder and receive a deduplicated URL inventory with capture dates and snapshot links. No Internet Archive API key is required.
What can you use it for?
- Find old page addresses to review before migrating a website.
- Compare archived URLs with your current sitemap URL list.
- Research historical website structure using links to archived captures.
- Export an inventory as CSV or JSON for your own tools.
The Actor retrieves Internet Archive CDX index metadata for successful historical HTML captures. It does not download page contents, restore websites or check whether pages currently exist. Archive coverage and response times vary.
Quick start
- Open the Input tab and enter a website or folder.
- Keep Maximum URLs at five for a small preview.
- Click Start, then open the Dataset tab to view or export results.
- Check Coverage and stop reason before treating an inventory as complete.
Try the prefilled example:
{"website":"https://www.iana.org/domains/reserved","maxResults":5}
With no website specified, the same IANA example is used. Replace it with your own target for normal use.
Simple inputs
| Input | Default | Purpose |
|---|---|---|
website | IANA example | Public website domain or folder URL. |
maxResults | 5 | Requested maximum unique URLs, from 1 to 10,000. Actual delivery depends on source availability. |
currentUrls | Empty | Optional current URLs copied from your sitemap export. |
A domain such as example.com includes its subdomains. A folder such as https://example.com/docs/ limits results to that path prefix. Folder queries treat the common www alias as equivalent; other subdomains remain separate. A trailing slash matters: /docs/ selects that folder, whereas /docs may also match /docs-old.
Do not include query parameters or fragments in the target website. Original result URLs retain their query parameters.
Optional sitemap comparison
Paste current URLs into the optional comparison section:
{"website":"https://example.com/docs/","maxResults":100,"currentUrls":["https://example.com/docs/","https://example.com/docs/start"]}
The Actor compares the supplied list; it does not download the sitemap. Up to 50,000 URLs and 8 MB of URL text are supported. Blank entries and surrounding spaces are ignored. Comparison ignores HTTP versus HTTPS, fragments, hostname capitalization and default ports, while preserving path capitalization and query parameters.
Output
This record is from a verified live IANA example:
{"url":"http://www.iana.org:80/domains/reserved/","domain":"www.iana.org","capturedAt":"2011-02-09T09:41:24Z","archiveUrl":"https://web.archive.org/web/20110209094124/http://www.iana.org:80/domains/reserved/","archivedStatusCode":200,"mimeType":"text/html","contentDigest":"F42TOFY5IPOLQOSLJMME2RZRIQNACWI3","inCurrentUrls":null}
| Field | Meaning |
|---|---|
url, domain | Original archived URL and hostname. |
capturedAt | Selected archive capture time, not publication date or necessarily the latest capture. |
archiveUrl | Link to the selected snapshot; replay availability can change. |
archivedStatusCode, mimeType | Historical HTTP 200 status and HTML/XHTML content type. |
contentDigest | Archive content fingerprint, or null when unavailable. |
inCurrentUrls | True if listed, false if absent, null when no comparison is supplied. |
Missing sitemap matches are candidates for investigation, not confirmed deleted pages or current 404s. Distinct query-string variants can remain separate URLs. Use the Sitemap comparison dataset view to review the URL, match, snapshot and capture date together.
Pricing
Listed Actor fees are $0.0061 per start plus $0.05 per 1,000 delivered URLs. Five delivered URLs cost $0.00635; 100 cost $0.0111. Check the Pricing tab for current terms and set a spending limit. Failed or empty runs still incur the start fee. Duplicate and rejected records do not generate URL charges. Resurrection incurs another start fee. Exports and existing coverage reports have no separate custom fee.
Coverage and troubleshooting
Results are delivered as they are collected, using sequential archive pagination with bounded retries. Temporary timeouts and overload responses reduce page sizes; stable responses allow larger pages. Requests respect Retry-After and stop within the run allowance.
Open Coverage and stop reason for RUN_SUMMARY. A successful Apify run can contain a useful partial inventory. Check outputCount, complete, stopReason, sourceError and hasMoreResults. Reaching the requested limit does not establish complete archive coverage. Missing or stalled continuation keys stop collection rather than repeat pages silently.
- Source unavailable or timed out: retain delivered rows, try a narrower folder or retry later. Repeated retries may incur additional startup fees.
- No archived URLs: check the target or broaden the folder. This differs from an upstream outage.
- Spending limit reached: review your budget before continuing.
- Interrupted run: resurrection retains checkpoints, the original limit and dataset; delivered URLs are not emitted again.
No usable records means the run fails with a clear reason. No sample rows are substituted. Hard termination may leave summaries outdated; compare them with the dataset after recovery. The existing advisory URL-quality report flags tracking queries and error-like paths for manual review without removing those URLs or asserting page content.
Python API example
Using Apify Python client 3.x:
import osfrom decimal import Decimalfrom apify_client import ApifyClientclient = ApifyClient(os.environ["APIFY_TOKEN"])run = client.actor("thescrapelab/wayback-machine-url-recovery").call(run_input={"website":"https://www.iana.org/domains/reserved","maxResults":5},max_total_charge_usd=Decimal("0.25"),)if run is None or run.status != "SUCCEEDED":raise RuntimeError("Check the Actor run log and coverage summary")for row in client.dataset(run.default_dataset_id).iterate_items():print(row["url"], row["archiveUrl"])summary = client.key_value_store(run.default_key_value_store_id).get_record("RUN_SUMMARY")print(summary["value"] if summary else "No summary available")quality = client.key_value_store(run.default_key_value_store_id).get_record("URL_QUALITY")print(quality["value"] if quality else "No quality report available")
Support and responsible use
Use the Issues tab with your run ID, target and stop reason. Never include credentials. Review Internet Archive's terms and applicable rights. Archive links do not grant rights to reuse underlying content. This independent Actor queries the Internet Archive CDX index and is not affiliated with Internet Archive.