hosting

POST /v1/sites/{siteId}/seo-metrics/check

Run an on-demand authority check for a hosted site.

Wszystkie punkty końcowe hosting

Wszystkie dokumentacje dla programistów

Uwierzytelnianie

Wyślij klucz API jako token bearer. Ten punkt końcowy nie określa konkretnego uprawnienia w specyfikacji, więc nadaj swojemu kluczowi minimum potrzebnych uprawnień i sprawdź odpowiedź zamiast zakładać.

Ten punkt końcowy nie wymaga identyfikatora organizacji. Twój klucz już identyfikuje organizację, do której należy, a odpowiedź jest do niej ograniczona.

Wypróbuj

Zastąp wszystko w nawiasach ostrych własnymi wartościami, a zastępczy znacznik klucza kluczem ze swojego pulpitu nawigacyjnego.

curl -X POST https://api.zinndigital.com/v1/sites/{siteId}/seo-metrics/check \
  -H "Authorization: Bearer zdk_live_…"

Zalogowany? Konsola API w Twoim panelu uzupełnia rzeczywiste identyfikator organizacji oraz Twój własny klucz i wykonuje żądanie względem aktywnego API, dzięki czemu możesz zobaczyć rzeczywistą odpowiedź. Otwórz ten punkt końcowy w konsoli API

Szczegóły

Fetch this site's authority metrics now, against the customer's own metered daily allowance, and store the reading so it joins the site's history. ⭐ A fresh stored reading is returned WITHOUT spending anything. If the site was measured within the caching window the response comes back with spent_lookup: false and neither the daily allowance nor the provider is touched — which is what lets the Domains screen and the site panel share one purchase rather than buying the answer twice. ⛔ There is no force. The fleet sweep owns a hosted site's cadence; a flag that spent a unit however recently we measured would be a button whose whole purpose is to overpay. A customer who genuinely wants to re-ask uses POST /v1/domains/check. Requires the majestic_metrics entitlement, on the site's own plan or the org's. An account that is suspended or has no active subscription is refused before anything is spent (403), and its existing readings stay on screen.

Parametry

NazwaTypWymaganeCo to jest
siteId (path)UuidTakSite ID (UUIDv7).

Odpowiedź

NazwaTypWymaganeCo to jest
fqdnstringTak
statestring<measured, not_in_index, never_fetched>Takmeasured — 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 — no…
measured_atstringNieWhen the stored reading was taken. Null when never fetched.
is_stalebooleanTakTrue 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.
metricsSeoAuthorityMetricsNie
spent_lookupbooleanTakFalse when the answer came from a recent stored reading and cost nothing.
quotaSeoLookupQuotaTakThe research allowance meter, and what more costs.

Błędy, które ten punkt końcowy może zwrócić

401 · 403 · 404 · 429 · 503