Find the archived capture of a URL closest to a given time.
GET/wayback/available
- Takes: URL
- Takes: Domain
- Passive: the target is not contacted
Returns the closest capture as a link. With no timestamp the most recent capture is returned. The docs say archived_snapshots currently returns only the single closest capture, and an empty object when nothing is archived.
Query parameters
urlThe URL to check
timestamp1 to 14 digits, YYYYMMDDhhmmss. If omitted, the most recent capture is returned.
callbackWraps the response for JSONP
Response fields · 5ShowHide
archived_snapshots
Empty object when no capture exists
available
Whether the capture is available
url
Link to the archived copy
timestamp
Capture time, YYYYMMDDhhmmss
status
HTTP status of the capture
curl 'https://archive.org/wayback/available?url=example.com'{
"archived_snapshots": {
"closest": {
"available": true,
"url": "http://web.archive.org/web/20130919044612/http://example.com/",
"timestamp": "20130919044612",
"status": "200"
}
}
}