Skip to main content

IP WHOIS

developer
GET/v1/ip/whois

Returns comprehensive WHOIS/RDAP registration data for an IP address. Includes the owning organization, allocated IP range (start, end, CIDR), network name and handle, registration and last-changed dates, Regional Internet Registry (ARIN, RIPE, APNIC, LACNIC, AFRINIC), RDAP status codes, and all contacts — including abuse, administrative, registrant, and technical roles — each with name, email, phone, and organization. Also detects bogon (reserved/private) addresses. Results are cached for 1 hour.

What It Does

Queries the appropriate Regional Internet Registry (RIR) RDAP endpoint to retrieve IP allocation data. Uses the IANA RDAP bootstrap (RFC 9224) to automatically route queries to the correct RIR. Parses the full RDAP entity tree to extract all contacts by role (abuse, administrative, registrant, technical) with details from jCard/vCard data (name, email, phone, organization). Returns the allocated IP range in CIDR notation, network name, RDAP handle, registration and update dates, RIR source, and RDAP status codes. Short-circuits for bogon/reserved IPs without external API calls.

Why It's Useful

IP WHOIS data is critical for incident response, threat attribution, abuse reporting, and due diligence. During security incidents, responders need to quickly identify who operates an attacking IP and find the abuse contact to report malicious activity. This endpoint is the single source for IP registration data and abuse contact information, replacing the need for separate lookups. For compliance, verifying IP ownership confirms vendor and partner infrastructure claims.

Use Cases

Incident Responder

Incident Response & Attribution

During an active security incident, quickly identify the organization, ISP, or cloud provider operating the attacking IPs to coordinate takedown and notify the responsible party.

Immediate attribution and contact information for rapid incident containment and coordinated response.

Security Operations

Abuse Report Filing

Identify the registered organization and correct RIR for malicious IP traffic to file properly formatted abuse reports with the responsible network operator.

Route abuse reports to the correct organization with proper registry reference for faster resolution.

Compliance Officer

Vendor & Infrastructure Verification

Verify that IP addresses used by vendors, partners, or third-party services are actually registered to the claimed organizations as part of vendor due diligence.

Confirm infrastructure ownership claims and detect potential supply chain risks through IP registration verification.

Parameters

NameTypeRequiredDescription
ipstringRequiredThe IPv4 or IPv6 address to query WHOIS data forExample: 8.8.8.8

Response Fields

FieldTypeDescription
ipstringThe queried IP address
range.start_addressstringStart of allocated IP range
range.end_addressstringEnd of allocated IP range
range.cidrstringCIDR notation of the allocation
namestringNetwork name from RDAP
handlestringRDAP registration handle
organizationstringRegistered organization name
registration_datestringWhen the range was allocated
last_changedstringLast update date of the registration
rirstringRegional Internet Registry: ARIN, RIPE, APNIC, LACNIC, or AFRINIC
statusarrayRDAP status codes (e.g., active, reserved)
contactsarrayAll contacts (abuse, administrative, registrant, technical) — each with role, name, email, phone, and organization
contacts_truncatedbooleanWhether the contacts list was truncated (max 50 contacts)
is_bogonbooleanWhether the IP is a bogon (reserved/private) address
bogon_typestringBogon classification (e.g., rfc1918_private, rfc5737_documentation)

Code Examples

cURL
curl "https://api.edgedns.dev/v1/ip/whois" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d "ip=8.8.8.8"
JavaScript
const response = await fetch(
  'https://api.edgedns.dev/v1/ip/whois?ip=8.8.8.8',
  {
    headers: {
      'Authorization': 'Bearer YOUR_API_KEY'
    }
  }
);

const data = await response.json();
console.log(data);
Python
import requests

response = requests.get(
    'https://api.edgedns.dev/v1/ip/whois',
    headers={'Authorization': 'Bearer YOUR_API_KEY'},
    params={
    'ip': '8.8.8.8'
    }
)

data = response.json()
print(data)

Read the full IP WHOIS guide

Why it matters, real-world use cases, parameters, response fields, and how to call it from Claude, ChatGPT, or Gemini via MCP.

Read the guide →

Related Endpoints

External References

Learn more about the standards and protocols behind this endpoint.

Try This Endpoint

Test the IP WHOIS endpoint live in the playground.