domains

GET /v1/domains/searches/{search_id}

Read an asynchronous domain search's results so far.

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 GET https://api.zinndigital.com/v1/domains/searches/{search_id} \
  -H "Authorization: Bearer zdk_live_…"

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 rows of a search started by startDomainSearch that have been answered so far (caller order), priced, with a fresh availability token on each available name, plus the names still pending. A search belongs to the caller that started it and lives for 10 minutes; an unknown, expired or another caller's id is 404 (start a new search). Reads no registrar. Requires sites.view.

Parameters

NameTypeRequiredWhat it is
search_id (path)stringYes—

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 · 404