API URL
GET /domain
Headers
Code
Content-Type: application/jsonQuery Parameters
Param
Type
Description
domain
required
string
One or more domain names to resolve (if ip not provided)
ip
required
string
IP address for reverse DNS lookup (if domain not provided)
type
optional
string
DNS record type to resolve (A, MX, TXT, etc). Use ALL for full resolution
Example GET Request
Code
GET /dns?domain=example.com&type=MXSuccessful Response
Status
HTML
200 OKBody
Code
[
{
"domain": "example.com",
"records": {
"MX": [
{
"exchange": "mail.example.com",
"priority": 10
}
]
}
}
]Field
Type
Description
domain
string
Fully qualified domain name analyzed for DNS infrastructure and security assessment
records
object
records.A | array | IPv4 address records essential for web hosting and domain resolution validation
records.A
array
records.AAAA | array | IPv6 address records supporting modern internet infrastructure and future-proofing
records.AAAA
array
records.MX | array | Mail exchange records with priority values for email deliverability analysis
records.MX
array
records.TXT | array | Text records containing SPF, DKIM, and other authentication data for security verification
records.MX[].exchange
string
records.NS | array | Authoritative name server records for domain administration and DNS management
records.MX[].priority
integer
records.CNAME | array | Canonical name aliases for subdomain management and traffic routing
records.TXT
array
—
records.NS
array
—
records.CNAME
array
—
records.SOA
object
—
records.PTR
array
—
Error Response
Example
Code
400 MISSING_INPUT – If neither domain nor ip is provided
200 ENODATA – When a record type has no data
200 ENOTFOUND – Reverse lookup failed
500 LOOKUP_FAILED – Unexpected internal errorLast Updated: May 4, 2026