# RDAP on Onekey > 3 endpoints for RDAP (3 stable, 0 beta), 1 credit each. Category: Web tools. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Page: https://onekey.dev/platforms/rdap Reference (Markdown): https://onekey.dev/docs/api/rdap.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 3 mapped RDAP endpoints return each: - `entity.createdAt` (ISO 8601 date): 3 - `entity.name` (string): 3 - `entity.status` (string): 3 - `entity.updatedAt` (ISO 8601 date): 3 - `listing.company` (string): 3 - `entity.country` (string): 2 - plus 14 platform-specific fields under `ext.` ## Endpoints ### rdap.asn RDAP record for an Autonomous System Number: name, range, country, organization. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/rdap/asn?asn=15169` with header `x-api-key: YOUR_API_KEY` - Parameters: - `asn` (string, required): AS number, digits only (e.g. 15169) - Fields returned: `entity.name`, `entity.country`, `entity.status`, `entity.createdAt`, `entity.updatedAt`, `listing.company`, `ext.startAutnum`, `ext.endAutnum`, `ext.networkType`, `ext.handle` - Reference: https://onekey.dev/docs/api/rdap/asn.md ### rdap.domain RDAP registration data for a domain: registrar, dates, name servers, DNSSEC (via the rdap.org bootstrap). - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/rdap/domain?domain=example.com` with header `x-api-key: YOUR_API_KEY` - Parameters: - `domain` (string, required): Domain name - Fields returned: `entity.name`, `entity.status`, `entity.createdAt`, `entity.updatedAt`, `listing.company`, `ext.registrar`, `ext.registrarIanaId`, `ext.expiresAt`, `ext.nameservers`, `ext.dnssecSigned`, `ext.handle` - Reference: https://onekey.dev/docs/api/rdap/domain.md ### rdap.ip RDAP network record for an IP address: network name, range, CIDRs, country, organization. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/rdap/ip?ip=8.8.8.8` with header `x-api-key: YOUR_API_KEY` - Parameters: - `ip` (string, required): IPv4 or IPv6 address - Fields returned: `entity.name`, `entity.country`, `entity.status`, `entity.createdAt`, `entity.updatedAt`, `listing.company`, `ext.startAddress`, `ext.endAddress`, `ext.ipVersion`, `ext.cidrs`, `ext.networkType`, `ext.parentHandle`, `ext.handle` - Reference: https://onekey.dev/docs/api/rdap/ip.md ## Sample request ```bash curl "https://api.onekey.dev/v1/rdap/asn?asn=15169" \ -H "x-api-key: YOUR_API_KEY" ```