IP WHOIS API - RDAP Ownership and Network Lookup
Queries rdap.org for the allocation record of an IP address. Returns the network name, handle, start/end addresses, CIDR, owning organization (from the registrant or abuse entity), and ISO country code. Works for both IPv4 and IPv6.
Code examples
curl -X POST https://api.botoi.com/v1/ip-whois/lookup \
-H "Content-Type: application/json" \
-d '{"ip":"8.8.8.8"}'When to use this API
Build a self-hosted WHOIS lookup tool
Replace legacy whois command-line tooling with a structured JSON API. Network engineers get the allocation data they need without installing Debian whois packages or parsing free-form text output.
Attribute abuse traffic to the owning network
When abuse reports come in referencing a specific IP, pull the organization name and CIDR. Gives your abuse team the contact entity and the full block to pattern-match against other incidents.
Enrich cloud-provider detection
Combine with /v1/vpn-detect/check. IP WHOIS gives you the registered owner (Amazon Technologies, Google LLC, OVH SAS) which is often more accurate than hardcoded datacenter CIDR tables.
Frequently asked questions
Where does the RDAP data come from?
Why is the organization field sometimes empty?
Does this work for IPv6 addresses?
What happens when RDAP is rate-limited?
How is this different from /v1/whois?
Get your API key
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.