Domain and DNS
DNS records, domain registration data over RDAP, TLS certificate details and mail security checks.
base https://domain-and-dns.p.rapidapi.com/domain/v1- endpoints
- 4
- free plan, paid from
- $9/mo
- data
- Live source
Inspect a domain: live DNS records, registration and expiry dates over RDAP, the TLS certificate a host presents, and its mail setup (MX, SPF, DMARC).
// When does example.com's certificate expire?
curl "https://domain-and-dns.p.rapidapi.com/domain/v1/example.com/tls" \
-H "X-RapidAPI-Key: $RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: domain-and-dns.p.rapidapi.com"{
"domain": "example.com",
"valid": true,
"subject": "example.com",
"issuer": "SSL Corporation",
"issuer_common_name": "Cloudflare TLS Issuing ECC CA 3",
"valid_from": "2026-09-26T22:49:11+00:00",
"valid_until": "2026-12-25T22:56:35+00:00",
"days_until_expiry": 39,
"names": ["example.com", "*.example.com"],
"tls_version": "TLSv1.3",
"cipher": "TLS_AES_256_GCM_SHA384"
}Endpoints
Look up DNS records
domainpathrequiredtypesqueryComma-separated record types from: A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV.
Check SPF, DMARC and mail setup
Reports the mail provider, SPF and DMARC records and a plain verdict on spoofing protection.
domainpathrequired
Registration details (RDAP, the successor to WHOIS)
Returns registrar, registration and expiry dates, status and name servers from the registry's RDAP service. Personal contact details are not returned.
domainpathrequired
Inspect a site's TLS certificate
Connects to port 443 and reports the certificate's issuer, validity dates, days until expiry and covered names.
domainpathrequired
Data and limits
source
Live DNS lookups, registry RDAP services and a direct TLS connection to the host.
Queries the upstream source on each request.
limits
- Registration data depends on the registry offering RDAP (some country-code domains do not) and never includes personal contacts.
- The TLS check refuses hosts that resolve to private addresses.
Plans
Monthly, in US dollars. Each plan stops at its quota, with no overage charges. Subscribe and pay on RapidAPI.
| plan | price | calls / month | per 1k calls | |
|---|---|---|---|---|
| Basic | Free | 100 | — | start free on RapidAPI ↗ |
| Pro | $9 | 5,000 | $1.80 | subscribe on RapidAPI ↗ |
| Ultra | $27 | 25,000 | $1.08 | subscribe on RapidAPI ↗ |
| Mega | $45 | 100,000 | $0.45 | subscribe on RapidAPI ↗ |