DNS Lookup API

New
by APIGridInternetv1Updated 2026-03-31
0.0(0 reviews)
2.6M / month
Monthly Requests
589 ms
Avg Latency
99.99%
Uptime SLA
9
Endpoints

About this API

Query live DNS records, compare propagation across public resolvers, inspect delegation, reverse PTRs, and email authentication posture, and surface lightweight DNS security risks from one API. The simple lookup routes stay accessible to free users, while the richer diagnostic and security endpoints are available with premium access.

  • Record lookup for A, AAAA, MX, TXT, NS, CNAME, SOA, PTR, CAA, SRV, NAPTR, and TLSA
  • Batch DNS lookup for up to 100 domains per request
  • Propagation checks across Cloudflare, Google, Quad9, and authoritative nameserver context
  • Email posture for MX, SPF, DMARC, BIMI, MTA-STS, and TLS-RPT
  • Delegation trace and parent-child nameserver consistency checks
  • Reverse PTR lookups for IPv4 and IPv6 addresses
  • DNSSEC, CAA, wildcard DNS, takeover, and zone transfer signals
  • Weighted billing for the richer premium diagnostics

Tags

#dns#domain#deliverability#saas#infrastructure

Quick Start

Shell
curl -X GET \
  "https://api.apigrid.net/v1/dns/lookup?domain=example.com" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Response example

JSON
{
  "domain": "example.com",
  "typesQueried": [
    "A",
    "AAAA",
    "MX",
    "TXT",
    "NS",
    "CNAME",
    "SOA",
    "PTR",
    "CAA",
    "SRV",
    "NAPTR",
    "TLSA"
  ],
  "answerCount": 2,
  "answers": [
    {
      "type": "A",
      "value": "93.184.216.34",
      "ttl": 300,
      "metadata": {
        "address": "93.184.216.34"
      }
    },
    {
      "type": "MX",
      "value": "mx.example.com (10)",
      "ttl": null,
      "metadata": {
        "exchange": "mx.example.com",
        "priority": 10
      }
    }
  ],
  "answersByType": {
    "A": [
      {
        "type": "A",
        "value": "93.184.216.34",
        "ttl": 300,
        "metadata": {
          "address": "93.184.216.34"
        }
      }
    ],
    "MX": [
      {
        "type": "MX",
        "value": "mx.example.com (10)",
        "ttl": null,
        "metadata": {
          "exchange": "mx.example.com",
          "priority": 10
        }
      }
    ]
  },
  "queriedAt": "2026-03-29T08:30:00.000Z"
}
Free / 1K
starting price
Subscribe NowStart Free Account

Free lookup endpoints included. 7 premium endpoints unlock on paid access.

Provider

APIGrid
Verified Provider
SDKs
cURLNode.jsPython
Visit provider website

Statistics

Monthly API calls2.6M / month
Average latency589 ms
Uptime SLA99.99%
Endpoints9
Versionv1
Last updated2026-03-31
Back to Directory