A 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 a developer's 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 developer account.
Required. Get your personal API KEY on My products page.
Required. The target domain name.
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.;
Optional. Response output format.
Acceptable values: JSON | XML
After Sign Up you automatically get a free subscription plan limited to 500 queries per month.
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.
We support around fifty DNS types. You can use type codes or names from the table below:
We work hard to improve our services for you. As part of that process, we welcome your feedback, questions, and suggestions. Please let us know about your thoughts and feelings, and any way in which you think we can improve our product.
For a quick response, please select the request type that best suits your needs. For more info regarding the request types, see Contact us page.