Check domain names

Queue a registrar check for one domain or a pattern of up to 50 names. Poll GET /domains/searches/{search_id} for the priced options.

POSThttps://app.trygtm.com/api/v1/domains/searches
Scope
write

Headers

Idempotency-Keystringoptional
A key unique to this write, up to 255 characters. A retry carrying the same key returns the first response instead of running again. Kept for 24 hours.

Body

querystringrequired
A domain, or a naming pattern that expands to at most 50 names.

Request

curl -X POST https://app.trygtm.com/api/v1/domains/searches \
  -H "Authorization: Bearer $TRYGTM_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "Texas"
  }'

Response

{
  "data": {
    "search_id": "9e8d7c6b-5a49-4382-8716-a5b4c3d2e1f0",
    "status": "queued"
  }
}

Was this page helpful?