具
Wayback Machine API
1 endpointUtilitiesGlobalsocial:read
Returns the Internet Archive Wayback Machine snapshot of a page closest to a given time, when one exists.
View as Markdown| GET | /wayback/snapshot | The Wayback Machine snapshot of a page closest to a time, when one exists. |
snapshot
GET
/v1/wayback/snapshotThe Wayback Machine snapshot of a page closest to a time, when one exists.
scope social:read1 unitcached 6 h
Parameters
urlstring required | Page URL, such as https://example.com/ (a bare domain is taken as https). e.g. https://example.com/ |
timestampstring | Wanted time as YYYY, YYYYMM, YYYYMMDD or YYYYMMDDhhmmss. Omit for the latest snapshot. e.g. 2020 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
6 fields
archiveUrl | string |
available | boolean |
capturedAt | string |
requested | string |
statusCode | integer (int64) |
url | string |
curl "https://api.hoshime.com/v1/wayback/snapshot?url=https%3A%2F%2Fexample.com%2F×tamp=2020" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/wayback/snapshot?url=https%3A%2F%2Fexample.com%2F×tamp=2020", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/wayback/snapshot?url=https%3A%2F%2Fexample.com%2F×tamp=2020", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "archiveUrl": "https://…", "available": false, "capturedAt": "2026-11-06T09:41:00Z", "requested": "…", "statusCode": 0, "url": "https://…" }, "meta": { "cached": false, "endpoint": "snapshot", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "wayback", "requestId": "req_2Xb9kQ…", "units": 1 } }