DNS Live Check API
Documentation for the DNS Live Check JSON API: propagation checks, record lookups, reverse DNS, DNS trace and RDAP, with parameters, limits and examples.
Free JSON API for DNS checks
The tools on this site use a small JSON API, and you can call the same endpoints from your own scripts, monitoring jobs and support workflows. No key or signup is required. All endpoints use HTTPS GET on https://dnslivecheck.com and return JSON. Queries are sent from our hosting server.
curl "https://dnslivecheck.com/api/check?domain=example.com&type=A"
Endpoints
| Endpoint | Purpose | Parameters | Example |
|---|---|---|---|
| GET /api/check | Global propagation check across directory resolvers. | domain (required), type (A, AAAA, CAA, CNAME, DS, DNSKEY, MX, NS, PTR, SOA, SRV, TXT), catalog (core, regional, all), country, region, provider, endpoints (primary, both), custom_ip, custom_name, fresh=1 | /api/check?domain=example.com&type=A |
| GET /api/lookup | Detailed lookup through one resolver; type ALL queries every supported type. | domain, type (a supported type or ALL), resolver (an id from /api/config, default google) | /api/lookup?domain=example.com&type=MX&resolver=cloudflare |
| GET /api/reverse | PTR lookup with forward confirmation for an IP, or for the addresses of a hostname. | input (IP address or hostname) | /api/reverse?input=8.8.8.8 |
| GET /api/reverse-bulk | PTR lookup for up to 25 IP addresses with forward confirmation of the first name. | ips (comma- or space-separated addresses) | /api/reverse-bulk?ips=8.8.8.8,1.1.1.1 |
| GET /api/trace | Iterative trace from the root servers to the authoritative answer. | domain, type (not PTR), fresh=1 | /api/trace?domain=www.example.com&type=A |
| GET /api/rdap | Domain registration data from RDAP (official .aeDA WHOIS for .ae). | domain | /api/rdap?domain=example.com |
| GET /api/config | Resolver directory, supported types and counts. | none | /api/config |
| GET /api/ip | The connection IP address observed by this server. | none | /api/ip |
| GET /api/health | Service status and configuration summary. | none | /api/health |
Responses
Each resolver result includes status (success, empty or error), records (each with value, ttl and type-specific fields such as priority), durationMs and, on failure, error. A timeout or refusal is always returned as an error; results are never filled in. /api/check responses can be served from a 45-second cache (cached and cacheAgeSec show this); add fresh=1 to query again.
Errors use HTTP status codes with a JSON error message: 400 for invalid input (including private or reserved custom resolver IPs), 429 when a rate limit is reached and 502 when an upstream service fails.
Rate limits and fair use
- 45 lookup requests per minute per IP address across endpoints.
- 6 per minute for large catalog checks, bulk reverse DNS and DNS traces; 8 per minute with a custom resolver IP.
- Cache results on your side and avoid polling more often than you need.
- The API is provided without a service-level guarantee and may change. Do not use it to generate abusive traffic towards third-party resolvers.
The API does not send CORS headers, so call it from a server or script rather than from JavaScript on another website. If you build something with it, a link to DNS Live Check is appreciated.
What the results mean
Country labels on resolvers come from directory listings, not from verified query locations; see the DNS server directory for details. For a step-by-step view of delegation, use the DNS trace.
