Crawl History
When a domain first and last appeared in the Wayback Machine archive, and how large its archive footprint is.
https://api.rankparse.com/v1/crawl-history2 creditsAPI keyLooks up a domain in the Internet Archive's Wayback Machine CDX index and returns its earliest and latest snapshot dates plus a capture count (counted up to 10,000). Use it as a quick age and longevity signal when evaluating a domain. The data comes live from web.archive.org, not from RankParse's link graph.
Query parameters
domainstringrequiredBare domain such as stripe.com. No scheme, path or port. The count covers every archived URL under it (domain/*). A missing or invalid value returns 400 invalid_url (or private_ip) before any charge.
Response
domainstringThe normalized domain you queried (top level and inside data).
dataobjectThe archive summary.
Show propertiesHide properties
first_seenstring | nullDate of the earliest archived snapshot found, YYYY-MM-DD (UTC). See How exact the dates are.
last_seenstring | nullDate of the most recent archived snapshot found, YYYY-MM-DD (UTC).
total_snapshotsinteger | nullNumber of archived captures under the domain, counted up to 10,000. Every capture counts, redirects and error pages included. 0 means the archive has no captures. null means the count lookup failed, not that there is no history.
total_snapshots_cappedbooleantrue when the count reached 10,000, so the real total is at least that. false otherwise, including when total_snapshots is null.
sourcestringAlways wayback_machine.
credits_usedintegerAlways 2 on success.
credits_remainingintegerYour balance after the charge.
Behavior and limits
Three CDX lookups run in parallel: a scan of captures under the domain (the count, 45 second timeout) and the homepage's oldest and newest capture (10 seconds each). Each answer may be at most 1 MB.
How exact the dates are
- When
total_snapshotsis a number andtotal_snapshots_cappedisfalse,first_seenandlast_seenare the oldest and newest of every capture under the domain. - When
total_snapshots_cappedistrue, the scan covered only part of the domain, so the dates come from those captures plus the homepage's own oldest and newest capture. - When
total_snapshotsisnull, the scan failed and the dates come from the homepage only.
In the last two cases a page archived earlier or later than the captures used can be missed.
Partial failures and outages
- No history is not an error. A domain the archive has never seen returns
200withfirst_seen: null,last_seen: null,total_snapshots: 0andtotal_snapshots_capped: false. It is billed. - Large domains can be slow. The Wayback Machine takes 20 seconds or more to search a whole large domain (for example
mozilla.org), so calls can take up to 45 seconds. Set your client timeout above that. The very largest domains (for examplewikipedia.org) can exceed it and returntotal_snapshots: null, with the dates still filled in from the homepage. This is billed as usual. - Some lookups fail: the fields they would fill come back
nullwith a200, and the call is billed. - None answer (the Wayback Machine is down, slow or rate limiting):
503 wayback_unavailable, not charged. Retry later.
Billing
- Credits: 2 per call. Any non-2xx response is refunded. Invalid domains are rejected before billing. Responses are not cached by RankParse.
- Rate limit: 60 requests per minute per key, plus the Wayback Machine's own availability. See Rate limiting.
Errors
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_url | domain is missing, not a bare domain, or longer than 253 characters. Not charged. |
| 400 | private_ip | The domain is a private, reserved or local host. Not charged. |
| 401 | invalid_api_key | Missing, invalid or revoked API key. |
| 402 | insufficient_credits | Balance is lower than 2 credits. |
| 402 | spend_cap_reached | Your monthly spend cap is reached. |
| 429 | rate_limited | More than 60 requests in a minute. |
| 503 | wayback_unavailable | None of the Wayback Machine lookups answered. Not charged; retry later. |
See Errors for the shared error format.
Related
MCP tool: get_crawl_history (argument domain).