Making requests | Documentation | Reverse WHOIS API | Whois XML API

Making requests

POST https://reverse-whois.whoisxmlapi.com/api/v2
It takes up to a minute to activate your account after the registration.

POST request body sample

{
    "apiKey": "YOUR_API_KEY",
    "searchType": "current",
    "mode": "purchase",
    "basicSearchTerms": {
        "include": [
            "Airbnb, Inc.",
            "US"
        ],
        "exclude": [
            "Europe",
            "EU"
        ]
    }
}

You can provide up to four include and exclude search terms within one request. With several include/exclude search terms, the output includes domains having all the include terms and none of the exclude terms.

The output includes domains having the terms in any of WHOIS fields.

Headers

X-Authentication-Token

You can use this header or apiKey parameter for API calls.

Get your personal API KEY on My products page.

Input parameters

apiKey

Required. Get your personal API KEY on My products page.

basicSearchTerms.include

Required. Array of search strings. All of them should be present in the domain's WHOIS details. Maximum 4 items. Case insensitive.

basicSearchTerms.exclude

Optional. Array of search strings. All of them should NOT be present in the domain's WHOIS details. Maximum 4 items. Case insensitive.

searchType

Optional. Type of search.

current – search in the current WHOIS records only.

historic – search in both actual and historical WHOIS records.

Acceptable values: current | historic

Default: current

mode

Optional.

preview – return only the number of domains. No credits deducted.

purchase – return the actual list of domains (limited to 10,000). 1 request costs 1 DRS credit.

Acceptable values: preview | purchase

Default: preview

responseFormat

Optional. Response output format.

Acceptable values: json | xml

Default: json

createdDateFrom

Optional. Date in "YYYY-MM-DD" format.

If present, search through domains created after the given date.

createdDateTo

Optional. Date in "YYYY-MM-DD" format.

If present, search through domains created before the given date.

updatedDateFrom

Optional. Date in "YYYY-MM-DD" format.

If present, search through domains created after the given date.

updatedDateTo

Optional. Date in "YYYY-MM-DD" format.

If present, search through domains updated before the given date.

expiredDateFrom

Optional. Date in "YYYY-MM-DD" format.

If present, search through domains expired after the given date.

expiredDateTo

Optional. Date in "YYYY-MM-DD" format.

If present, search through domains expired before the given date.

Free access

After Sign Up you automatically get a free subscription plan limited to 100 DRS credits per month.

Usage limits and requests throttling

The maximum number of requests per second is 30. In case that the limit is breached, your subsequent requests will be rejected until the next second.

Have questions?

We are here to listen. For a quick response, please select your request type or check our Contact us page for more information. By submitting a request, you agree to our Terms of Service and Privacy Policy.

Or shoot us an email to