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: jsonResponse format: 'json' (default) or 'xml'.
typerequiredArrayA comma-separated list of DNS record types for lookup. 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 up to 100 hostnames to look up.
{
"domainNames": [
"google.com",
"example.com"
],
"ipAddresses": [
"8.8.8.8",
"1.1.1.1"
]
}domainNamesrequiredArray<String>Array of domain names or hostnames to look up. Maximum 100 per request.
ipAddressesoptionalArray<String>Array of IP addresses to include in the lookup for enrichment
A successful request returns a 200 OK response with a JSON object containing DNS data for each domain. See the response preview on the right for the full JSON structure.
bulk_dns_infoBesides 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 data in required format in request body.
Unable to fetch dns recIords. Please try again [For Technical Support: support@apifreaks.com].