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.

POST request body sample: by DNS record domain name

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

POST request body sample: by DNS record value

{
    "apiKey": "YOUR_API_KEY",
    "limit": 1000,
    "recordType": "soa",
    "terms": [
        {
            "field": "value",
            "term": "ns1.google*"
        },
        {
            "field": "value",
            "term": "*googledomains.com*",
            "exclude": true
        }
    ]
}

POST request body sample: by DNS record value and domain name

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

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

Default: undefined

terms.*.term

Required. The target search term.

Array of terms.

terms.*.exclude

Optional. If true, then the found 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

Wildcard Search

You can use wildcard. Such search may take longer.

{
    "apiKey": "YOUR_API_KEY",
    "limit": 1000,
    "recordType": "soa",
    "terms": [{
        "field": "value",
        "term": "*dns-admin.GOOGLE.COM*"
    }]
}

{
    "apiKey": "YOUR_API_KEY",
    "limit": 1000,
    "recordType": "txt",
    "terms": [{
        "field": "domain",
        "term": "google*"
    }]
}

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.

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