IP WHOIS & RIR RDAP Lookup
Query live RIR registration records (ARIN, RIPE, APNIC, LACNIC, AFRINIC) alongside calibrated city geolocation, ASN, and 12 security flags.
RIR Netblock & Allocation
IPDatum Edge Intelligence
Registrant & Abuse Contacts
| Handle | Organization / Name | Roles |
|---|
Registry Remarks & Geofeed / Notices
—
GET /v1/whois/{ip_or_asn}
Understanding RIR Registries, RDAP Fields & IP Ownership
RDAP (RFC 7480–7484) vs. Legacy Port-43 WHOIS
Traditional TCP port-43 WHOIS returns free-form plain text whose field names differ across every registry, breaking brittle regex parsers. RDAP (Registration Data Access Protocol) serves structured HTTPS JSON over standardized schemas:
- Structured Entities & jCard: machine-readable registrant, technical, administrative, and mandatory
abuseroles with verified email contacts. - Allocation Boundaries: exact
startAddress,endAddress, andcidr0_cidrsnetblocks showing parent block vs. customer sub-assignment. - Lifecycle Timestamps: exact registration and
last changedevents plus IANA-bootstrapped HTTP redirects between registries.
HQ Address vs. Physical Deployment City
A common pitfall when geolocating IPs purely from WHOIS records is headquarters leakage. When a multinational telecom or cloud provider registers a /16 block under its Delaware, Amsterdam, or Tokyo corporate entity, sub-prefixes inside that block may serve subscribers in dozens of other cities or countries:
- Always cross-check RIR org country against ASN routing ownership and active geofeed remarks.
- On sub-allocated blocks, inspect child
inetnum/ SWIP records rather than parent LIR headquarters addresses. - Publish an RFC 8805 geofeed if your organization moves prefixes between regional POPs.
The 5 Regional Internet Registries (RIRs) Reference
| Registry | Primary Service Region | Canonical RDAP Bootstrap | Key Policy & WHOIS Notes |
|---|---|---|---|
| ARIN | United States, Canada, Caribbean & North Atlantic | https://rdap.arin.net/registry/ |
Uses NetHandles (NET-...) & customer SWIP reassignments for >= /29 static blocks |
| RIPE NCC | Europe, Middle East & Central Asia | https://rdap.db.ripe.net/ |
Supports explicit geoloc:, country:, Geofeed: & structured LIR/end-user inetnum |
| APNIC | Asia-Pacific (including NIRs: JPNIC, KRNIC, TWNIC, CNNIC, IDNIC, VNNIC, IRINN) | https://rdap.apnic.net/ |
Pairs inetnum allocations with dedicated irt incident response teams |
| LACNIC | Latin America & Caribbean (plus NIC.br / Mexico NIRs) | https://rdap.lacnic.net/rdap/ |
Sub-delegates /br via rdap.registro.br with strict aut-num tracking |
| AFRINIC | Africa | https://rdap.afrinic.net/rdap/ |
Manages continental IPv4/IPv6 & ASN pools with RPSL remarks: & mntner contacts |
RDAP Automation & Abuse-Contact Lookup Examples
REST API & cURL
# Fetch RDAP ownership, abuse contact & IPDatum security flags curl -s "https://api.ipdatum.com/v1/whois/8.8.8.8" | jq . # Query any ASN directly curl -s "https://api.ipdatum.com/v1/whois/AS15169"
Python Abuse Contact Extractor
import urllib.request, json
doc = json.load(urllib.request.urlopen(
"https://api.ipdatum.com/v1/whois/1.1.1.1"))
for ent in doc.get("entities", []):
if "abuse" in (ent.get("roles") or []):
print(ent.get("handle"), ent.get("email"))
Regional Internet Registry (RIR) Allocation Footprint (86,901 Active ASNs · 237 Countries)
Global delegation scale across the five Regional Internet Registries measured from live BGP routing tables and public RDAP registrations:
| Registry | Macro Region | Countries / Economies | Active ASNs | Routed /24 Blocks (IPv4) |
|---|---|---|---|---|
| ARIN | NA | 2 | 23,169 | 6,174,583 |
| RIPE NCC | EU | 52 | 25,038 | 2,975,172 |
| APNIC | APAC | 59 | 27,989 | 3,861,646 |
| LACNIC | LATAM | 52 | 13,479 | 758,102 |
| AFRINIC | AFRICA | 58 | 2,807 | 451,991 |
| RIPE NCC (Middle East) | ME | 14 | 2,176 | 192,234 |
Top 15 Countries by Registered Autonomous Systems
| Country | Registered ASNs | Global Share |
|---|---|---|
US · United States | 18,679 | 21.5% |
BR · Brazil | 8,771 | 10.1% |
CN · China | 5,117 | 5.9% |
RU · Russia | 4,993 | 5.7% |
IN · India | 2,940 | 3.4% |
ID · Indonesia | 2,938 | 3.4% |
DE · Germany | 2,599 | 3.0% |
GB · United Kingdom | 2,261 | 2.6% |
PL · Poland | 2,145 | 2.5% |
AU · Australia | 1,688 | 1.9% |
CA · Canada | 1,622 | 1.9% |
UA · Ukraine | 1,564 | 1.8% |
BD · Bangladesh | 1,552 | 1.8% |
FR · France | 1,474 | 1.7% |
IT · Italy | 1,121 | 1.3% |
Frequently Asked Questions
Why use RDAP instead of legacy port-43 WHOIS?
RDAP is the IETF-standardized HTTPS JSON successor to port-43 text WHOIS used across all five Regional Internet Registries (ARIN, RIPE NCC, APNIC, LACNIC, and AFRINIC). It delivers predictable field names, explicit CIDR ranges, and structured jCard abuse contacts.
Why does an IP WHOIS address sometimes differ from actual IP geolocation?
RIR registration objects frequently list a telecom or hosting operator's corporate legal headquarters instead of the physical city where a subnet is routed. Dedicated IP geolocation combines routing boundaries, PTR hostnames, and operator geofeeds to avoid HQ bias.
What is the difference between a parent allocation and a SWIP or customer assignment?
Parent blocks represent large ranges assigned to an LIR or ISP (such as a /14 or /16). Customer assignments (ARIN SWIP, RIPE/APNIC child inetnum) delegate smaller sub-ranges directly to enterprise offices, hosting racks, or downstream networks.
How do I extract the right abuse contact email for an offending IP?
Always prefer the most specific child assignment whose entity carries the abuse role. If none is listed at the subnet level, escalate to the parent block's mandatory abuse handle shown in the Registrant & Abuse Contacts table.
How can network operators register an RFC 8805 geofeed in WHOIS?
Host a UTF-8 CSV mapping your CIDRs to ISO-3166 country/region codes and city names, add Geofeed: https://example.com/geofeed.csv to your RPSL inetnum remarks or RDAP notice, and submit the URL on /submit for verification.