hosting

GET /v1/site-imports/snapshots

What a web archive holds for a domain, by day.

Vituo vyote vya hosting

Uthibitishaji

Tuma ufunguo wa API kama tokeni ya kubeba. Ufunguo lazima uwe na ruhusa ya sites.view; ufunguo usio nayo unakataliwa kwa 403, si 404.

Endpoint hii haichukui kitambulisho cha shirika. Ufunguo wako tayari unalitambua shirika linalohusika, na jibu limewekewa kikomo kwa shirika hilo pekee.

Jaribu

Badilisha chochote kilicho ndani ya mabano ya pembe na maadili yako mwenyewe, na kishikiliaji cha ufunguo na ufunguo kutoka kwa dashibodi yako.

curl -X GET https://api.zinndigital.com/v1/site-imports/snapshots?domain=<domain> \
  -H "Authorization: Bearer zdk_live_…"

Umeingia kwenye akaunti? Dashibodi yako ya kiweko cha API inajaza kitambulisho chako halisi cha shirika na ufunguo wako mwenyewe, na kuendesha ombi dhidi ya API ya moja kwa moja ili uweze kuona jibu halisi. Fungua sehemu hii ya mwisho (endpoint) kwenye konsole ya API

Maelezo

The date picker's data for a Wayback restore. ⛔ **A cached database read, never a live archive call.** The Internet Archive's CDX index answered a two-row query in 41.9 seconds when measured on 2026-08-06, so an endpoint that blocked on it would hold a worker per customer and read as broken. When the cache is absent or stale this starts a durable refresh workflow and answers `202` with `state: "pending"`; poll it. `state` has four values and they are not interchangeable — `pending` (never fetched), `ready` (fresh), `stale` (usable but past its TTL, a refresh is running) and `error` (the archive refused, and the reason is in `error`). Requires `sites.view`.

Vigezo

JinaAinaInayohitajikaKilicho hiki
domain (query)stringNdiyoThe domain to look up, e.g. `example.com`. `www.` is ignored.

Majibu

JinaAinaInayohitajikaKilicho hiki
domainstringNdiyo
statestring<pending, ready, stale, error>NdiyoFour states, and they are not interchangeable — collapsing `error` into `pending` leaves a customer watching a spinner for something that will never arrive.
daysArchiveSnapshotDay[]Ndiyo
total_capturesintegerNdiyo
truncatedbooleanNdiyoTrue when the archive stopped short of the whole index. Reported rather than swallowed: a picker showing the first 50,000 of 400,000 captures while implying completeness tells t…
errorstringNdiyoWhy the last refresh failed; empty when it did not.
fetched_atstringHapana

Hitilafu ambazo mwisho huu unaweza kurudisha

401 · 403 · 422 · 429