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, за да можете да видите действителния отговор. Отворете този крайpoint в 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 | Не | — |
Грешки, които този крайpoint може да върне
401 · 403 · 404 · 429