API CodexAPI Codex
WebsiteDashboardGet API Key
  • Documentation
  • All APIs
  • Changelog
Resources
  • Docs Home
  • API Catalog
  • API Codex Website
Platform
  • Get a free API key
  • Dashboard
  • APIs & Pricing

© 2026 API Codex. All rights reserved.

Information
Other endpoints
    RDAP/WHOIS lookup for a domaingetRDAP lookup for an IP address or CIDRget
Schemas
powered by Zudoku
RDAP / Modern WHOIS API
RDAP / Modern WHOIS API

Other endpoints


RDAP/WHOIS lookup for a domain

GET
https://api.apicodex.io/rdap
/v1/domain

Looks up RDAP data for a domain via rdap.org (follows the redirect to the authoritative registry RDAP server) and returns a flattened domain object.

Returns 404 with available: true when the registry reports the domain as not found (a heuristic indicating the name is likely unregistered).

RDAP/WHOIS lookup for a domain › query Parameters

domain
​string · required

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.

Example: example.com

RDAP/WHOIS lookup for a domain › Responses

Flattened RDAP domain record.

DomainResponse
source
​string · required
domain
​string | null
handle
​string | null
status
​string[]

EPP status codes for the domain.

Example: ["client delete prohibited","client transfer prohibited","client update prohibited"]
​Nameserver[]
registrar
​Registrar
registration_date
​string | null
expiration_date
​string | null
last_changed_date
​string | null
last_database_update
​string | null
dnssec
​boolean

Whether the domain is DNSSEC-signed.

Example: true
raw_secure_dns
​object | null

Raw secure DNS delegation data, including DS records.

​Event[]
rdap_server
​string | null

The authoritative RDAP server the record was fetched from.

Example: https://rdap.verisign.com/com/v1/domain/EXAMPLE.COM
GET/v1/domain
curl 'https://api.apicodex.io/rdap/v1/domain?domain=<string>&apikey=<api-key>'
Example Responses
{ "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", "org": null, "email": null, "tel": null, "url": "http://res-dom.iana.org", "handle": "376", "iana_id": "376" }, "registration_date": "1995-08-14T04:00:00Z", "expiration_date": "2025-08-13T04:00:00Z", "last_changed_date": "2024-08-14T07:01:34Z", "last_database_update": "2026-05-29T12:00:00Z", "dnssec": true, "raw_secure_dns": { "delegationSigned": true, "dsData": [ { "keyTag": 370, "algorithm": 13, "digestType": 2, "digest": "BE74359954660069D5C63D200C39F5603827D7DD02B56F120EE9F3A86764247C" } ] }, "events": [ { "eventAction": "registration", "eventDate": "1995-08-14T04:00:00Z" }, { "eventAction": "expiration", "eventDate": "2025-08-13T04:00:00Z" }, { "eventAction": "last changed", "eventDate": "2024-08-14T07:01:34Z" } ], "source": "rdap.org", "rdap_server": "https://rdap.verisign.com/com/v1/domain/EXAMPLE.COM" }
json
application/json

RDAP lookup for an IP address or CIDR

GET
https://api.apicodex.io/rdap
/v1/ip

Looks up RDAP data for an IPv4/IPv6 address or CIDR via rdap.org (follows the redirect to the authoritative RIR RDAP server) and returns a flattened network object.

RDAP lookup for an IP address or CIDR › query Parameters

ip
​string · required

An IPv4 address, IPv6 address, or CIDR block.

Example: 8.8.8.8

RDAP lookup for an IP address or CIDR › Responses

Flattened RDAP IP/network record.

IpResponse
ip
​string · required
source
​string · required
handle
​string | null
name
​string | null
type
​string | null
country
​string | null
cidr
​string | null
start_address
​string | null
end_address
​string | null
ip_version
​string | null
parent_handle
​string | null
registrant
​Contact

A contact entity. Personal fields are often redacted at the source under GDPR.

abuse_contact
​Contact

A contact entity. Personal fields are often redacted at the source under GDPR.

​Event[]
rdap_server
​string | null
GET/v1/ip
curl 'https://api.apicodex.io/rdap/v1/ip?ip=<string>&apikey=<api-key>'
Example Responses
{ "ip": "8.8.8.8", "handle": "NET-8-8-8-0-2", "name": "GOGL", "type": "DIRECT ALLOCATION", "country": "US", "cidr": "8.8.8.0/24", "start_address": "8.8.8.0", "end_address": "8.8.8.255", "ip_version": "v4", "parent_handle": "NET-8-0-0-0-1", "registrant": { "name": "Google LLC", "org": "Google LLC", "email": null, "tel": null, "url": null }, "abuse_contact": { "name": "Abuse", "org": null, "email": "network-abuse@google.com", "tel": "+1-650-253-0000", "url": null }, "events": [ { "eventAction": "registration", "eventDate": "2014-03-14T00:00:00Z" }, { "eventAction": "last changed", "eventDate": "2014-03-14T00:00:00Z" } ], "source": "rdap.org", "rdap_server": "https://rdap.arin.net/registry/ip/8.8.8.8" }
json
application/json