domains
GET /v1/domains/{domainId}/seo-metrics
Get a domain's SEO authority metrics.
Аутентификация
API кілтін bearer токені ретінде жіберіңіз. Бұл соңғы нүкте сипаттамада арнайы рұқсатты көрсетпейді, сондықтан болжағаннан гөрі кілтіңізге қажетті ең аз рұқсатты беріп, жауапты тексеріңіз.
Бұл соңғы нүкте ұйым идентификаторын қабылдамайды. Сіздің кілтіңіз оның қай ұйымға тиесілі екенін өзі анықтайды және жауап соған шектеледі.
Әрекет етіп көру
Бұрыштық жақшалардағы кез келген нәрсені өз мәндеріңізбен, ал кілт орналастырушысын басқару тақтасынан алынған кілтпен алмастырыңыз.
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.
Параметрлер
| Аты | Tүрі | Міндетті | Мазмұны |
|---|---|---|---|
domainId (path) | Uuid | Иә | The domain's id. |
Жауап
| Аты | Tүрі | Міндетті | Мазмұны |
|---|---|---|---|
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