Loading
Loading
Fetch DNS records for up to 100 domains or hostnames in a single POST request. Supports A, AAAA, MX, NS, SOA, SPF, TXT, and CNAME record types for bulk operations.
The Bulk DNS Lookup API accepts a JSON array of domain names via POST and returns an array of DNS objects - one per domain. Each object uses the same record structure as the single DNS Lookup response. Ideal for large-scale DNS monitoring, domain portfolio management, and security audits.
Authorize every request with your API key, passed either as a header or as a query parameter:
X-apiKeyapiKeyThis is version v1.0 of the API.
Query parameter for the POST request. Maximum 100 domains per request.
formatoptionalStringdefault: jsonjson (default) or xml.typerequiredArrayMX,TXT). Values are case-insensitive. The values can be A, AAAA, MX, NS, SOA, SPF, TXT, CNAME, or all.The request body must be a JSON object containing a domainNames array of 1 to 100 hostnames to look up, and optionally an ipAddresses array to look up PTR records. Each domain name costs 15 credits, including duplicates and unregistered domains. IP addresses are not charged.
{
"domainNames": [
"example.com"
],
"ipAddresses": [
"8.8.8.8"
]
}domainNamesrequiredArray<String>Array of domain names or hostnames to look up. Required, at least 1 and maximum 100 per request. A name sent more than once is returned once but charged each time.
ipAddressesoptionalArray<String>Array of IPv4 or IPv6 addresses to look up PTR records for. Each address returns its own entry with an ipAddress field. Cannot be sent without domainNames.
A successful request returns a 200 OK response with a JSON object holding a bulk_dns_info array. Each entry is the result for one domain name or IP address. If a hostname or IP address cannot be processed, the response is 206 Partial Content and that entry has status set to false with an empty dnsRecords array. With format=xml the response uses the root element BulkDnsInfo.
bulk_dns_infoArray of DNS lookup results, one entry per unique domain name and one per IP address. Entries are not guaranteed to follow request order. A domain name submitted more than once is returned once.
status (Boolean), queryTime (String), domainName (String), domainRegistered (Boolean), ipAddress (String), …
name (String), type (Integer), dnsType (String), ttl (Integer), rawText (String), …
name (String), type (Integer), dnsType (String), ttl (Integer), rawText (String), …
name (String), type (Integer), dnsType (String), ttl (Integer), rawText (String), …
name (String), type (Integer), dnsType (String), ttl (Integer), rawText (String), …
name (String), type (Integer), dnsType (String), ttl (Integer), rawText (String), …
name (String), type (Integer), dnsType (String), ttl (Integer), rawText (String), …
name (String), type (Integer), dnsType (String), ttl (Integer), rawText (String), …
Besides the response body, every response carries custom headers you can use to track credit usage, and concurrency usage on endpoints that enforce a concurrency limit. See the Custom Response Headers documentation and the endpoints with concurrency limits for more details.
X-Concurrent-Threadsheaderconcurrency-limited endpointsSpecifies the maximum number of concurrent requests allowed.
X-Concurrent-Threads-Activeheaderconcurrency-limited endpointsIndicates the number of active concurrent requests being processed.
X-AF-Credits-Costheaderall responsesSpecifies the number of credits consumed by the current request.
See the HTTP Status Codes documentation for a complete reference of common API errors and HTTP status codes.
please pass correct parameters
Please provide correct dns records type(s) [For Technical Support: support@whoisfreaks.com]
Please provide data in required format in request body
Please provide apiKey
The media type specified in the request is not supported. For more details, please refer to the API documentation.
Unable to fetch dns recIords. Please try again [For Technical Support: support@apifreaks.com].
Maximum request body size limit exceeded