Domain Availability API - Check Domain Names in Real Time and Get Suggestions
The Domain Availability API checks whether a domain name is available for registration and returns the answer as a single boolean - one GET request, any major TLD or SLD. Choose a DNS-based lookup for high-volume, low-cost screening or an authoritative WHOIS-based check when accuracy matters most. When a name is taken, the suggestions endpoint returns up to 100 registerable options for the same name under other extensions. It's built for registrar and reseller platforms, naming and brand tools, and developers wiring domain checks into signup or provisioning flows.
Features
Choose Your Lookup Source
Every request accepts a source parameter with two values: dns resolves availability from live DNS signals and is the lower-cost option built for volume, while whois queries registry data directly for registrar-grade accuracy. Default behavior runs without the parameter for the standard check. Use dns for high-volume screening passes and whois to confirm shortlisted names before purchase - the same endpoint, with per-source costs listed in the pricing section below.
One Boolean Answer per Domain
A single GET to /domain/availability with the domain parameter returns the queried name and a domainAvailability boolean - no parsing raw WHOIS text, no interpreting registry status codes. The endpoint accepts any major TLD or SLD, from .com to newer extensions like .tech and .io, on every plan. Use it for inline availability checks in checkout flows where the answer has to be instant and unambiguous.
Suggestions When the Name Is Taken
When the requested name is taken, the /domain/availability/suggestions endpoint returns a domain_available_response array of registerable options - the same name checked under alternative TLDs and SLDs, each entry paired with its own domainAvailability status. One call answers both "is it available?" and "what else is open?". Use it to keep users moving toward a registration instead of leaving them at a dead end.
Control the Suggestion Count
The count parameter caps the number of suggestions returned, up to 100 per request. Suggestion billing scales with the number of names returned, so a tight count keeps both the response payload and the per-query cost predictable - exact rates per suggestion block are listed in the pricing section. Use it to tune suggestion depth per surface: three names in a signup widget, fifty in a research tool.
Failed Queries Cost Nothing
Credits are deducted only on 2xx responses. Any request that returns a 4xx or 5xx status is not charged, and credits already deducted are automatically refunded. The X-AF-Credits-Cost response header reports the exact cost of each successful call, so metering is auditable request by request. Use it to run availability checks in retry loops without budgeting for error noise.
Built for These Use Cases
Registrar and reseller storefronts
Wire the availability check into your search box and return an answer while the customer is still typing. Screen with the DNS source, confirm the final pick with WHOIS before checkout, and hand off high-volume list checks to the Bulk Domain Availability API when a customer pastes in a portfolio.Naming and brand-generation tools
Startup name generators and branding platforms can pair every candidate name with a live availability status, then instantly surface registerable fallbacks when the first choice is gone - keeping users exploring inside your product instead of bouncing to a registrar.
Defensive TLD coverage for brands
Sweep your exact brand name across alternative extensions to find which ones are still unregistered before someone else takes them. For extensions that come back taken, pass them to the Domain WHOIS Lookup API to identify who registered them and when.Agent and workflow integrations
The availability endpoint is a single GET with a boolean answer, which makes it a clean building block for AI agents, no-code automations, and internal tooling - including via the APIFreaks MCP server, where domain checks run as a native tool.
API Endpoint
Domain Search API with Domain Name Suggestions
Use the Domain Search API to not only check domain name availability but also receive valuable domain name suggestions. Use the following endpoint to query domain availability along with alternative suggestions:
$ pip install requestsimport requests
url = "https://api.apifreaks.com/v1.0/domain/availability/suggestions?domain=stripe.com&count=5"
payload = {}
headers = {
'X-apiKey': 'API-KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
Domain Search API without Domain Name Suggestions
For those who require a straightforward domain availability check without suggestions, use the following API endpoint:
$ pip install requestsimport requests
url = "https://api.apifreaks.com/v1.0/domain/availability?domain=stripe.com"
payload = {}
headers = {
'X-apiKey': 'API-KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
How-To-Guides
Check Domain Availability
Use the Domain Search API to check the availability of a domain name. To determine whether a specific domain is available, include the domain parameter with the desired domain name for any TLD or SLD in your API request. This straightforward API endpoint provides instant and accurate results on domain availability, ensuring you can quickly verify if a domain is available for registration.
# Response { "domain": "google.com", "domainAvailability": false }curl -X 'GET' 'https://api.apifreaks.com/v1.0/domain/availability?domain=google.com&apiKey=API-KEY'
You can also specify the data source by adding the source parameter to your request. This allows you to choose between different lookup methods for checking domain availability:
# Response { "domain": "google.com", "domainAvailability": false }curl -X 'GET' 'https://api.apifreaks.com/v1.0/domain/availability?domain=google.com&source=whois&apiKey=API-KEY'
Get Domain Name Suggestions
Use the Domain Availability Suggestion API to obtain domain name suggestions across a variety of top-level domains (TLDs) and second-level domains (SLDs). This API not only provides availability status for your provided domain name but also generates a list of alternative domain names. With this API, you can explore various domain options and quickly determine their availability, ensuring you find the perfect domain for your needs.
# Response { "domain_available_response": [ { "domain": "netflix.org", "domainAvailability": false }, { "domain": "netflix.com", "domainAvailability": false }, { "domain": "netflix.net", "domainAvailability": false }, { "domain": "netflix.info", "domainAvailability": false }, { "domain": "netflix.dev", "domainAvailability": false } ] }curl -X 'GET' 'https://api.apifreaks.com/v1.0/domain/availability/suggestions?domain=netflix.com&apiKey=API-KEY'
You can also specify the data source by adding the source parameter to your request. This allows you to choose between different lookup methods for checking domain availability suggestions:
# Response { "domain_available_response": [ { "domain": "meta.net", "domainAvailability": false }, { "domain": "meta.dev", "domainAvailability": false }, { "domain": "meta.info", "domainAvailability": false }, { "domain": "meta.com", "domainAvailability": false }, { "domain": "meta.org", "domainAvailability": false } ] }curl -X 'GET' 'https://api.apifreaks.com/v1.0/domain/availability/suggestions?domain=meta.com&source=whois&apiKey=API-KEY'
Get Specific No. of Suggestions
Specify the number of domain name suggestions you require using the Domain Availability Suggestion API. Include the count parameter in your request to determine how many suggestions you receive. The API supports up to 100 suggestions per request, allowing you to tailor the results to fit your needs.
# Response { "domain_available_response": [ { "domain": "apple.com", "domainAvailability": false }, { "domain": "apple.biz", "domainAvailability": false }, { "domain": "apple.club", "domainAvailability": false }, { "domain": "apple.net", "domainAvailability": false }, { "domain": "apple.xyz", "domainAvailability": false }, { "domain": "apple.loan", "domainAvailability": false }, { "domain": "apple.org", "domainAvailability": false }, { "domain": "apple.dev", "domainAvailability": false }, { "domain": "apple.top", "domainAvailability": true }, { "domain": "apple.info", "domainAvailability": false } ] }curl -X 'GET' 'https://api.apifreaks.com/v1.0/domain/availability/suggestions?domain=apple.com&count=10&apiKey=API-KEY'
Frequently Asked Questions
Pricing
To check domain availability status through the API, API credits are required. Credits are only deducted for successful queries, indicated by a 2xx status code. If a request results in a 4xx or 5xx status code, no credits will be deducted, and any credits already charged will be refunded.
- Domain Availability Status (source = whois): For each successful request to check domain availability status using WHOIS, 15 credits will be charged.
- Domain Availability Status (source = dns): For each successful request to check domain availability status using DNS, 1 credit will be charged.
- Domain Availability with Suggestions (source = whois): If you opt to check domain availability along with suggestions using WHOIS, 15 credits will be charged for the availability check, plus 3 credits for every 5 domain suggestions provided.
- Domain Availability with Suggestions (source = dns): If you opt to check domain availability along with suggestions using DNS, 1 credit will be charged for the availability check, plus 1 credit for every 5 domain suggestions provided.
Utilize the Credits Usage API to efficiently monitor your recent consumption of both one-off and subscription credits. This API provides a streamlined way to track and manage your credit usage, ensuring you stay informed about your remaining balance and can optimize your resource allocation effectively.