New The MCP server is live: all 45 APIs in Claude, Cursor or any MCP client. Connect your agent

Modern WHOIS for domains and IPs, in clean JSON

RDAP API

The RDAP API gives you authoritative domain and IP registration data through RDAP (Registration Data Access Protocol), the IETF standard that replaces the old, unstructured, rate-limited WHOIS protocol. Every request is routed through the IANA bootstrap registry to the authoritative registry or Regional Internet Registry, so you always get data straight from the source.

RDAP responses are deeply nested, jCard/vCard-encoded, and inconsistent across registries. This API does that work for you, flattening everything into a clean, stable JSON object with domain status flags, nameservers, registrar, registration dates, DNSSEC details, and full IP network records — no scraping, no flaky port-43 WHOIS servers, no brittle text parsing.

Free tier included, no credit card required. One key works across every API.

At a glance

RDAP API

5 credits / call
Free calls / month
200
Endpoints
2
Response Time
<1s
Uptime SLA
99.9%
Get your free API key

200 free calls on the free plan

Key features

  • Domain lookups with status, nameservers, registrar, and dates
  • IPv4, IPv6, and CIDR network lookups with abuse contacts
  • Routed through the IANA RDAP bootstrap to authoritative registries
  • Flattened, stable JSON instead of nested jCard/vCard
  • Full DNSSEC details including DS records
  • Available-domain heuristic (a 200 with available:true when the registry has no record)
  • Graceful handling of upstream rate limits, timeouts, and TLDs without RDAP

Built for

  • Domain availability and registration checks
  • Brand and trademark monitoring
  • Fraud scoring and risk assessment
  • IP and ASN enrichment for security tooling
  • Abuse contact discovery for takedown workflows
  • Domain expiration and renewal monitoring
  • Threat intelligence and OSINT investigations
  • Compliance and registrar auditing

MCP · for your agent

Hand the RDAP API to your agent

Connect Claude, Cursor or any MCP client once, then ask in plain words. Your agent finds this API, reads its docs and makes the call: 5 credits per call, the same as REST, from your team's balance.

Check if a domain is taken

“Is northwind-analytics.com available? If not, who's the registrar and when does it expire?”

list_apis · get_api_docsfree

api_request GET /rdap/v1/domain?domain=northwind-analytics.com 5 cr

Available, or the registrar, status and creation and expiry dates if it's registered.

Watch domain renewals

“List expiry dates for our 6 domains, including the .io and .co.uk ones, and warn me about any expiring within 90 days.”

list_apis · get_api_docsfree

api_request GET /rdap/v1/domain?domain=example.net 5 cr

+ Whois Lookup API5 cr

Registrar and expiry per domain, soonest first, with WHOIS filling gaps where RDAP has none.

Report abuse from an IP

“A single IP, 198.51.100.23, is hammering our login page. Who owns that network and where do I send an abuse report?”

list_apis · get_api_docsfree

api_request GET /rdap/v1/ip?ip=198.51.100.23 5 cr

+ IP Intelligence API5 cr

Network name, range, country and abuse contact, plus the ASN, ready for the report.

$ claude mcp add --transport http apicodex https://mcp.apicodex.io

Illustrative asks; the calls and prices are real. Claude, Cursor, VS Code and Windsurf setup: mcp.apicodex.io

Try it

Build the request for your data

Edit the parameters below and see the exact request and curl command you'd send. No key required to preview.

GET /rdap/v1/domain
Open in Playground

Parameters

Request · HTTP
GET /rdap/v1/domain?domain=example.com&apikey=YOUR_API_KEY HTTP/1.1
Host: api.apicodex.io
Response · JSON 200 OK
{
"domain": "example.com",
"handle": "2336799_DOMAIN_COM-VRSN",
"status": [
  "client delete prohibited",
  "client transfer prohibited",
  "client update prohibited"
],
"nameservers": [
  { "name": "a.iana-servers.net" },
  { "name": "b.iana-servers.net" }
],
"registrar": {
  "name": "RESERVED-Internet Assigned Numbers Authority",
  "iana_id": "376",
  "url": "http://res-dom.iana.org"
},
"registration_date": "1995-08-14T04:00:00Z",
"expiration_date": "2025-08-13T04:00:00Z",
"dnssec": true,
"source": "rdap.org"
}

Documentation

RDAP API Documentation

