hosting
GET /v1/sites/{siteId}/seo-metrics
A hosted site's SEO authority metrics.
Authenticatie
Stuur een API-sleutel mee als bearer token. Dit eindpunt vermeldt geen specifieke toestemming in de specificatie, dus geef uw sleutel de minimale rechten die nodig zijn en controleer het antwoord in plaats van zomaar wat aan te nemen.
Dit eindpunt vereist geen organisatie-id. Uw sleutel identificeert al de organisatie waartoe deze behoort, en het antwoord is hierop afgestemd.
Probeer het
Vervang alles tussen punthaakjes door uw eigen waarden en de sleutelplaatsvervanger door een sleutel uit uw dashboard.
curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/seo-metrics \
-H "Authorization: Bearer zdk_live_…"Ingelogd? De API-console in je dashboard vult je echte organisatie-id en je eigen sleutel in, en voert het verzoek uit tegen de live API zodat je de daadwerkelijke respons kunt zien. Open dit eindpunt in de API-console
Details
The cached authority reading for this site's primary domain, in the same shape as the domain endpoint — it is the same underlying reading, reached from the site. Kept fresh by a monthly platform sweep rather than by a per-site refresh button: refreshing every site on demand across a large estate is an unbounded cost. To get today's figure for one specific name, use the domain research tool, where the spend is metered against your own allowance.
Parameters
| Naam | Type | Verplicht | Wat dit is |
|---|---|---|---|
siteId (path) | Uuid | Ja | Site ID (UUIDv7). |
Reactie
| Naam | Type | Verplicht | Wat dit is |
|---|---|---|---|
fqdn | string | Ja | — |
state | string<measured, not_in_index, never_fetched> | Ja | `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 | Nee | When the stored reading was taken. Null when never fetched. |
is_stale | boolean | Ja | 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 | Nee | — |
Fouten die dit eindpunt kan retourneren
401 · 403 · 404