visibility

POST /v1/visibility/targets/{targetId}/seo-tools/{product}/runs

Run one credit tool on this domain now, from the dashboard. Spends credits.

All visibility endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

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/visibility/targets/{targetId}/seo-tools/{product}/runs \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "params": <SeoProductParams> }'

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

The plugin's run, without the plugin: debited up front from Zinn® credit (units x the unit price, never under USD 0.02, under the domain's own spend so a connected site's monthly limit counts it), run in the background (read it with getTargetSeoToolRun), and every unit the data supplier did not answer refunded. A run that could not be started is refunded in full before the answer (503). A plugin connected to this domain lists the run too. Refused before anything is spent: unusable parameters (422), not enough credit, the domain's monthly limit or an account not in good standing (403). A site-connection token is refused (403): the plugin uses runSeoProduct.

Parameters

NameTypeRequiredWhat it is
targetId (path)UuidYesThe watched domain's id.
product (path)SeoProductCodeYesThe credit tool (listSeoProducts).

Request body

NameTypeRequiredWhat it is
paramsSeoProductParamsYesThe tool's parameters. geo_grid: phrase, lat, lng, size (3/5/7/9), spacing_km (0.2-10), business (Google id or name), domain, language — billed size x size…

Response

NameTypeRequiredWhat it is
idstringYes—
productSeoProductCodeYesgeo_grid local rank grid (zs-520) · reviews Google/Trustpilot/Tripadvisor reviews (zs-521) · shopping Google Shopping price and position (zs-522) · traffic competitor…
statusstring<queued, complete, partial, failed>Yespartial: some units answered and paid, the rest refunded. failed: refunded in full.
paramsSeoProductParamsYesThe tool's parameters. geo_grid: phrase, lat, lng, size (3/5/7/9), spacing_km (0.2-10), business (Google id or name), domain, language — billed size x size…
unitsintegerYes—
price_microsintegerYes—
charged_microsintegerYesDebited up front.
refunded_microsintegerYesReturned for what was not answered.
currencystring<USD>Yes—
resultobjectYesThe tool's answer. Every item carries answered; an unanswered item is refunded and is never a measurement. geo_grid: points [{lat, lng, position|null, top, answered}],…
alertsobject[]YesReviews: new_reviews and rating_drop since the previous reading (a first reading is a baseline).
watch_idobjectYes—
errorstringYes—
created_atstringYes—
finished_atobjectYes—

Errors this endpoint can return

401 · 403 · 404 · 422 · 429 · 503