Provide current and historical ownership information on domains / IPs. Identify all connections between domains, registrants, registrars, and DNS servers.
Look into all current and historical DNS / IP connections between domains and A, MX, NS, and other records. Monitor suspicious changes to DNS records.
Get detailed context on an IP address, including its user’s geolocation, time zone, connected domains, connection type, IP range, ASN, and other network ownership details.
Access our web-based solution to dig into and monitor all domain events of interest.
Get access to a web-based enterprise-grade solution to search and monitor domain registrations and ownership details for branded terms, fuzzy matches, registrants of interest, and more.
Detect and block access to and from dangerous domain names before malicious actors can weaponize them. Contact us today for more information.
Unlock integrated intelligence on Internet properties and their ownership, infrastructure, and other attributes.
Our complete set of domain, IP, and DNS intelligence available via API calls as an annual subscription with predictable pricing.
Offers complete access to WHOIS, IP, DNS, and subdomain data for product enrichment, threat hunting and more.
Enjoy priority data access with our premium API services topped with extra perks including dedicated team support, enterprise-grade infrastructure, and SLAs for full scalability and high performance.
Multi-Level API User Administration Now Available - Manage individual API keys for team members in your organization.
Learn MoreA domain has a number of records associated with it, a DNS server can be queried to determine the IP address of the primary domain (A record), mail servers (MX records), DNS servers (NS nameservers) and other items such as SPF records (TXT records).
WhoisXmlApi.com provides RESTful APIs. It is designed for server-to-server communication between your system and the WhoisXmlApi.com network using standard HTTP or HTTPS protocols. Query responses are delivered in either XML or JSON format based on your requests which are made via GET/POST methods.
To get started you need an account with WhoisXmlApi.com. Authentication is required each
time in order to use the API.
The first 500 DNS lookups are complimentary when
you register for a free account.
apiKey |
Required. Get your personal API key on the My products page. |
domainName |
Required. The target domain name. |
type |
Required. DNS type: A, NS, SOA, MX, etc. You can specify multiple comma-separated values, e.g., A,SOA,TXT; all records can be retrieved with type=_all. Acceptable values: A, NS, SOA, MX, etc.; |
outputFormat |
Optional. Response output format. Acceptable values: JSON | XML Default: XML |
digest |
Optional. A javascript function used when outputFormat is JSON; this is an implementation known as JSONP which invokes the callback on the returned response |
After Sign Up you automatically get a free subscription plan limited to 500 queries.
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.
We support around fifty DNS types. You can use type codes or names from the table below:
Name | Code | Name | Code |
---|---|---|---|
A | 1 | GPOS | 27 |
NS | 2 | AAAA | 28 |
MD | 3 | LOC | 29 |
MF | 4 | NXT | 30 |
CNAME | 5 | EID | 31 |
SOA | 6 | NIMLOC | 32 |
MB | 7 | SRV | 33 |
MG | 8 | ATMA | 34 |
MR | 9 | NAPTR | 35 |
NULL | 10 | KX | 36 |
WKS | 11 | CERT | 37 |
PTR | 12 | A6 | 38 |
HINFO | 13 | DNAME | 39 |
MINFO | 14 | APL | 42 |
MX | 15 | DS | 43 |
TXT | 16 | SSHFP | 44 |
RP | 17 | IPSECKEY | 45 |
AFSDB | 18 | RRSIG | 46 |
X25 | 19 | NSEC | 47 |
ISDN | 20 | DNSKEY | 48 |
RT | 21 | DHCID | 49 |
NSAP | 22 | NSEC3 | 50 |
NSAP_PTR | 23 | NSEC3PARAM | 51 |
SIG | 24 | TLSA | 52 |
KEY | 25 | ANY | 255 |
PX | 26 | DLV | 32769 |
We are here to listen. For a quick response, please select your request type. By submitting a request, you agree to our Terms of Service and Privacy Policy.