Making requests | Documentation | DNS Chronicle API | WhoisXML API

Making requests

API endpoint

POST https://dns-history.whoisxmlapi.com/api/v1
It takes up to a minute to activate your account after the registration.

Request body example

{
    "apiKey": "YOUR_API_KEY",
    "searchType": "forward",
    "recordType": "a",
    "domainName": "slack.com"
}

Search the IPv4 addresses in the history that referenced the "slack.com" domain.

Input parameters

apiKey

Required. Get your personal API key on the My products page.

searchType

Required. Type of search.

Acceptable values: forward | reverse

Forward search allows you to find all IP addresses that are related to a specific domain name.

Reverse search allows you to find all domain names that are related to a specific IP address.

Default: undefined

recordType

Required. Type of DNS records among which the search is performed.

Acceptable values: a | aaaa

Default: undefined

domainName

Required if searchType = "forward". The target domain name.

ipAddress

Required if searchType = "reverse". The target IP address.

IPv4 address is available for the a record type.

IPv6 address is available for the aaaa record type.

limit

Optional. Max count of returned records.

Acceptable values: 1 - 10000

Default: 10000

after

Optional. Pagination object for the response.

outputFormat

Optional. Response output format.

Acceptable values: JSON | XML

Default: JSON

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