API Documentation

The DomainInventory API gives you programmatic access to 20 domain-data endpoints — DNS, WHOIS, SSL, hosting, availability, pricing and more — so you can display our data on your own site or in your apps.

Getting started

Create an API key in your workspace under Settings → API, then send it as a Bearer token on every request. Keys look like di_live_….

curl "https://domaininventory.com/api/v1/dns?domain=example.com" \
  -H "Authorization: Bearer di_live_YOUR_KEY"

You can also pass the key as an X-API-Key header, or as an ?api_key= query parameter (handy for quick tests).

Responses

Every response is JSON with an ok boolean. On success the payload is under data; on failure there is an error string.

{
  "ok": true,
  "endpoint": "dns",
  "data": {
    "host": "example.com",
    "results": [
      { "type": "A", "records": [{ "ttl": 300, "data": "93.184.216.34" }] }
    ]
  }
}
{ "ok": false, "error": "Invalid or revoked API key." }

Authentication & rate limits

AuthAuthorization: Bearer di_live_… (or X-API-Key header, or ?api_key=)
Rate limit60 requests per minute per key
Limit headersX-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset
Over limitHTTP 429 with a retry hint
Bad / missing keyHTTP 401
CORSEnabled — you can call the API from browser JavaScript

Endpoints (20)

DNS & Email

GET/api/v1/dns

DNS Lookup

All DNS records (A, AAAA, MX, NS, TXT, CNAME, SOA, CAA) for a domain.

ParamReq?Description
domainrequiredDomain to look up.
curl "https://domaininventory.com/api/v1/dns?domain=example.com" \
  -H "Authorization: Bearer di_live_YOUR_KEY"
GET/api/v1/dns-propagation

DNS Propagation

A record checked across 8 global public resolvers.

ParamReq?Description
domainrequiredDomain to check.
typeoptionalRecord type (A, AAAA, CNAME, MX, NS, TXT). Default A.
curl "https://domaininventory.com/api/v1/dns-propagation?domain=example.com" \
  -H "Authorization: Bearer di_live_YOUR_KEY"
GET/api/v1/email-security

Email Security

MX, SPF, DMARC & DKIM audit with a deliverability grade.

ParamReq?Description
domainrequiredDomain to audit.
curl "https://domaininventory.com/api/v1/email-security?domain=example.com" \
  -H "Authorization: Bearer di_live_YOUR_KEY"
GET/api/v1/dnssec

DNSSEC

DNSSEC signing status (DS / DNSKEY).

ParamReq?Description
domainrequiredDomain to check.
curl "https://domaininventory.com/api/v1/dnssec?domain=cloudflare.com" \
  -H "Authorization: Bearer di_live_YOUR_KEY"
GET/api/v1/reverse-dns

Reverse DNS

PTR for an IP, or A/AAAA for a hostname.

ParamReq?Description
queryrequiredIP address or hostname.
curl "https://domaininventory.com/api/v1/reverse-dns?query=8.8.8.8" \
  -H "Authorization: Bearer di_live_YOUR_KEY"
GET/api/v1/reverse-ip

Reverse IP

Other domains hosted on the same IP.

ParamReq?Description
queryrequiredIP address or domain.
curl "https://domaininventory.com/api/v1/reverse-ip?query=github.com" \
  -H "Authorization: Bearer di_live_YOUR_KEY"
GET/api/v1/hosting

Hosting IP

Server IPs, hosting provider, location, reverse DNS and CDN.

ParamReq?Description
domainrequiredDomain to inspect.
curl "https://domaininventory.com/api/v1/hosting?domain=example.com" \
  -H "Authorization: Bearer di_live_YOUR_KEY"
GET/api/v1/ip-geo

IP Geolocation

Country, city, ISP and ASN for an IP or domain.

ParamReq?Description
queryrequiredIP address or domain.
curl "https://domaininventory.com/api/v1/ip-geo?query=1.1.1.1" \
  -H "Authorization: Bearer di_live_YOUR_KEY"

WHOIS & Ownership

GET/api/v1/whois

