hosting

GET /v1/site-imports/snapshots

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

Все эндпоинты hosting

Вся документация для разработчиков

Аутентификация

Отправьте ключ API в качестве токена носителя (bearer token). Ключ должен иметь разрешение sites.view; ключ без него отклоняется с кодом 403, а не 404.

Этот эндпоинт не принимает идентификатор организации. Ваш ключ уже определяет организацию, к которой он принадлежит, и ответ ограничивается ее рамками.

Попробовать

Замените всё в угловых скобках на собственные значения, а плейсхолдер ключа — на ключ из вашей панели управления.

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

Вошли в систему? Консоль API в вашей панели управления автоматически подставляет реальный идентификатор вашей организации и ваш собственный ключ, а также выполняет запрос к работающему API, чтобы вы могли увидеть актуальный ответ. Откройте эту конечную точку в API-консоли

Подробнее

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.

Параметры

ИмяТипОбязательноЧто это
domain (query)stringДаThe domain to look up, e.g. example.com. www. is ignored.

Ответ

ИмяТипОбязательноЧто это
domainstringДа
statestring<pending, ready, stale, error>ДаFour states, and they are not interchangeable — collapsing error into pending leaves a customer watching a spinner for something that will never arrive.
daysArchiveSnapshotDay[]Да
total_capturesintegerДа
truncatedbooleanДаTrue 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 the…
errorstringДаWhy the last refresh failed; empty when it did not.
fetched_atstringНет

Ошибки, которые может возвращать этот эндпоинт

401 · 403 · 422 · 429