seo-connect
POST /v1/seo-connection/lab-tests
Lighthouse lab test of one page on our own runner. Free on Zinn Digital® hosting.
Authentication
Send an API key as a bearer token. The endpoint checks sites.create; a key without it is refused with 403, not 404.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X POST https://api.zinndigital.com/v1/seo-connection/lab-tests \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "url": <string> }'Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
Performance, accessibility, best practices and SEO scores with the Core Web Vitals and the biggest opportunities. Free when the page is on a site this organization hosts with Zinn Digital®; otherwise one audit_page unit of Zinn® credits (getSeoAccount), debited up front and refunded in full when no reading comes back, and needing seo.spend. Refused before anything is spent: another host (422), not enough credit, the site's monthly limit or an account not in good standing (403). Runs in the background: read it with getSeoSiteCheck.
Request body
| Name | Type | Required | What it is |
|---|---|---|---|
url | string | Yes | A page on the connected site. |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
id | string | Yes | — |
kind | string<cloak, lab> | Yes | — |
url | string | Yes | — |
status | string<queued, complete, failed> | Yes | — |
result | object | Yes | Cloak: verdict (same, differs, cloaked, unreadable), signals, similarity_bps, spam_terms_for_bot, extra_link_hosts_for_bot, visitor, googlebot, limits.… |
error | string | Yes | — |
spent_micros | integer | Yes | Net Zinn® credits taken |
currency | string<USD> | Yes | — |
created_at | string | Yes | — |
finished_at | object | Yes | — |
Errors this endpoint can return
401 · 403 · 422 · 503