The DNS Fetcher API provides comprehensive DNS information for any domain, allowing users to access a detailed view of how a domain is configured at the network level. This includes IPv4 addresses (A records), IPv6 addresses (AAAA records), mail server configuration (MX records), name servers (NS records), and all associated text records (TXT), which are often used for domain verification, email validation, and third-party integrations.
When a domain is queried, the API returns a structured response that includes all relevant DNS data. A records provide the primary IP addresses to which the domain resolves, which are essential for routing and connectivity. AAAA records offer IPv6 address support, providing insight into the compatibility of modern networks. MX records reveal the domain's email routing configuration, including Exchange servers and their priorities. NS records show the authoritative name servers that manage DNS resolution, while TXT records often contain important metadata for security frameworks such as SPF, DKIM, DMARC, site ownership verification (for platforms such as Google, Facebook, Microsoft), and third-party services such as Cisco, Apple, or DocuSign.
Designed for speed, clarity, and comprehensiveness, the DNS Fetcher API is a key tool for anyone working with domain infrastructure or web-based security protocols, providing a complete snapshot of the DNS in a single, simple call.
{"domain":"google.com","records":{"A":["209.85.202.138","209.85.202.139","209.85.202.100","209.85.202.102","209.85.202.101","209.85.202.113"],"AAAA":["2a00:1450:400b:c03::8b","2a00:1450:400b:c03::71","2a00:1450:400b:c03::64","2a00:1450:400b:c03::8a"],"MX":[{"exchange":"smtp.google.com","priority":10}],"NS":["ns4.google.com","ns3.google.com","ns2.google.com","ns1.google.com"],"TXT":["cisco-ci-domain-verification=47c38bc8c4b74b7233e9053220c1bbe76bcc1cd33c7acf7acd36cd6a5332004b","facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95","google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ","MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB","google-site-verification=wD8N7i1JTNTkezJ49swvWW48f8_9xveREV4oB-0Hf5o","google-site-verification=4ibFUgB-wXLQ_S7vsXVomSTVamuOXBiVAzpR5IZ87D0","apple-domain-verification=30afIBcvSuDV2PLX","docusign=1b0a6754-49b1-4db5-8540-d2c12664b289","v=spf1 include:_spf.google.com ~all","docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e","globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8=","onetrust-domain-verification=de01ed21f2fa4d8781cbc3ffb89cf4ef"]},"timestamp":"2025-07-14T21:37:51.235Z"}
curl --location --request GET 'https://zylalabs.com/api/8564/dns+fetcher+api/15013/dns+checker?domain=google.com' --header 'Authorization: Bearer YOUR_API_KEY'
| 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.
The API returns comprehensive DNS records for a specified domain, including A, AAAA, MX, NS, and TXT records. Each record type provides specific information, such as IP addresses, mail server configurations, authoritative name servers, and text records used for domain verification and security protocols.
The response data includes key fields such as "A" for IPv4 addresses, "AAAA" for IPv6 addresses, "MX" for mail server details, "NS" for name servers, and "TXT" for text records. Each field contains relevant metadata, including timestamps and verification information.
The response data is structured in a JSON format, with each record type represented as an array of objects. Each object contains fields specific to that record type, allowing users to easily parse and access the information they need.
The API provides detailed information on DNS configurations, including IP addresses (A and AAAA records), email routing (MX records), authoritative name servers (NS records), and verification-related text records (TXT). This data is essential for managing domain infrastructure and security.
Users can customize their requests by specifying the domain name as a parameter in the GET DNS Checker endpoint. This allows for targeted queries to retrieve DNS records for specific domains, ensuring relevant data is returned.
The data is sourced from authoritative DNS servers and registries, ensuring high accuracy and reliability. The API continuously updates its data to reflect changes in DNS configurations, maintaining the integrity of the information provided.
Typical use cases include troubleshooting DNS issues, verifying domain ownership, configuring email servers, and implementing security protocols like SPF, DKIM, and DMARC. The API is valuable for web developers, system administrators, and security professionals.
Users can analyze the returned data to assess domain configurations, troubleshoot connectivity issues, and ensure proper email routing. By understanding the structure and content of the response, users can integrate this information into their applications or security frameworks.
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
Service Level:
100%
Response Time:
991ms
Service Level:
100%
Response Time:
2,140ms
Service Level:
100%
Response Time:
947ms
Service Level:
100%
Response Time:
1,024ms
Service Level:
100%
Response Time:
1,520ms
Service Level:
100%
Response Time:
406ms
Service Level:
100%
Response Time:
271ms
Service Level:
100%
Response Time:
249ms
Service Level:
100%
Response Time:
462ms
Service Level:
100%
Response Time:
117ms