API 2.0 docs Advanced search API 2.0 docs

Making requests

POSThttps://reverse-whois-api.whoisxmlapi.com/api/v2

It takes up to 2 minutes to activate your account after Sign Up.

Request body sample

        {
    "apiKey": "YOUR_API_KEY",
    "sinceDate": "2018-03-01",
    "mode": "purchase",
    "basicSearchTerms": {
        "include": [
            "Airbnb, Inc.",
            "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 having the terms in any of WHOIS fields.

Input parameters

apiKey
Get your personal API KEY on My products page.
basicSearchTerms.include
Required. Array of search strings which should be present in the domain's WHOIS details. Maximum 4 items. Case insensitive.
basicSearchTerms.exclude
Optional. Array of search strings which should NOT be present in the domain's WHOIS details. Maximum 4 items. Case insensitive.
searchType
Optional. Type of search.

"current" (default) – search in the current WHOIS records only.

"historic" – search in both actual and historical WHOIS records.
sinceDate
Optional. Date in "YYYY-MM-DD" format.

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" (default) – return only the number of domains. No credits deducted.

"purchase" – return the actual list of domains (limited to 10,000). 1 request costs 1 DRS credit.
responseFormat
Optional.

"json" (default) – response format will be JSON.

"xml" – response format will be XML.
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 updated 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.

Advanced search API 2.0 docs

Advanced search allows searching through concrete WHOIS fields.

Sample output

JSON
XML
                            {
   "domainsCount": 2,
   "domainsList": [
        "airbnb.app",
        "airbnbhost.app"
    ]
}
                        
                            <xml>
<domainsCount>1</domainsCount>
<domainsList>
  <item>airbnb.app</item>
  <item>airbnbhost.app</item>
</domainsList>
</xml>
                        
domainsCount
The number of domains matching the criteria.
domainsList
The list of domains matching the criteria. This section is present for the "purchase" mode only.

Try Reverse WHOIS API for free

Have questions?
support@whoisxmlapi.com
We will get back to you within a day.
WHOIS API, Inc.

California
USA

Contact us