WHOIS Lookup

Registrar, dates, nameservers and status via RDAP/WHOIS.

ParamReq?Description
domainrequiredDomain to look up.
curl "https://domaininventory.com/api/v1/whois?domain=example.com" \
  -H "Authorization: Bearer di_live_YOUR_KEY"
GET/api/v1/whois-history

WHOIS History

Current record + certificate-based infrastructure timeline (full history needs a provider key).

ParamReq?Description
domainrequiredDomain to trace.
curl "https://domaininventory.com/api/v1/whois-history?domain=example.com" \
  -H "Authorization: Bearer di_live_YOUR_KEY"

Availability

POST/api/v1/availability

Availability (bulk)

Registered vs available for up to 100 domains.

ParamReq?Description
domainsrequiredJSON array of up to 100 domains.
curl -X POST "https://domaininventory.com/api/v1/availability" \
  -H "Authorization: Bearer di_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domains": ["example.com","free-xyz.dev"]}'
GET/api/v1/tld-availability

TLD Availability

A name checked across 50+ popular TLDs.

ParamReq?Description
namerequiredName (without extension).
curl "https://domaininventory.com/api/v1/tld-availability?name=yourbrand" \
  -H "Authorization: Bearer di_live_YOUR_KEY"

Security

GET/api/v1/ssl

SSL/TLS Check

Certificate issuer, validity, days remaining, SANs and TLS version.

ParamReq?Description
domainrequiredHost to inspect over 443.
curl "https://domaininventory.com/api/v1/ssl?domain=example.com" \
  -H "Authorization: Bearer di_live_YOUR_KEY"
GET/api/v1/ct-logs

Certificate Transparency

Certificates issued for a domain (mode=certs) or its subdomains (mode=subdomains).

ParamReq?Description
domainrequiredDomain to query.
modeoptional`certs` (default) or `subdomains`.
curl "https://domaininventory.com/api/v1/ct-logs?domain=example.com&mode=subdomains" \
  -H "Authorization: Bearer di_live_YOUR_KEY"
GET/api/v1/blacklist

DNSBL Blacklist

Blacklist status of an IP/domain across 8 DNSBLs.

ParamReq?Description
queryrequiredIP address or domain.
curl "https://domaininventory.com/api/v1/blacklist?query=8.8.8.8" \
  -H "Authorization: Bearer di_live_YOUR_KEY"

Website

GET/api/v1/wayback

Website History

First/last Wayback snapshot and per-year capture counts.

ParamReq?Description
domainrequiredDomain to check.
curl "https://domaininventory.com/api/v1/wayback?domain=example.com" \
  -H "Authorization: Bearer di_live_YOUR_KEY"
GET/api/v1/headers

HTTP Headers

Response headers, status and redirect chain for a URL.

ParamReq?Description
urlrequiredURL or domain.
curl "https://domaininventory.com/api/v1/headers?url=example.com" \
  -H "Authorization: Bearer di_live_YOUR_KEY"
GET/api/v1/page

Page Analysis

Title, meta, Open Graph, detected technologies and parked-domain signals.

ParamReq?Description
urlrequiredURL or domain.
curl "https://domaininventory.com/api/v1/page?url=example.com" \
  -H "Authorization: Bearer di_live_YOUR_KEY"

Pricing

GET/api/v1/tld-price

TLD Pricing

Live registration / renewal / transfer prices for every TLD.

No parameters.

curl "https://domaininventory.com/api/v1/tld-price" \
  -H "Authorization: Bearer di_live_YOUR_KEY"
POST/api/v1/domain-price

Domain Price (bulk)

Registration/renewal/transfer prices for up to 200 domains.

ParamReq?Description
domainsrequiredJSON array of up to 200 domains.
curl -X POST "https://domaininventory.com/api/v1/domain-price" \
  -H "Authorization: Bearer di_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domains": ["example.com","test.io"]}'

Ready to build? Create your API key and start making requests. Questions or need a higher rate limit? Get in touch and we’ll help.

API Documentation · DomainInventory