hosting

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

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

جميع نقاط نهاية hosting

المصادقة

أرسل مفتاح واجهة برمجة التطبيقات (API) كرمز حامل (bearer token). لا يحدد نقطة النهاية هذه إذنًا محددًا في المواصفات، لذا امنح مفتاحك الحد الأدنى الذي محتاجه وتحقق من الاستجابة بدلاً من الافتراض.

لا يقبل هذا الطرف أي معرف للمؤسسة. يحدد مفتاحك بالفعل المؤسسة التي ينتمي إليها، وتكون الاستجابة محصورة في نطاقها.

جربه الآن

استبدل أي شيء بين أقواس زاوية بقيمك الخاصة، والعنصر النائب للمفتاح بمفتاح من لوحة تحكمك.

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

هل سجلت الدخول؟ تقوم وحدة تحكم واجهة برمجة التطبيقات في لوحة التحكم الخاصة بك بربط معرف مؤسستك الحقيقي ومفتاحك الخاص، وتنفذ الطلب مقابل واجهة برمجة التطبيقات المباشرة لتتمكن من رؤية الاستجابة الفعلية. افتح هذه النهاية الطرفية في وحدة تحكم API

التفاصيل

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.

المعلمات

الاسمالنوعمطلوبما هو هذا
siteId (path)UuidنعمSite ID (UUIDv7).

الاستجابة

الاسمالنوعمطلوبما هو هذا
fqdnstringنعم
statestring<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_atstringلاWhen the stored reading was taken. Null when never fetched.
is_stalebooleanنعم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.
metricsSeoAuthorityMetricsلا
spent_lookupbooleanنعمFalse when the answer came from a recent stored reading and cost nothing.
quotaSeoLookupQuotaنعمThe research allowance meter, and what more costs.

الأخطاء التي يمكن أن تُرجعها نقطة النهاية هذه

401 · 403 · 404 · 429 · 503