Making requests | Documentation | Reverse DNS API | WhoisXML API

Making requests

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

The API returns DNS records matching the given search criteria. One request to the API returns DNS records of one type, which shall be specified in the recordType input parameter.


Request body example

{
    "apiKey": "YOUR_API_KEY",
    "limit": 1000,
    "recordType": "soa",
    "terms": [
        {
            "field": "domain",
            "term": "google.com"
        }
    ]
}

This request returns all SOA records for the "google.com" domain.

You can also use wildcard search. In this case, the term input parameter looks like "google*". Such requests take longer to process, thus try avoiding too wide searches.

Input parameters

apiKey

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

recordType

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

Acceptable values: soa | txt | cname

Default: undefined

limit

Optional. Max count of returned records.

Acceptable values: 1 - 1000

Default: 1000

terms

Required. Array of search terms. Maximum 4 items.

terms.*.field

Required. The field by which the search is performed among the DNS recordType records.

domain – Domain name search.

value – DNS record value search.

Acceptable values: domain | value

terms.*.term

Required. The target search term.

terms.*.exclude

Optional. If true, then the matching DNS records will be excluded from the search results.

Acceptable values: false | true

Default: false

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 30. In case that the limit is breached, your subsequent requests will be rejected until the next second.