IPASK
Articles · technical

RDAP in practice: querying prefix registration without a WHOIS client

RDAP is the structured replacement for WHOIS. Here is how to query prefix ownership and which fields actually help an IP check.

2026-10-28 technical #rdap#whois#registration
RDAP in practice: querying prefix registration without a WHOIS client

Why RDAP instead of WHOIS

WHOIS output is free-form text, rate-limited per registrar and hard to parse. RDAP (Registration Data Access Protocol, RFC 7480–7484) returns JSON over HTTPS with a documented schema.

curl -s https://rdap.arin.net/registry/ip/45.32.11.8 | jq '{handle, name, startAddress, endAddress, country}'

For RIPE, APNIC and LACNIC regions the base URL differs, but the JSON shape is the same.

Fields worth reading

| Field | Why it matters |

|---|---|

| handle / name | network name, often the operator's short code |

| startAddress–endAddress | the exact prefix, not the /24 guess |

| country | registered country — compare with the account country |

| events | registration and last-changed dates |

| entities | abuse contact; useful when you need to report a scanner |

A prefix registered to a hosting provider is a strong signal even before you run any heuristic. A prefix registered to a consumer ISP is not a guarantee — resold space exists.

Practical tips

Check a batch before you buy? Check a batch →