domains
POST /v1/domains/searches
Start an asynchronous domain availability search.
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
| Name | Type | Required | What it is |
|---|---|---|---|
query | string | Yes | A bare name (acme) checked across tlds, or a full FQDN (acme.com). |
tlds | string[] | No | TLDs 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
| Name | Type | Required | What it is |
|---|---|---|---|
search_id | string | Yes | The id to poll with. Lives for 10 minutes; bound to the caller. |
complete | boolean | Yes | True once every name has an answer (pending is empty). |
results | DomainSearchResult[] | Yes | — |
pending | string[] | Yes | The names whose registrar check has not answered yet. |
poll_after_ms | object | Yes | How long to wait before the next poll; null once complete. |
Errors this endpoint can return
401 · 403 · 422 · 429