Making requests | Documentation | Registrant Alert API | WhoisXML API

Making requests

API endpoint

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

Note that the search results are limited to 10,000 records. If you'd like to get more relevant results, try optimizing your search query or using advanced search.

Postman collection

Postman is a desktop and web application that allows you to make requests to an API from a graphical user interface. We recommend using Postman with WhoisXML APIs endpoints when exploring the APIs functionality, as well as when you are troubleshooting issues with your application.

The WhoisXML API Postman collection is available at the following links:

The collection includes a preconfigured environment. You will need to set up the api_key variable to fire each request. Get your personal API KEY on the My products page. If you have questions related to the API, contact us.

POST request body sample

{
    "apiKey": "API_KEY",
    "sinceDate": "2019-04-20",
    "mode": "purchase",
    "punycode": true,
    "basicSearchTerms":
    {
        "include": [
            "Airbnb",
            "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 added or dropped by registrants having the terms in any of the following fields:

Registrant contact fields

RegistrantContact.City,
RegistrantContact.Country,
RegistrantContact.Email,
RegistrantContact.Fax,
RegistrantContact.FaxExtension,
RegistrantContact.Name,
RegistrantContact.Organization,
RegistrantContact.PostalCode,
RegistrantContact.State,
RegistrantContact.StreetAddress,
RegistrantContact.Telephone,
RegistrantContact.TelephoneExtension

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 the My products page.

basicSearchTerms.include

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

basicSearchTerms.exclude

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

sinceDate

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

Allowed dates are in the [Today minus 14 days — Today] interval.

Yesterday's date by default.

Note that the results for yesterday are usually available between 10-12AM UTC.

If present, search through activities discovered since the given date. Sometimes there is a latency between the actual added/renewal/expired date and the date when our system detected this change. We recommend using this field in your monitoring tools for filtering daily changes.

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 10 DRS credits.

Acceptable values: preview | purchase

Default: preview

punycode

Optional. If true, domain names in the response will be encoded to Punycode.

Acceptable values: false | true

Default: true

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 500 DRS credits.

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.

This API is also available with a dedicated load balancer and premium endpoint to enable faster querying as part of our Premium API Services and Enterprise API Packages.

Advanced search API docs

Advanced search allows searching through concrete WHOIS fields.