Making requests | Documentation | WHOIS History API | WhoisXML API

Making requests

API endpoints

GET https://whois-history.whoisxmlapi.com/api/v1?apiKey=YOUR_API_KEY&domainName=google.com&mode=purchase
POST https://whois-history.whoisxmlapi.com/api/v1
It takes up to a minute to activate your account after the registration.

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",
    "domainName": "google.com",
    "mode": "purchase"
}

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.

domainName

Required. The domain for which historic WHOIS data is requested.

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

Acceptable values: preview | purchase

Default: preview

outputFormat

Optional. Response output format.

Acceptable values: JSON | XML

Default: JSON

sinceDate

Optional. 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.

Acceptable values: date in "YYYY-MM-DD" format.

createdDateFrom

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

Acceptable values: date in "YYYY-MM-DD" format.

createdDateTo

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

Acceptable values: date in "YYYY-MM-DD" format.

updatedDateFrom

Optional. If present, search through domains updated after the given date.

Acceptable values: date in "YYYY-MM-DD" format.

updatedDateTo

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

Acceptable values: date in "YYYY-MM-DD" format.

expiredDateFrom

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

Acceptable values: date in "YYYY-MM-DD" format.

expiredDateTo

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

Acceptable values: date in "YYYY-MM-DD" format.

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.