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 · no credit card · billed on RapidAPI
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 (available:true on registry 404)
- Graceful handling of upstream rate limits, timeouts, and TLDs without RDAP
Perfect 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
RDAP API Documentation
Everything you need to integrate — base URL, auth, and copy-paste examples.
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
https://edge-apis.e9736.workers.devAuthentication
Authenticate by passing your API key as a query parameter (or call via RapidAPI using header authentication):
GET /rdap/v1/domain?domain=example.com&apikey=YOUR_API_KEYRequest & response
GET /rdap/v1/domain?domain=example.com&apikey=YOUR_API_KEY HTTP/1.1{
"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 --request GET \
--url 'https://rdap-api.p.rapidapi.com/v1/domain?domain=example.com' \
--header 'X-RapidAPI-Key: YOUR_RAPIDAPI_KEY' \
--header 'X-RapidAPI-Host: rdap-api.p.rapidapi.com'Endpoints
GET /rdap/v1/domain
RDAP/WHOIS lookup for a domain. Returns a flattened domain record with status, nameservers, registrar, dates, and DNSSEC. Returns 404 with available:true when the registry reports the domain as not found.
/rdap/v1/domain?domain=example.com&apikey=YOUR_API_KEYGET /rdap/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.
/rdap/v1/ip?ip=8.8.8.8&apikey=YOUR_API_KEYDomain Endpoint Parameters
Required Parameters
domain- Domain name to query. Accepts a bare domain, an FQDN with trailing dot, an IDN/punycode (xn--) label, or a pasted URL (the hostname is extracted). Normalized to lowercase.apikey- Your API key. Pass as a query parameter, or use RapidAPI header authentication.
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 as a query parameter, or use RapidAPI header authentication.
RDAP API Pricing
Choose the right plan for your domain and IP lookup needs with flexible pricing options and no hidden fees
Basic
- Domain & IP lookups
- Full RDAP data flattened to JSON
- 5 requests / second
Pro
- Domain & IP lookups
- $0.50 / 1k overage
- 20 requests / second
Ultra
- Domain & IP lookups
- $0.30 / 1k overage
- 50 requests / second
Need higher volume or a custom SLA?
Talk to us about enterprise rates, dedicated support, and compliance docs.
Frequently asked questions
RDAP (Registration Data Access Protocol) is the IETF standard that replaces the legacy WHOIS protocol. Where WHOIS returns unstructured free text over the unencrypted port 43 — formatted differently by every registry — RDAP returns structured JSON over HTTPS, supports internationalized data, and is mandated by ICANN for gTLD registries and operated by all five Regional Internet Registries. This API queries RDAP for you and flattens the complex, nested response into clean, stable JSON.
There are two GET endpoints. /rdap/v1/domain takes a domain query parameter and returns a flattened domain registration record (status, nameservers, registrar, dates, DNSSEC). /rdap/v1/ip takes an ip parameter — an IPv4 address, IPv6 address, or CIDR block — and returns a flattened network record with handle, name, type, country, CIDR, address range, and abuse contact. There is also a health check endpoint.
Yes, as a heuristic. When the authoritative registry reports a domain as not found, the API returns a 404 with available:true, which indicates the name is likely unregistered. If the TLD has no RDAP service at all, available is null so you can tell 'likely free' apart from 'unknown'. This is a strong signal for availability tools, but it is not a guarantee of registrability — always verify with a registrar before purchase.
Due to GDPR and similar privacy regulations, most gTLD registries redact personal registrant contact details (name, email, phone) at the source. This is a property of RDAP itself, not the API. You can still rely on non-personal fields — domain status flags, nameservers, registrar and IANA ID, and registration/expiration/last-changed dates — which remain fully populated. For IP lookups, organization and abuse-contact data is typically available.
The API runs on a global edge network and typically responds in under a second. Each query is routed through rdap.org, the IANA bootstrap redirector, which points to the authoritative registry (for domains) or Regional Internet Registry (for IPs). We follow that redirect and fetch the record straight from the source, so the data is authoritative rather than scraped or reconstructed from legacy WHOIS text.
Upstream conditions are mapped to clear HTTP status codes. A 400 means the supplied domain or IP was invalid. A 404 means the record was not found (with available:true for likely-unregistered domains). A 429 means the upstream RDAP service rate-limited the request, a 502 means the upstream returned an invalid or failed response, and a 504 means the upstream request timed out. This lets your client implement precise retry and backoff logic.
Yes. The ip parameter accepts an IPv4 address (e.g. 8.8.8.8), an IPv6 address, or a CIDR block (e.g. 8.8.8.0/24). The response includes the ip_version field along with the network's CIDR, start and end addresses, parent handle, registrant, and abuse contact — ideal for ASN enrichment, fraud scoring, and security tooling.
Related APIs & tools
Other services that pair well — all on the same key.
Whois API
Retrieve detailed WHOIS information for a domain name, including registration, expiration, and status data.
Learn more→DNS Lookup API
Query DNS records with support for all record types and reverse DNS lookups in structured JSON.
Learn more→Email Deliverability API
Analyze SPF, DKIM, and DMARC records to optimize email domain configurations and improve deliverability.
Learn more→Every week you build in-house is a week you don't ship product
2,500+ teams already made the switch. Start with a free tier today, or talk to us about your enterprise needs.
For developers
Free tier, no credit card. Integrate your first API in under 30 minutes.
Get API keys freeRead the docsFor teams and enterprise
Custom volumes, SLA guarantees, dedicated support, and compliance documentation.
Talk to salesor email sales@apicodex.io