Loading
Loading
Retrieves all hostnames associated with specific DNS records (A, AAAA, MX, NS, SOA, SPF, TXT, CNAME). Identify domains hosted on an IP/CIDR, domains using specific name servers, or domains linked to mail providers.
The Reverse DNS Lookup API supports paginated results, exact matching, and wildcard pattern matching across all record types. Ideal for infrastructure discovery, security audits, and domain intelligence gathering.
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.
The following parameters can be used in your API requests. All parameters are passed as query string parameters.
formatoptionalStringdefault: jsonResponse format: 'json' (default) or 'xml'.
valuerequiredStringThe value to query. For A: IPv4 CIDR block. For AAAA: IPv6 CIDR block. For MX: MX record hostname (wildcards allowed). For NS: Name server hostname (wildcards allowed). For SOA: SOA admin host (wildcards allowed). For SPF/TXT: selector/value (wildcards allowed). For CNAME: target hostname (wildcards allowed).
typerequiredStringReverse Lookup type for specific DNS record. Possible values are: A, AAAA, MX, NS, SOA, SPF, TXT, CNAME.
exactoptionalBooleandefault: falsetrue: Return only exact matches (NS, MX, CNAME, SOA, SPF, TXT). false: Return all matching records (default).
pageoptionalIntegerdefault: 1Page number for paginated results.
A successful request returns a 200 OK response with a JSON object containing reverse DNS records and pagination metadata. See the response preview on the right for the full JSON structure.
totalRecordsTotal number of reverse DNS records found.
totalPagesTotal number of pages for paginated results.
currentPageCurrent page number.
queryTime (String), domainName (String), dnsTypes (Object), dnsRecords (Array<Object>)
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 provide valid Ipv4 Address or CIDR Notation
Invalid dns Record Type. Kindly use the supported record types.
No Record Found.
Unable to fetch dns records. Please try again [For Technical Support: support@apifreaks.com].