The RDAP API exposes two simple GET endpoints — one for domains and one for IPs/CIDR blocks. Queries are routed through rdap.org (the IANA bootstrap redirector) to the authoritative registry or RIR, then flattened into clean, stable JSON. Note that, due to GDPR, most gTLD registrant contact details are redacted at the source; status, nameservers, registrar, and dates remain reliable.

Base URL

url
https://api.apicodex.io/rdap

Authentication

Authenticate by passing your API key as a query parameter, or by sending it in an X-Api-Key header:

headers
GET /rdap/v1/domain?domain=example.com&apikey=YOUR_API_KEY

Request and response

Illustrative values. Confirm current endpoint behavior, quotas, and data freshness in the API documentation before production use.

request · http
GET /rdap/v1/domain?domain=example.com&apikey=YOUR_API_KEY HTTP/1.1
Host: api.apicodex.io
response · json
{
"domain": "example.com",
"handle": "2336799_DOMAIN_COM-VRSN",
"status": [
  "client delete prohibited",
  "client transfer prohibited",
  "client update prohibited"
],
"nameservers": [
  { "name": "a.iana-servers.net" },
  { "name": "b.iana-servers.net" }
],
"registrar": {
  "name": "RESERVED-Internet Assigned Numbers Authority",
  "iana_id": "376",
  "url": "http://res-dom.iana.org"
},
"registration_date": "1995-08-14T04:00:00Z",
"expiration_date": "2025-08-13T04:00:00Z",
"dnssec": true,
"source": "rdap.org"
}

Code examples

cURL
curl --request GET \
  --url 'https://api.apicodex.io/rdap/v1/domain?domain=example.com' \
  --header 'X-Api-Key: YOUR_API_KEY'

Endpoints

GET /v1/domain

RDAP/WHOIS lookup for a domain. Returns a flattened domain record with status, nameservers, registrar, dates, and DNSSEC. When the registry reports the domain as not found, it still returns a 200: the same record shape with available:true and empty fields. Subdomains are reduced to the registrable domain.

/v1/domain?domain=example.com&apikey=YOUR_API_KEY

GET /v1/ip

RDAP lookup for an IPv4/IPv6 address or CIDR block. Returns a flattened network record with handle, name, type, country, CIDR, address range, and abuse contact.

/v1/ip?ip=8.8.8.8&apikey=YOUR_API_KEY

Domain Endpoint Parameters

Required parameters

  • domain Domain name to query. Accepts a bare domain, an FQDN with trailing dot, a Unicode (IDN) name (converted to punycode), punycode (xn--) labels and TLDs, or a pasted URL (the hostname is extracted). Normalized to lowercase and reduced to the registrable domain (www.bbc.co.uk is looked up as bbc.co.uk); a bare public suffix such as co.uk is a 400.
  • apikey Your API key. Pass it as a query parameter, or send it in an X-Api-Key header instead.

IP Endpoint Parameters

Required parameters

  • ip An IPv4 address, IPv6 address, or CIDR block to look up, e.g. 8.8.8.8 or 8.8.8.0/24.
  • apikey Your API key. Pass it as a query parameter, or send it in an X-Api-Key header instead.

Pricing

RDAP API Pricing

This API costs 5 credits per request. Credits are shared across every API on your plan.

Cost estimator

requests per month → cheapest plan that covers it

Estimate your monthly cost

Drag the slider to match your expected request volume. We'll recommend the cheapest plan that covers it.

10,000

Recommended plan

Starter

$29.99 /month

Credits used
Credits included
Cost per 1K requests
Choose Starter

Free

Free
1,000 credits · ~200 requests/mo · 2 rps
  • All APIs included
  • No credit card required
  • Full documentation and examples
  • MCP server for your AI agents
  • Up to 5 active API keys
Start for free

Starter

Popular
$29.99 /month
50,000 credits · ~10,000 requests/mo · 10 rps
  • All APIs included
  • Email support
  • Usage dashboard and analytics
  • MCP server for your AI agents
  • Up to 5 active API keys
Start with Starter

Pro

$99.99 /month
250,000 credits · ~50,000 requests/mo · 25 rps
  • All APIs included
  • Priority support
  • MCP server for your AI agents
  • Up to 5 active API keys
Start with Pro

Need a different plan?

Tell us about your API, volume, or support requirements.

Contact us

FAQ

Frequently asked questions

Ready to integrate RDAP?