Search available domains (read-only)
/api/v1/domains/searchOperates on your account only. Send your API key in the Authorization header. Responses use JSON.
Request
Set BASE_URL to this website’s HTTPS origin and API_KEY to your private key. Replace RESOURCE_ID with the ID returned by the API.
curl --request POST "${BASE_URL}/api/v1/domains/search" \
--header "Authorization: Bearer $API_KEY" \
--header "Content-Type: application/json" \
--data '{"query": "my-project", "category": "basic"}'Headers & parameters
AuthorizationrequiredBearer YOUR_API_KEY
JSON body
JSON
querystringrequiredName or domain to check for availability.
categorystringPricing category: basic or protected.
enum: ["basic", "protected"]
Response
request_idstringrequiredIdentifier used to recover an outcome after a network failure.
currencyobjectconst: "USD"
indicativeobjectrequiredconst: true
itemsarrayrequireditems[].namestringrequired@ for the apex, * for wildcard, or a record name.
items[].pricestringrequiredDecimal USD amount; never floating point.
pattern: "^\\d+(\\.\\d+)?$"
Response structure example · illustrative values
{
"request_id": "00000000-0000-4000-8000-000000000001",
"currency": "USD",
"indicative": true,
"items": [
{
"name": "example.com",
"price": "0.00"
}
]
}Errors & statuses
error.code · error.message · request_id
401Invalid or revoked key.
404Resource not found in your account.
409Idempotency conflict or request in progress.
422Invalid parameters or business rule, including balance.
500Outcome may be uncertain. Poll the request.
503Temporarily unavailable. Respect Retry-After.