domains

POST /v1/domains/searches

Start an asynchronous domain availability search.

All domains 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 key must carry the sites.view permission; 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/domains/searches \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "query": <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

Starts an asynchronous availability search and answers 202 at once. The body is the same as searchDomains and so are the validation, the fan-out cap, the selling rules and the rate limit (charged here, once). Every name the 60-second availability cache already knows is answered in results; every other name is in pending and is checked by the registrar in a durable background activity with its own timeout, so a slow registrar is waited for rather than reported as "could not check". Poll GET /v1/domains/searches/{search_id} every poll_after_ms until complete is true; rows appear as each batch of names is answered. A name is reason: availability_unknown only after its background check has spent its whole budget. Availability tokens and prices are minted on every response, never stored. Requires sites.view.

Request body

NameTypeRequiredWhat it is
querystringYesA bare name (acme) checked across tlds, or a full FQDN (acme.com).
tldsstring[]NoTLDs to check a bare name against. Ignored for a dotted query. Omitted, a bare name expands to the catalogue's most popular extensions — the top ten on the public endpoint and the…

Response

NameTypeRequiredWhat it is
search_idstringYesThe id to poll with. Lives for 10 minutes; bound to the caller.
completebooleanYesTrue once every name has an answer (pending is empty).
resultsDomainSearchResult[]Yes—
pendingstring[]YesThe names whose registrar check has not answered yet.
poll_after_msobjectYesHow long to wait before the next poll; null once complete.

Errors this endpoint can return

401 · 403 · 422 · 429