Skip to main content

Search domain availability

Search for available domain suggestions by phrase. The response includes available domain proposals and their prices. Use this endpoint when you want provider-generated suggestions before placing a domain order.

Use the check domain availability endpoint when you already have a list of domains you want to purchase.

Request

Endpoint

GET https://api.woodpecker.co/rest/v2/domains/availability

Headers

x-api-key: {YOUR_API_KEY}

For details on how to authenticate your requests, please see the authentication guide.

Parameters

ParameterRequiredTypeDescription
queryYesstringPhrase to search for, for example piedpiper.
providerYesstringProvider that handles the search, for example MAILDOSO, GOOGLE, or MICROSOFT.

Request samples

Search by phrase

curl --request GET \
--url "https://api.woodpecker.co/rest/v2/domains/availability?query=piedpiper&provider=MAILDOSO" \
--header "x-api-key: {YOUR_API_KEY}"

Response

Response examples

Request processed successfully. Returns available domain suggestions with pricing for the selected provider. Returns an empty array if there are no results.

{
"provider": "MAILDOSO",
"query": "piedpiper",
"domains": [
{
"domain": "piedpiper.com",
"available": true,
"price": {
"amount": "13.00",
"currency": "USD"
}
}
]
}

Body schema

FieldTypeDescription
providerstringProvider used for the availability search
querystringSearch phrase from the request
domainsarrayDomain availability results. Empty array if there are no results
  └─ domainstringDomain name
  └─ availablebooleanWhether the domain is available
  └─ priceobject or nullDomain price when available
  └─ price.amountstringPrice amount
  └─ price.currencystringPrice currency