hosting
GET /v1/sites/{siteId}/seo-metrics
A hosted site's SEO authority metrics.
Pengesahan
Hantar kunci API sebagai token pembawa. Titik akhir ini tidak menyatakan kebenaran tertentu dalam spesifikasi, jadi berikan kunci anda kebenaran minimum yang diperlukan dan semak respons tersebut daripada membuat andaian.
Titik akhir ini tidak memerlukan id organisasi. Kunci anda telah mengenal pasti organisasi kepunyaannya, dan respons dis skopkan kepadanya.
Cuba
Gantikan apa sahaja di dalam kurungan sudut dengan nilai anda sendiri, dan pemegang tempat kunci dengan kunci dari papan pemuka anda.
curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/seo-metrics \
-H "Authorization: Bearer zdk_live_…"Sudah log masuk? Konsol API dalam papan pemuka anda mengisi id organisasi sebenar dan kunci anda sendiri, serta menjalankan permintaan terhadap API langsung supaya anda boleh melihat respons sebenar. Buka penamat ini dalam konsol API
Butiran
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.
Parameter
| Nama | Jenis | Diperlukan | Apakah ia |
|---|---|---|---|
siteId (path) | Uuid | Ya | Site ID (UUIDv7). |
Respons
| Nama | Jenis | Diperlukan | Apakah ia |
|---|---|---|---|
fqdn | string | Ya | — |
state | string<measured, not_in_index, never_fetched> | Ya | `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 | Tidak | When the stored reading was taken. Null when never fetched. |
is_stale | boolean | Ya | 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 | Tidak | — |
Ralat yang boleh dikembalikan oleh titik akhir ini
401 · 403 · 404