domains
GET /v1/domains/{domainId}/seo-metrics
Get a domain's SEO authority metrics.
Autenticação
Envie uma chave de API como um token bearer. Este endpoint não especifica uma permissão específica na documentação, portanto, conceda à sua chave o mínimo necessário e verifique a resposta em vez de assumir.
Este endpoint não requer um ID de organização. Sua chave já identifica a organização à qual pertence, e a resposta é delimitada a ela.
Experimente
Substitua qualquer item entre colchetes por seus próprios valores e o espaço reservado para a chave por uma chave do seu painel.
curl -X GET https://api.zinndigital.com/v1/domains/{domainId}/seo-metrics \
-H "Authorization: Bearer zdk_live_…"Conectado? O console da API no seu painel preenche o ID da sua organização real e a sua própria chave, e executa a requisição contra a API de produção para que você possa ver a resposta real. Abra este endpoint no console da API
Detalhes
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.
Parâmetros
| Nome | Tipo | Obrigatório | O que é |
|---|---|---|---|
domainId (path) | Uuid | Sim | The domain's id. |
Resposta
| Nome | Tipo | Obrigatório | O que é |
|---|---|---|---|
fqdn | string | Sim | — |
state | string<measured, not_in_index, never_fetched> | Sim | `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 | Não | When the stored reading was taken. Null when never fetched. |
is_stale | boolean | Sim | 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 | Não | — |
Erros que este endpoint pode retornar
401 · 403 · 404 · 429