One input. Everything you need.
Pass a domain or IP. Get back DNS records, threat intelligence, WHOIS, geolocation, SSL certs, and more — in JSON or rendered HTML.
GET https://dnsapi.ai/v1/lookup?q=example.com&output=json
GET https://dnsapi.ai/v1/dns?q=example.com&type=MX
GET https://dnsapi.ai/v1/ip?q=1.1.1.1&output=web
GET https://dnsapi.ai/v1/dns?q=example.com&type=15
Endpoints
GET
/v1/lookup
Full enrichment — domain or IP
GET
/v1/dns
DNS records by type (name or numeric)
GET
/v1/ip
IP geo, ASN, threat score, rDNS
GET
/v1/whois
WHOIS + RDAP registration data
GET
/v1/ssl
Certificate transparency + expiry
GET
/v1/threat
Threat intel, reputation, abuse history