Skip to Content

Crawl History

When a domain first and last appeared in the Wayback Machine archive, and how large its archive footprint is.

GEThttps://api.rankparse.com/v1/crawl-history2 creditsAPI key

Looks 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

domainstringrequired

Bare 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

domainstring

The normalized domain you queried (top level and inside data).

dataobject

The archive summary.

Show properties
first_seenstring | null

Date of the earliest archived snapshot found, YYYY-MM-DD (UTC). See How exact the dates are.

last_seenstring | null

Date of the most recent archived snapshot found, YYYY-MM-DD (UTC).

total_snapshotsinteger | null

Number 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_cappedboolean

true when the count reached 10,000, so the real total is at least that. false otherwise, including when total_snapshots is null.

sourcestring

Always wayback_machine.

credits_usedinteger

Always 2 on success.

credits_remaininginteger

Your 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_snapshots is a number and total_snapshots_capped is false, first_seen and last_seen are the oldest and newest of every capture under the domain.
  • When total_snapshots_capped is true, 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_snapshots is null, 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 200 with first_seen: null, last_seen: null, total_snapshots: 0 and total_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 example wikipedia.org) can exceed it and return total_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 null with a 200, 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

HTTPCodeWhen
400invalid_urldomain is missing, not a bare domain, or longer than 253 characters. Not charged.
400private_ipThe domain is a private, reserved or local host. Not charged.
401invalid_api_keyMissing, invalid or revoked API key.
402insufficient_creditsBalance is lower than 2 credits.
402spend_cap_reachedYour monthly spend cap is reached.
429rate_limitedMore than 60 requests in a minute.
503wayback_unavailableNone of the Wayback Machine lookups answered. Not charged; retry later.

See Errors for the shared error format.

MCP tool: get_crawl_history (argument domain).