Loading
Loading
Our DNS Lookup API offers instant and precise access to crucial DNS records, including A, AAAA, MX, NS, SOA, SPF, TXT, and CNAME, for any hostname. Designed for efficiency, this API simplifies DNS checks and helps you optimize network performance. Whether you are performing a DNS lookup to troubleshoot issues or manage domain configurations, our API provides the latest, most accurate data to ensure domain integrity and enhance your online security.
By leveraging our DNS Lookup API, network administrators, developers, and cybersecurity professionals can swiftly diagnose DNS problems, validate MX records, and refine domain settings. This API is an essential asset for anyone needing a reliable DNS checker, helping you maintain a robust and resilient online presence. With real-time DNS record verification and comprehensive lookup capabilities, our API supports effective domain management and advanced cybersecurity strategies.
Utilize our DNS checker API to obtain real-time DNS records including A, AAAA, MX, NS, SOA, SPF, TXT, and CNAME, for any hostname. It enables you to execute live DNS lookups, swiftly identifying and addressing domain-related issues. By providing the most up-to-date and accurate DNS information, our API ensures that you maintain a reliable network infrastructure and effectively manage your domain settings.
Efficiently retrieve only the DNS records you need with our targeted lookup capability. Choose from A, AAAA, MX, NS, SOA, SPF, TXT, and CNAME records to focus your analysis and optimize your domain management. This feature helps streamline your DNS checks by filtering out unnecessary data, enhancing your overall workflow and accuracy.
$ pip install requestsimport requests
url = "https://api.apifreaks.com/v1.0/domain/dns/live?host-name=google.com&type=all"
payload = {}
headers = {
'X-apiKey': 'API-KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
Simply specify the record type as MX and provide the hostname. The MX Lookup API will instantly retrieve all associated MX records, making it ideal for verifying mail server configurations or troubleshooting email delivery issues.
Get MX Records only{ "status": true, "queryTime": "2026-07-02 07:00:20", "domainName": "google.com", "domainRegistered": true, "dnsTypes": { "MX": 15 }, "dnsRecords": [ { "name": "google.com", "type": 15, "dnsType": "MX", "ttl": 157, "rawText": "google.com.\t\t157\tIN\tMX\t10 smtp.google.com.", "rRsetType": 15, "target": "smtp.google.com.", "priority": 10 } ] }curl -X 'GET' 'https://api.apifreaks.com/v1.0/domain/dns/live?host-name=google.com&type=mx&apiKey=API-KEY'
To look up specific DNS records, including A, AAAA, MX, NS, SOA, SPF, TXT, and CNAME, include the type parameter in your request. Specify a comma-separated list of record types for targeted lookups, or use all to retrieve all supported DNS records in a single request.
# Get A, AAAA, and MX records only{ "status": true, "queryTime": "2026-07-02 07:00:21", "domainName": "google.com", "domainRegistered": true, "dnsTypes": { "A": 1, "AAAA": 28, "MX": 15 }, "dnsRecords": [ { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 300, "rawText": "google.com. 300 IN A 142.250.102.138", "rRsetType": 1, "address": "142.250.102.138" }, { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 300, "rawText": "google.com. 300 IN A 142.250.102.139", "rRsetType": 1, "address": "142.250.102.139" }, { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 300, "rawText": "google.com. 300 IN A 142.250.102.101", "rRsetType": 1, "address": "142.250.102.101" }, { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 300, "rawText": "google.com. 300 IN A 142.250.102.102", "rRsetType": 1, "address": "142.250.102.102" }, { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 300, "rawText": "google.com. 300 IN A 142.250.102.100", "rRsetType": 1, "address": "142.250.102.100" }, { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 300, "rawText": "google.com. 300 IN A 142.250.102.113", "rRsetType": 1, "address": "142.250.102.113" }, { "name": "google.com", "type": 15, "dnsType": "MX", "ttl": 156, "rawText": "google.com. 156 IN MX 10 smtp.google.com.", "rRsetType": 15, "target": "smtp.google.com.", "priority": 10 }, { "name": "google.com", "type": 28, "dnsType": "AAAA", "ttl": 300, "rawText": "google.com. 300 IN AAAA 2a00:1450:4025:402:0:0:0:65", "rRsetType": 28, "address": "2a00:1450:4025:402:0:0:0:65" }, { "name": "google.com", "type": 28, "dnsType": "AAAA", "ttl": 300, "rawText": "google.com. 300 IN AAAA 2a00:1450:4025:402:0:0:0:71", "rRsetType": 28, "address": "2a00:1450:4025:402:0:0:0:71" }, { "name": "google.com", "type": 28, "dnsType": "AAAA", "ttl": 300, "rawText": "google.com. 300 IN AAAA 2a00:1450:4025:402:0:0:0:8b", "rRsetType": 28, "address": "2a00:1450:4025:402:0:0:0:8b" }, { "name": "google.com", "type": 28, "dnsType": "AAAA", "ttl": 300, "rawText": "google.com. 300 IN AAAA 2a00:1450:4025:402:0:0:0:8a", "rRsetType": 28, "address": "2a00:1450:4025:402:0:0:0:8a" } ] } # Get all supported DNS record typescurl -X 'GET' 'https://api.apifreaks.com/v1.0/domain/dns/live?host-name=google.com&type=a%2Caaaa%2Cmx&apiKey=API-KEY'{ "status": true, "queryTime": "2026-07-02 07:00:14", "domainName": "google.com", "domainRegistered": true, "dnsTypes": { "A": 1, "AAAA": 28, "MX": 15, "NS": 2, "SOA": 6, "TXT": 16, "SPF": 99 }, "dnsRecords": [ { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 190, "rawText": "google.com. 190 IN A 142.250.27.113", "rRsetType": 1, "address": "142.250.27.113" }, { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 190, "rawText": "google.com. 190 IN A 142.250.27.100", "rRsetType": 1, "address": "142.250.27.100" }, { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 190, "rawText": "google.com. 190 IN A 142.250.27.101", "rRsetType": 1, "address": "142.250.27.101" }, { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 190, "rawText": "google.com. 190 IN A 142.250.27.102", "rRsetType": 1, "address": "142.250.27.102" }, { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 190, "rawText": "google.com. 190 IN A 142.250.27.138", "rRsetType": 1, "address": "142.250.27.138" }, { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 190, "rawText": "google.com. 190 IN A 142.250.27.139", "rRsetType": 1, "address": "142.250.27.139" }, { "name": "google.com", "type": 2, "dnsType": "NS", "ttl": 21600, "rawText": "google.com. 21600 IN NS ns3.google.com.", "rRsetType": 2, "singleName": "ns3.google.com." }, { "name": "google.com", "type": 2, "dnsType": "NS", "ttl": 21600, "rawText": "google.com. 21600 IN NS ns4.google.com.", "rRsetType": 2, "singleName": "ns4.google.com." }, { "name": "google.com", "type": 2, "dnsType": "NS", "ttl": 21600, "rawText": "google.com. 21600 IN NS ns2.google.com.", "rRsetType": 2, "singleName": "ns2.google.com." }, { "name": "google.com", "type": 2, "dnsType": "NS", "ttl": 21600, "rawText": "google.com. 21600 IN NS ns1.google.com.", "rRsetType": 2, "singleName": "ns1.google.com." }, { "name": "google.com", "type": 6, "dnsType": "SOA", "ttl": 47, "rawText": "google.com. 47 IN SOA ns1.google.com. dns-admin.google.com. 940986870 900 900 1800 60", "rRsetType": 6, "admin": "dns-admin.google.com.", "host": "ns1.google.com.", "expire": 1800, "minimum": 60, "refresh": 900, "retry": 900, "serial": 940986870 }, { "name": "google.com", "type": 15, "dnsType": "MX", "ttl": 27, "rawText": "google.com. 27 IN MX 10 smtp.google.com.", "rRsetType": 15, "target": "smtp.google.com.", "priority": 10 }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "onetrust-domain-verification=6d685f1d41a94696ad7ef771f68993e0"", "rRsetType": 16, "strings": [ "onetrust-domain-verification=6d685f1d41a94696ad7ef771f68993e0" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ"", "rRsetType": 16, "strings": [ "google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "onetrust-domain-verification=0d477fe608074e6f9c12bca7826035cc"", "rRsetType": 16, "strings": [ "onetrust-domain-verification=0d477fe608074e6f9c12bca7826035cc" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB"", "rRsetType": 16, "strings": [ "MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e"", "rRsetType": 16, "strings": [ "docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "google-site-verification=4ibFUgB-wXLQ_S7vsXVomSTVamuOXBiVAzpR5IZ87D0"", "rRsetType": 16, "strings": [ "google-site-verification=4ibFUgB-wXLQ_S7vsXVomSTVamuOXBiVAzpR5IZ87D0" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "cisco-ci-domain-verification=47c38bc8c4b74b7233e9053220c1bbe76bcc1cd33c7acf7acd36cd6a5332004b"", "rRsetType": 16, "strings": [ "cisco-ci-domain-verification=47c38bc8c4b74b7233e9053220c1bbe76bcc1cd33c7acf7acd36cd6a5332004b" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "Z29vZ2xl"", "rRsetType": 16, "strings": [ "Z29vZ2xl" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95"", "rRsetType": 16, "strings": [ "facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "docusign=1b0a6754-49b1-4db5-8540-d2c12664b289"", "rRsetType": 16, "strings": [ "docusign=1b0a6754-49b1-4db5-8540-d2c12664b289" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "apple-domain-verification=30afIBcvSuDV2PLX"", "rRsetType": 16, "strings": [ "apple-domain-verification=30afIBcvSuDV2PLX" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8="", "rRsetType": 16, "strings": [ "globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8=" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "google-site-verification=wD8N7i1JTNTkezJ49swvWW48f8_9xveREV4oB-0Hf5o"", "rRsetType": 16, "strings": [ "google-site-verification=wD8N7i1JTNTkezJ49swvWW48f8_9xveREV4oB-0Hf5o" ] }, { "name": "google.com", "type": 28, "dnsType": "AAAA", "ttl": 243, "rawText": "google.com. 243 IN AAAA 2a00:1450:4025:402:0:0:0:64", "rRsetType": 28, "address": "2a00:1450:4025:402:0:0:0:64" }, { "name": "google.com", "type": 28, "dnsType": "AAAA", "ttl": 243, "rawText": "google.com. 243 IN AAAA 2a00:1450:4025:402:0:0:0:71", "rRsetType": 28, "address": "2a00:1450:4025:402:0:0:0:71" }, { "name": "google.com", "type": 28, "dnsType": "AAAA", "ttl": 243, "rawText": "google.com. 243 IN AAAA 2a00:1450:4025:402:0:0:0:8b", "rRsetType": 28, "address": "2a00:1450:4025:402:0:0:0:8b" }, { "name": "google.com", "type": 28, "dnsType": "AAAA", "ttl": 243, "rawText": "google.com. 243 IN AAAA 2a00:1450:4025:402:0:0:0:8a", "rRsetType": 28, "address": "2a00:1450:4025:402:0:0:0:8a" }, { "name": "google.com", "type": 99, "dnsType": "SPF", "ttl": 300, "rawText": "google.com. 300 IN SPF "v=spf1 include:_spf.google.com ~all"", "rRsetType": 99, "strings": [ "v=spf1 include:_spf.google.com ~all" ] } ] }curl -X 'GET' 'https://api.apifreaks.com/v1.0/domain/dns/live?host-name=google.com&type=all&apiKey=API-KEY'
To retrieve DNS records for a specific hostname or URL, include the host-name parameter in your request with the desired hostname or URL value. Our API will automatically extract the hostname from the provided URL.
# Get DNS records for hostname{ "status": true, "queryTime": "2026-07-02 07:00:14", "domainName": "google.com", "domainRegistered": true, "dnsTypes": { "A": 1, "AAAA": 28, "MX": 15, "NS": 2, "SOA": 6, "TXT": 16, "SPF": 99 }, "dnsRecords": [ { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 190, "rawText": "google.com. 190 IN A 142.250.27.113", "rRsetType": 1, "address": "142.250.27.113" }, { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 190, "rawText": "google.com. 190 IN A 142.250.27.100", "rRsetType": 1, "address": "142.250.27.100" }, { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 190, "rawText": "google.com. 190 IN A 142.250.27.101", "rRsetType": 1, "address": "142.250.27.101" }, { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 190, "rawText": "google.com. 190 IN A 142.250.27.102", "rRsetType": 1, "address": "142.250.27.102" }, { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 190, "rawText": "google.com. 190 IN A 142.250.27.138", "rRsetType": 1, "address": "142.250.27.138" }, { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 190, "rawText": "google.com. 190 IN A 142.250.27.139", "rRsetType": 1, "address": "142.250.27.139" }, { "name": "google.com", "type": 2, "dnsType": "NS", "ttl": 21600, "rawText": "google.com. 21600 IN NS ns3.google.com.", "rRsetType": 2, "singleName": "ns3.google.com." }, { "name": "google.com", "type": 2, "dnsType": "NS", "ttl": 21600, "rawText": "google.com. 21600 IN NS ns4.google.com.", "rRsetType": 2, "singleName": "ns4.google.com." }, { "name": "google.com", "type": 2, "dnsType": "NS", "ttl": 21600, "rawText": "google.com. 21600 IN NS ns2.google.com.", "rRsetType": 2, "singleName": "ns2.google.com." }, { "name": "google.com", "type": 2, "dnsType": "NS", "ttl": 21600, "rawText": "google.com. 21600 IN NS ns1.google.com.", "rRsetType": 2, "singleName": "ns1.google.com." }, { "name": "google.com", "type": 6, "dnsType": "SOA", "ttl": 47, "rawText": "google.com. 47 IN SOA ns1.google.com. dns-admin.google.com. 940986870 900 900 1800 60", "rRsetType": 6, "admin": "dns-admin.google.com.", "host": "ns1.google.com.", "expire": 1800, "minimum": 60, "refresh": 900, "retry": 900, "serial": 940986870 }, { "name": "google.com", "type": 15, "dnsType": "MX", "ttl": 27, "rawText": "google.com. 27 IN MX 10 smtp.google.com.", "rRsetType": 15, "target": "smtp.google.com.", "priority": 10 }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "onetrust-domain-verification=6d685f1d41a94696ad7ef771f68993e0"", "rRsetType": 16, "strings": [ "onetrust-domain-verification=6d685f1d41a94696ad7ef771f68993e0" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ"", "rRsetType": 16, "strings": [ "google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "onetrust-domain-verification=0d477fe608074e6f9c12bca7826035cc"", "rRsetType": 16, "strings": [ "onetrust-domain-verification=0d477fe608074e6f9c12bca7826035cc" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB"", "rRsetType": 16, "strings": [ "MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e"", "rRsetType": 16, "strings": [ "docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "google-site-verification=4ibFUgB-wXLQ_S7vsXVomSTVamuOXBiVAzpR5IZ87D0"", "rRsetType": 16, "strings": [ "google-site-verification=4ibFUgB-wXLQ_S7vsXVomSTVamuOXBiVAzpR5IZ87D0" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "cisco-ci-domain-verification=47c38bc8c4b74b7233e9053220c1bbe76bcc1cd33c7acf7acd36cd6a5332004b"", "rRsetType": 16, "strings": [ "cisco-ci-domain-verification=47c38bc8c4b74b7233e9053220c1bbe76bcc1cd33c7acf7acd36cd6a5332004b" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "Z29vZ2xl"", "rRsetType": 16, "strings": [ "Z29vZ2xl" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95"", "rRsetType": 16, "strings": [ "facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "docusign=1b0a6754-49b1-4db5-8540-d2c12664b289"", "rRsetType": 16, "strings": [ "docusign=1b0a6754-49b1-4db5-8540-d2c12664b289" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "apple-domain-verification=30afIBcvSuDV2PLX"", "rRsetType": 16, "strings": [ "apple-domain-verification=30afIBcvSuDV2PLX" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8="", "rRsetType": 16, "strings": [ "globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8=" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "google-site-verification=wD8N7i1JTNTkezJ49swvWW48f8_9xveREV4oB-0Hf5o"", "rRsetType": 16, "strings": [ "google-site-verification=wD8N7i1JTNTkezJ49swvWW48f8_9xveREV4oB-0Hf5o" ] }, { "name": "google.com", "type": 28, "dnsType": "AAAA", "ttl": 243, "rawText": "google.com. 243 IN AAAA 2a00:1450:4025:402:0:0:0:64", "rRsetType": 28, "address": "2a00:1450:4025:402:0:0:0:64" }, { "name": "google.com", "type": 28, "dnsType": "AAAA", "ttl": 243, "rawText": "google.com. 243 IN AAAA 2a00:1450:4025:402:0:0:0:71", "rRsetType": 28, "address": "2a00:1450:4025:402:0:0:0:71" }, { "name": "google.com", "type": 28, "dnsType": "AAAA", "ttl": 243, "rawText": "google.com. 243 IN AAAA 2a00:1450:4025:402:0:0:0:8b", "rRsetType": 28, "address": "2a00:1450:4025:402:0:0:0:8b" }, { "name": "google.com", "type": 28, "dnsType": "AAAA", "ttl": 243, "rawText": "google.com. 243 IN AAAA 2a00:1450:4025:402:0:0:0:8a", "rRsetType": 28, "address": "2a00:1450:4025:402:0:0:0:8a" }, { "name": "google.com", "type": 99, "dnsType": "SPF", "ttl": 300, "rawText": "google.com. 300 IN SPF "v=spf1 include:_spf.google.com ~all"", "rRsetType": 99, "strings": [ "v=spf1 include:_spf.google.com ~all" ] } ] } # Get DNS records by URLcurl -X 'GET' 'https://api.apifreaks.com/v1.0/domain/dns/live?host-name=google.com&type=all&apiKey=API-KEY'{ "status": true, "queryTime": "2026-07-02 07:00:21", "domainName": "https://google.com", "domainRegistered": true, "dnsTypes": { "A": 1, "NS": 2, "SOA": 6, "MX": 15, "TXT": 16, "AAAA": 28, "SPF": 99 }, "dnsRecords": [ { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 57, "rawText": "google.com. 57 IN A 142.250.102.138", "rRsetType": 1, "address": "142.250.102.138" }, { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 57, "rawText": "google.com. 57 IN A 142.250.102.139", "rRsetType": 1, "address": "142.250.102.139" }, { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 57, "rawText": "google.com. 57 IN A 142.250.102.101", "rRsetType": 1, "address": "142.250.102.101" }, { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 57, "rawText": "google.com. 57 IN A 142.250.102.102", "rRsetType": 1, "address": "142.250.102.102" }, { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 57, "rawText": "google.com. 57 IN A 142.250.102.100", "rRsetType": 1, "address": "142.250.102.100" }, { "name": "google.com", "type": 1, "dnsType": "A", "ttl": 57, "rawText": "google.com. 57 IN A 142.250.102.113", "rRsetType": 1, "address": "142.250.102.113" }, { "name": "google.com", "type": 2, "dnsType": "NS", "ttl": 21600, "rawText": "google.com. 21600 IN NS ns3.google.com.", "rRsetType": 2, "singleName": "ns3.google.com." }, { "name": "google.com", "type": 2, "dnsType": "NS", "ttl": 21600, "rawText": "google.com. 21600 IN NS ns4.google.com.", "rRsetType": 2, "singleName": "ns4.google.com." }, { "name": "google.com", "type": 2, "dnsType": "NS", "ttl": 21600, "rawText": "google.com. 21600 IN NS ns2.google.com.", "rRsetType": 2, "singleName": "ns2.google.com." }, { "name": "google.com", "type": 2, "dnsType": "NS", "ttl": 21600, "rawText": "google.com. 21600 IN NS ns1.google.com.", "rRsetType": 2, "singleName": "ns1.google.com." }, { "name": "google.com", "type": 6, "dnsType": "SOA", "ttl": 40, "rawText": "google.com. 40 IN SOA ns1.google.com. dns-admin.google.com. 940986870 900 900 1800 60", "rRsetType": 6, "admin": "dns-admin.google.com.", "host": "ns1.google.com.", "expire": 1800, "minimum": 60, "refresh": 900, "retry": 900, "serial": 940986870 }, { "name": "google.com", "type": 15, "dnsType": "MX", "ttl": 20, "rawText": "google.com. 20 IN MX 10 smtp.google.com.", "rRsetType": 15, "target": "smtp.google.com.", "priority": 10 }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "onetrust-domain-verification=6d685f1d41a94696ad7ef771f68993e0"", "rRsetType": 16, "strings": [ "onetrust-domain-verification=6d685f1d41a94696ad7ef771f68993e0" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ"", "rRsetType": 16, "strings": [ "google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "onetrust-domain-verification=0d477fe608074e6f9c12bca7826035cc"", "rRsetType": 16, "strings": [ "onetrust-domain-verification=0d477fe608074e6f9c12bca7826035cc" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB"", "rRsetType": 16, "strings": [ "MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e"", "rRsetType": 16, "strings": [ "docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "google-site-verification=4ibFUgB-wXLQ_S7vsXVomSTVamuOXBiVAzpR5IZ87D0"", "rRsetType": 16, "strings": [ "google-site-verification=4ibFUgB-wXLQ_S7vsXVomSTVamuOXBiVAzpR5IZ87D0" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "cisco-ci-domain-verification=47c38bc8c4b74b7233e9053220c1bbe76bcc1cd33c7acf7acd36cd6a5332004b"", "rRsetType": 16, "strings": [ "cisco-ci-domain-verification=47c38bc8c4b74b7233e9053220c1bbe76bcc1cd33c7acf7acd36cd6a5332004b" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "Z29vZ2xl"", "rRsetType": 16, "strings": [ "Z29vZ2xl" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95"", "rRsetType": 16, "strings": [ "facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "docusign=1b0a6754-49b1-4db5-8540-d2c12664b289"", "rRsetType": 16, "strings": [ "docusign=1b0a6754-49b1-4db5-8540-d2c12664b289" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "apple-domain-verification=30afIBcvSuDV2PLX"", "rRsetType": 16, "strings": [ "apple-domain-verification=30afIBcvSuDV2PLX" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8="", "rRsetType": 16, "strings": [ "globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8=" ] }, { "name": "google.com", "type": 16, "dnsType": "TXT", "ttl": 300, "rawText": "google.com. 300 IN TXT "google-site-verification=wD8N7i1JTNTkezJ49swvWW48f8_9xveREV4oB-0Hf5o"", "rRsetType": 16, "strings": [ "google-site-verification=wD8N7i1JTNTkezJ49swvWW48f8_9xveREV4oB-0Hf5o" ] }, { "name": "google.com", "type": 28, "dnsType": "AAAA", "ttl": 106, "rawText": "google.com. 106 IN AAAA 2a00:1450:4025:402:0:0:0:64", "rRsetType": 28, "address": "2a00:1450:4025:402:0:0:0:64" }, { "name": "google.com", "type": 28, "dnsType": "AAAA", "ttl": 106, "rawText": "google.com. 106 IN AAAA 2a00:1450:4025:402:0:0:0:66", "rRsetType": 28, "address": "2a00:1450:4025:402:0:0:0:66" }, { "name": "google.com", "type": 28, "dnsType": "AAAA", "ttl": 106, "rawText": "google.com. 106 IN AAAA 2a00:1450:4025:402:0:0:0:71", "rRsetType": 28, "address": "2a00:1450:4025:402:0:0:0:71" }, { "name": "google.com", "type": 28, "dnsType": "AAAA", "ttl": 106, "rawText": "google.com. 106 IN AAAA 2a00:1450:4025:402:0:0:0:8b", "rRsetType": 28, "address": "2a00:1450:4025:402:0:0:0:8b" }, { "name": "google.com", "type": 99, "dnsType": "SPF", "ttl": 300, "rawText": "google.com. 300 IN SPF "v=spf1 include:_spf.google.com ~all"", "rRsetType": 99, "strings": [ "v=spf1 include:_spf.google.com ~all" ] } ] }curl -X 'GET' 'https://api.apifreaks.com/v1.0/domain/dns/live?host-name=https%3A%2F%2Fgoogle.com&type=all&apiKey=API-KEY'
To use the DNS lookup API, API credits are required. Charges apply only for successful queries, indicated by a 2xx status code. If a request results in a 4xx or 5xx status code, no credits will be deducted, and any credits previously charged will be refunded.
For each successful request, 15 credits will be charged for DNS lookup. Utilize the Credits Usage API to efficiently monitor your recent consumption of both one-off and subscription credits. This API provides a streamlined way to track and manage your credit usage, ensuring you stay informed about your remaining balance and can optimize your resource allocation effectively.