The WhoIs Records API allows users to retrieve information about domain names and IP addresses, including the owner, contact information, and registration details. This data can be useful for a variety of purposes, such as verifying the ownership of a domain or tracking the use of an IP address.
{"statusCode": 200, "body": "{\"domain_name\": [\"YAHOO.COM\", \"yahoo.com\"], \"registrar\": \"MarkMonitor, Inc.\", \"whois_server\": \"whois.markmonitor.com\", \"referral_url\": null, \"updated_date\": [\"2023-02-03-18-07-10\", \"2023-02-03-17-55-31\"], \"creation_date\": [\"1995-01-18-05-00-00\", \"1995-01-18-08-00-00\"], \"expiration_date\": [\"2024-01-19-05-00-00\", \"2024-01-19-00-00-00\"], \"name_servers\": [\"NS1.YAHOO.COM\", \"NS2.YAHOO.COM\", \"NS3.YAHOO.COM\", \"NS4.YAHOO.COM\", \"NS5.YAHOO.COM\", \"ns3.yahoo.com\", \"ns2.yahoo.com\", \"ns4.yahoo.com\", \"ns1.yahoo.com\", \"ns5.yahoo.com\"], \"status\": [\"clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited\", \"clientTransferProhibited https://icann.org/epp#clientTransferProhibited\", \"clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited\", \"serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited\", \"serverTransferProhibited https://icann.org/epp#serverTransferProhibited\", \"serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited\", \"clientUpdateProhibited (https://www.icann.org/epp#clientUpdateProhibited)\", \"clientTransferProhibited (https://www.icann.org/epp#clientTransferProhibited)\", \"clientDeleteProhibited (https://www.icann.org/epp#clientDeleteProhibited)\", \"serverUpdateProhibited (https://www.icann.org/epp#serverUpdateProhibited)\", \"serverTransferProhibited (https://www.icann.org/epp#serverTransferProhibited)\", \"serverDeleteProhibited (https://www.icann.org/epp#serverDeleteProhibited)\"], \"emails\": [\"[email protected]\", \"[email protected]\"], \"dnssec\": \"unsigned\", \"name\": null, \"org\": \"Yahoo Assets LLC\", \"address\": null, \"city\": null, \"state\": \"VA\", \"zipcode\": null, \"country\": \"US\"}"}
curl --location --request POST 'https://zylalabs.com/api/871/whois+records+api/657/whois+scan' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"domain": "yahoo.com"
}'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the WhoIs Records API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
The WhoIs Records API is a web-based service that allows users to retrieve information about domain names and IP addresses. This information can include details such as the owner of the domain or IP address, contact information, and registration details. The WhoIs Records API can be useful for a variety of purposes, such as verifying the ownership of a domain, tracking the use of an IP address, or investigating the use of a domain for spam or other illicit activities.
Pass the domain to lookup and receive information like:
A domain registrar could use the API to verify the ownership of a domain before allowing it to be transferred to a new owner.
An online business could use the API to check the ownership and contact information for a domain they are interested in purchasing.
A website owner could use the API to track the use of their site's IP address, in order to identify any suspicious activity.
A cybersecurity firm could use the API to investigate the use of a domain for spam or other illicit activities.
A consumer advocacy group could use the API to gather information about the ownership and contact information for domains that may be involved in deceptive or fraudulent practices.
A web hosting company could use the API to verify the ownership of a domain before allowing it to be used with their hosting services.
Besides the number of API calls per month, there is a limitation of 5 requests per second.
Free plan: 10 requests per day
The WhoIs Scan endpoint returns detailed information about a specified domain or IP address, including the domain name, registrar, creation and expiration dates, name servers, and status codes.
Key fields in the response include "domain_name," "registrar," "creation_date," "expiration_date," "name_servers," and "status," which provide essential details about the domain or IP address.
The response data is structured in JSON format, with key-value pairs representing various attributes of the domain or IP address, making it easy to parse and utilize programmatically.
The WhoIs Scan endpoint provides information such as ownership details, contact information, registration dates, and server names, which can be used for domain verification and investigation.
The data is sourced from domain registrars and WHOIS databases, ensuring that the information is up-to-date and accurate for domain and IP address inquiries.
Users can customize their requests by specifying the domain name or IP address they wish to query, allowing for targeted information retrieval based on their needs.
Typical use cases include verifying domain ownership for transfers, checking contact information for potential purchases, and investigating domains for spam or fraudulent activities.
Users can analyze the returned data to verify ownership, assess domain legitimacy, monitor IP address usage, and identify potential security threats based on the status and registration details.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund