DNS & IP Intelligence API — domain or IP in, everything out

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.

# Any domain or IP. Any output format.

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

# Numeric type codes work too
GET https://dnsapi.ai/v1/dns?q=example.com&type=15 # MX

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
Anonymous
Free
100 req / no key required
  • All endpoints
  • JSON + web output
  • No signup
Try Now
Pro
$19 / month
Unlimited requests
  • Everything in Developer
  • DNS change monitoring
  • SSL expiry alerts
  • Threat score alerts
  • Email + SMS + webhook
Coming Soon