v1

latestOpenAPI 3.1.02026-08-046039.9 KB

Retrieving Snapshots

Fetching an archive from the Wayback Machine API is done with a RESTful HTTP GET request

get/wayback/available

Query parameters

urlstring required
timestampstring date-time

1-14 digit string (e.g. 20060101) of the format (YYYYMMDDhhmmss) used to retrieve Wayback Snapshots at a certain time. If not specified, the most recenty available capture in Wayback is returned

callbackstring

An optional callback which may be specified to produce a JSONP response.

Response

200

Example response

{
  "archived_snapshots": {
    "closest": {
      "available": true,
      "url": "http://web.archive.org/web/20060101064348/http://www.example.com:80/",
      "timestamp": "20060101064348",
      "status": "200"
    }
  }
}