domains
GET /v1/domains/{domainId}/seo-metrics
Get a domain's SEO authority metrics.
Аутентификация
Передайте API-ключ в качестве маркера носителя (bearer token). Эта конечная точка не указывает конкретное разрешение в спецификации, поэтому предоставьте своему ключу минимум необходимых прав и проверьте ответ, вместо того чтобы делать предположения.
Этот эндпоинт не принимает идентификатор организации. Ваш ключ уже определяет организацию, к которой он принадлежит, и ответ ограничивается ее рамками.
Попробовать
Замените всё в угловых скобках на собственные значения, а плейсхолдер ключа — на ключ из вашей панели управления.
curl -X GET https://api.zinndigital.com/v1/domains/{domainId}/seo-metrics \
-H "Authorization: Bearer zdk_live_…"Вошли в систему? Консоль API в вашей панели управления автоматически подставляет реальный идентификатор вашей организации и ваш собственный ключ, а также выполняет запрос к работающему API, чтобы вы могли увидеть актуальный ответ. Откройте эту конечную точку в API-консоли
Подробнее
The **cached** authority reading for this domain — Trust Flow, Citation Flow, referring domains and backlinks. Included on every Footprint-Free plan. This never calls the upstream provider, so it is free to render and poll. Use the refresh endpoint to fetch a new reading; each refresh consumes provider allowance. `state` distinguishes three cases that must not be conflated: `measured` (numbers, which may legitimately be zero), `not_in_index` (the provider answered and has never seen this domain), and `never_fetched` (nothing has been requested yet). Individual metrics are nullable — `null` means the provider did not supply that figure, `0` means it measured zero.
Параметры
| Имя | Тип | Обязательно | Что это |
|---|---|---|---|
domainId (path) | Uuid | Да | The domain's id. |
Ответ
| Имя | Тип | Обязательно | Что это |
|---|---|---|---|
fqdn | string | Да | — |
state | string<measured, not_in_index, never_fetched> | Да | `measured` — the provider returned figures (which may be zero, a real measurement). `not_in_index` — the provider answered and has never crawled this domain. `never_fetched` — n… |
measured_at | string | Нет | When the stored reading was taken. Null when never fetched. |
is_stale | boolean | Да | True when the reading is older than the 24h refresh window, or absent entirely. A hint that a refresh is worth its allowance — not an indication the figures are wrong. |
metrics | SeoAuthorityMetrics | Нет | — |
Ошибки, которые может возвращать этот эндпоинт
401 · 403 · 404 · 429