API Documentation
Every D.NIX tool — DNS, WHOIS, IP Intelligence, DNSSEC, Propagation, Email Health and more — available as a fast, consistent JSON API.
Authentication
Pass your API key on every request using one of the two methods below.
curl -H "X-API-Key: dnd_your_key" \ "https://www.dnix.in/api/v1/dns?d=example.com"
Access-Control-Allow-Origin: * — call them directly from browser JavaScript.
Response Format
Every response — success or error — uses the same top-level JSON structure.
{
"status": "ok", // "ok" | "error"
"data": { ... }, // tool-specific payload
"meta": {
"time": "2026-03-21T10:00:00+00:00",
"elapsed_ms": 142,
"rate_limit": { // present when authenticated
"plan": "Pro",
"limit_per_hour": 1000,
"used_this_hour": 42,
"limit_per_day": 10000,
"used_today": 387,
"remaining": 958 // min(hourly headroom, daily headroom)
}
},
"errors": [] // non-empty on error
}
Rate Limits
Two independent limits apply — a per-rolling-hour limit and a per-calendar-day limit — both determined by your plan. A request is allowed only when both limits have headroom. Every authenticated response includes these headers:
429 Too Many Requests. Check X-RateLimit-Reset for hourly resets or the error body for midnight (daily) resets.
Endpoints
Click an endpoint to expand details and example.
Query all DNS record types for a domain with automated health analysis — SOA, NS, A, AAAA, MX, TXT, CAA, DKIM and more.
example.com
curl -H "X-API-Key: dnd_your_key" \ "https://www.dnix.in/api/v1/dns?d=example.com"
Fetch domain registration data via RDAP with automatic fallback to raw WHOIS. Includes registrar, dates, nameservers and status flags.
example.com
curl -H "X-API-Key: dnd_your_key" \ "https://www.dnix.in/api/v1/whois?d=example.com"
Deep analysis of any public IPv4 or IPv6 address — ASN, BGP prefix, geolocation, PTR, RPKI validity, abuse contacts, transit providers and IX memberships.
ip)
curl -H "X-API-Key: dnd_your_key" \ "https://www.dnix.in/api/v1/ip?q=1.1.1.1"
Full BGP and peering overview for any Autonomous System — announced prefixes, upstream/downstream neighbours, IX memberships, peering policy, and traffic data from PeeringDB.
AS13335, as13335, or bare number 13335 (also accepted as asn)
curl -H "X-API-Key: dnd_your_key" \ "https://www.dnix.in/api/v1/asn?q=AS13335"
Search Certificate Transparency logs for all SSL/TLS certificates issued for a domain (including wildcards and subdomains), sourced from crt.sh.
curl -H "X-API-Key: dnd_your_key" \ "https://www.dnix.in/api/v1/ctlog?d=example.com"
Validate the full DNSSEC chain of trust from root to the queried domain. Checks DNSKEY, DS, RRSIG, and NSEC/NSEC3 records.
curl -H "X-API-Key: dnd_your_key" \ "https://www.dnix.in/api/v1/dnssec?d=example.com"
Check DNS propagation across 200+ global resolvers grouped by region. Returns per-resolver answers, status and response times.
A)
curl -H "X-API-Key: dnd_your_key" \ "https://www.dnix.in/api/v1/propagation?d=example.com&type=A"
Full email deliverability audit — SPF, DMARC, DKIM, MTA-STS, BIMI, PTR record, blacklist status and overall scoring.
s1,s2,custom). Each selector must be 1–100 chars, alphanumeric plus . _ -. When supplied the result is not served from cache.
curl -H "X-API-Key: dnd_your_key" \ "https://www.dnix.in/api/v1/email?d=example.com&selectors=s1,marketing"
Aggregated DNS health score from 0–100 with a per-check breakdown. Useful for dashboards and monitoring integrations.
curl -H "X-API-Key: dnd_your_key" \ "https://www.dnix.in/api/v1/health-score?d=example.com"
Public endpoint — no authentication required. Returns API version and current server time. Use this for uptime monitoring.
curl "https://www.dnix.in/api/v1/health"
List, create or revoke API keys for your account. The key limit is determined by your plan.
{"name":"My Key"}, form field, or query param
# List keys
curl -H "X-API-Key: dnd_your_key" "https://www.dnix.in/api/v1/keys"
# Create a key
curl -X POST \
-H "X-API-Key: dnd_your_key" \
-H "Content-Type: application/json" \
-d '{"name":"Production Key"}' \
"https://www.dnix.in/api/v1/keys"
# Revoke key id 42
curl -X DELETE \
-H "X-API-Key: dnd_your_key" \
"https://www.dnix.in/api/v1/keys/42"
Returns your plan name, hourly rate limit, current usage, key count and total lookup statistics.
curl -H "X-API-Key: dnd_your_key" \ "https://www.dnix.in/api/v1/account/usage"
Error Codes
All errors use the standard envelope with status: "error" and a message in errors[].