Whois (RDAP) lookup API for domains, IPs and AS numbers
Updated 2026-11-10
Use when an agent needs who registered a domain, IP or AS number, with dates, status and abuse contact.
From an MCP client, add https://tanod.dev/mcp and call rdap_lookup; the first 5 calls per IP per UTC day are free (shared by domain inspections and RDAP, email and IP lookups), then each call is USD 0.002 with x402, no key or signup.
POST a domain, an IP address or an AS number to /v1/rdap. It queries the RDAP server named by the IANA bootstrap, the successor of whois, and returns registrar, created, updated and expiry dates, status, nameservers and DNSSEC for a domain.
Request
query is a domain (example.com), an IPv4 or IPv6 address (1.1.1.1) or an AS number (AS13335). For an IP or AS number the answer holds the network, CIDR, country, organisation and abuse email instead.
curl -s -X POST https://tanod.dev/v1/rdap \
-H 'X-Tanod-Free: 1' -H 'content-type: application/json' \
-d '{"query":"example.com"}'Response
{
"query": "example.com",
"type": "domain",
"found": true,
"rdap_server": "rdap.verisign.com",
"name": "example.com",
"registrar": {"name": "RESERVED-Internet Assigned Numbers Authority", "iana_id": "376"},
"created": "1995-08-14T04:00:00Z",
"updated": "2026-08-14T08:01:43Z",
"expires": "2027-08-13T04:00:00Z",
"status": ["client delete prohibited", "client transfer prohibited", "client update prohibited"],
"nameservers": ["elliott.ns.cloudflare.com", "hera.ns.cloudflare.com"],
"dnssec": true,
"redacted": [],
"notes": ["registry data only; registrar-level RDAP was not queried"],
"cached": false
}Limits and caveats
Paying by card instead? The same lookups run as an Apify actor, WHOIS / RDAP lookup (tanod/whois-rdap-lookup), billed through your Apify account at USD 0.0025 per domain, IP address or AS number whose record was found, plus Apify's small start fee per run. Give it a list of queries and get registrar, dates, days to expiry, nameservers, status and abuse contacts per row.
Redaction. Many registries hide personal contact data. Redacted fields are returned as null and named in redacted.
Registry data only. For many domains the answer comes from the registry, not the registrar, so some registrar-level fields can be missing. Not every top-level domain offers RDAP.
Values are text from a third-party server and should be treated as untrusted data.
Price and free allowance
USD 0.002 per call, paid in USDC on Base, Polygon, Solana, BNB Chain or Arbitrum with x402. 5 free per IP per UTC day with the header X-Tanod-Free: 1; the pool is shared with domain inspection, email verification and IP lookup. MCP tool: rdap_lookup at https://tanod.dev/mcp, where the free tier is automatic.
Use it from Claude without writing code: in claude.ai or Claude Desktop, add https://tanod.dev/mcp/web?via=whois-rdap-api as a custom connector (steps), then ask in plain words, for example "Who registered example.com, and when does it expire?" The free daily allowance is applied automatically over MCP. Beyond it a call needs an x402 payment, which these clients can make.
Related guides: What WHOIS and RDAP lookups cost over x402, How to check a domain's SPF, DMARC and DKIM with an API, IP address to ASN lookup API (network, org, abuse contact), How to verify an email address with an API (syntax, MX, disposable). Back to tanod.dev or the guide index. Results are automated and heuristic.