pricing background

Domain Availability API Documentation

Domain Availability Lookup

ASK AI
The Domain Availability API allows you to check whether a domain is available for registration. When the sug parameter is set to true, it can also provide up to 100 domain suggestions with different TLDs.

Authorization

You can make authorized requests to our API by passing your API key as a query parameter. To get your API key, log in to our billing dashboard and copy it from there. If your API key has been compromised, you can change it by clicking the reset button in the billing dashboard.

Important References

  • For details on request limits and handling rate limiting, refer here
  • For a complete overview of API credit consumption and usage, refer here

Query Parameters

Required
  • apiKey
    Get your API key from our billing dashboard.
  • domain
    The domain to check availability.
Optional
  • sug
    For getting suggestions, it can be passed with or without a count. There are two possible values for sug: true or false. If you don't specify the sug parameter, the default value will be false.
  • count
    If sug is true, the number of suggestions to return, from 5 to 100. Default is 5. A value below 5 is treated as 5, and a value above 100 returns an error.
  • format
    Two formats are available: JSON and XML. If you don't specify the 'format' parameter, the default format will be JSON.

Request

shellnodejsjavapythonphprubyjscsharpgocswiftjquery
SHELL
curl -X GET "https://api.whoisfreaks.com/v2.0/domain/availability?domain=whoisfreaks.com&apiKey=API_KEY"

Response

Loading response...

Fields Description

Fields
Details
Data Type
Example
domain
Domain name being checked
string
whoisfreaks.com
availability
Indicates whether the domain is available or not for the registration
string
UNAVAILABLE
domain_available_response
Returned instead of domain and availability when sug=true: the requested domain and suggested alternatives, as many as count (default 5).
array of objects
domain
Requested or suggested domain name
string
whoisfreaks.net
domainAvailability
true if the domain is available for registration
boolean
true

Bulk Domain Availability Lookup

The Bulk Domain Availability API allows you to check the availability of up to 100 domains in a single request. You can also provide a custom list of TLDs to verify domain existence based on the specified domain label. An invalid domain does not fail the whole request: only its own entry returns an error, and every other domain in the request still returns its result.

Query Parameters

Required
  • apiKey
    Get your API key from our billing dashboard.
Optional
  • format
    Two formats are available: JSON and XML. If you don't specify the 'format' parameter, the default format will be JSON.

Request Body

Send a JSON object with the header Content-Type: application/json.

  • domainNames
    Required. Array of up to 100 domain names, e.g. {"domainNames": ["jfreaks.pk", "whoisfreaks.com"]}.

Request

shellnodejsjavapythonphprubyjscsharpgocswiftjquery
SHELL
curl -X POST "https://api.whoisfreaks.com/v2.0/domain/availability?apiKey=API_KEY" -H "Content-Type: application/json" -d '{"domainNames":["jfreaks.pk","whoisfreaks.com"]}'

Response

Loading response...

Fields Description

Fields
Details
Data Type
Example
status
Whether the response was fetched successfully or not
boolean
true
bulk_domain_availability_response
This list includes fields similar to those returned in a Domain Availability
array

Bulk Domain Availability Lookup (TLD)

Check the availability of up to 100 TLDs at once across a single domain. Use custom TLD lists to find available domain extensions quickly and efficiently.

Query Parameters

Required
  • apiKey
    Get your API key from our billing dashboard.
  • domain
    The domain whose label is checked against each TLD in the request body, e.g. whoisfreaks.com.
Optional
  • format
    Two formats are available: JSON and XML. If you don't specify the 'format' parameter, the default format will be JSON.

Request Body

Send a JSON object with the header Content-Type: application/json.

  • tld
    Required. Array of up to 100 TLDs without the leading dot, e.g. {"tld": ["edu", "pk"]}.

Request

shellnodejsjavapythonphprubyjscsharpgocswiftjquery
SHELL
curl -X POST "https://api.whoisfreaks.com/v2.0/domain/availability?apiKey=API_KEY&domain=whoisfreaks.com" -H "Content-Type: application/json" -d '{
    "tld": [
  "edu", 
  "pk"
 ]
}'

Response

Loading response...

Fields Description

Fields
Details
Data Type
Example
status
Whether the response was fetched successfully or not
boolean
true
bulk_domain_availability_response
This list includes fields similar to those returned in a Domain Availability
array