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

ParameterTypeRequiredDescription
ipstringYesThe 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

FieldMeaning
typeAlways ip for this endpoint.
ipQueried IP address.
asnAutonomous System Number when known.
organizationNetwork organization when known.
countryISO country code when known.
network_typeNormalized network classification when available.
confidenceConfidence attached to the ownership and location signals.
lookupLookup method, fallback flag, and confidence metadata.
sourcesSource metadata used to build the response.