IP Intelligence
Updated May 18, 2026
IP WHOIS / RDAP API
Look up IP ownership, ASN, country, network type, confidence, and source metadata.
The IP WHOIS / RDAP API returns a compact ownership summary for a public IP address. Use it when you need attribution context without a full fraud assessment.
Authentication is required.
Endpoint
GET https://api.requestguard.com/v1/ip/{ip}/rdap
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
ip | string | Yes | The IPv4 or IPv6 address to query. URL-encode IPv6 addresses in the path. |
Example Request
curl "https://api.requestguard.com/v1/ip/8.8.8.8/rdap" \
-H "Authorization: Bearer rg_sk_live_..."
IPv6 Example
curl "https://api.requestguard.com/v1/ip/2001%3A4860%3A4860%3A%3A8888/rdap" \
-H "Authorization: Bearer rg_sk_live_..."
Example Response
{
"type": "ip",
"ip": "8.8.8.8",
"asn": 15169,
"organization": "Google LLC",
"country": "US",
"network_type": "hosting",
"confidence": 0.74,
"lookup": {
"method": "heuristic",
"fallback_used": false,
"confidence": 0.74
},
"sources": [
{
"name": "ASN registry lookup",
"type": "dataset",
"matched": true,
"category": "asn"
},
{
"name": "IP registration lookup",
"type": "rdap",
"matched": true,
"category": "ownership"
}
]
}
Response Fields
| Field | Meaning |
|---|---|
type | Always ip for this endpoint. |
ip | Queried IP address. |
asn | Autonomous System Number when known. |
organization | Network organization when known. |
country | ISO country code when known. |
network_type | Normalized network classification when available. |
confidence | Confidence attached to the ownership and location signals. |
lookup | Lookup method, fallback flag, and confidence metadata. |
sources | Source metadata used to build the response. |