hosting

GET /v1/site-imports/snapshots

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

Sve hosting krajnje tačke

Autentifikacija

Pošaljite API ključ kao bearer token. Ključ mora imati dozvolu sites.view; ključ bez nje se odbija sa 403, a ne sa 404.

Ovaj krajnji tačka ne prihvata ID organizacije. Vaš ključ već identifikuje organizaciju kojoj pripada, a odgovor je ograničen na nju.

Isprobajte

Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.

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

Prijavljeni ste? API konzola na vašoj kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli

Detalji

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`.

Parametri

NazivVrstaObaveznoŠta je ovo
domain (query)stringDaThe domain to look up, e.g. `example.com`. `www.` is ignored.

Odgovor

NazivVrstaObaveznoŠta je ovo
domainstringDa
statestring<pending, ready, stale, error>DaFour states, and they are not interchangeable — collapsing `error` into `pending` leaves a customer watching a spinner for something that will never arrive.
daysArchiveSnapshotDay[]Da
total_capturesintegerDa
truncatedbooleanDaTrue 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…
errorstringDaWhy the last refresh failed; empty when it did not.
fetched_atstringNe

Greške koje ovaj krajnji tačka može da vrati

401 · 403 · 422 · 429