The IP WHOIS Lookup API retrieves comprehensive IP address information:
- Network Ownership: Organization, contacts, registration dates
- BGP Routing: ASN, BGP prefix, routing information
- Reverse DNS: Hostname (PTR record)
Endpoint
GET https://api.requestguard.com/v1/ip/whois
Parameters
| Parameter | Type | Required | Description |
|---|
ip | string | Yes | The IP address to query (IPv4 or IPv6) |
raw | boolean | No | Include raw response data (default: false) |
Response
{
"success": true,
"data": {
"ip": "8.8.8.8",
"range": "8.8.8.0/24",
"handle": "NET-8-8-8-0-2",
"name": "GOGL",
"type": "DIRECT ALLOCATION",
"status": "active",
"country": "US",
"netblock": "NET-8-0-0-0-0",
"asn": 15169,
"asName": "GOOGLE, US",
"bgpPrefix": "8.8.8.0/24",
"hostname": "dns.google",
"rir": "ARIN",
"organization": {
"handle": "GOGL",
"name": "Google LLC",
"address": "1600 Amphitheatre Parkway, Mountain View, CA, 94043, United States",
"registered": "2000-03-30T00:00:00-05:00",
"updated": "2019-10-31T15:45:45-04:00"
},
"abuse": {
"handle": "ABUSE5250-ARIN",
"name": "Abuse",
"organization": "Abuse",
"address": "1600 Amphitheatre Parkway, Mountain View, CA, 94043, United States",
"phone": "+1-650-253-0000",
"email": "network-abuse@google.com",
"registered": "2015-11-06T15:36:35-05:00",
"updated": "2024-08-01T17:54:23-04:00"
},
"admin": {
"handle": "ZG39-ARIN",
"name": "Google LLC",
"organization": "Google LLC",
"address": "1600 Amphitheatre Parkway, Mountain View, CA, 94043, United States",
"phone": "+1-650-253-0000",
"email": "arin-contact@google.com",
"registered": "2000-11-30T13:54:08-05:00",
"updated": "2025-11-10T07:10:31-05:00"
},
"registered": "2023-12-28T17:24:33-05:00",
"updated": "2023-12-28T17:24:56-05:00",
"_meta": {
"queriedAt": "2024-12-01T12:00:00.000Z",
"responseTime": 101
}
}
}
Response Fields
Data Object
| Field | Type | Description |
|---|
ip | string | The queried IP address |
range | string | Network range in CIDR notation |
handle | string | Network block identifier |
name | string | Network name/identifier |
type | string | Allocation type |
status | string | Network status (e.g., active, inactive) |
country | string | Country code (ISO 3166-1 alpha-2) |
netblock | string | Parent allocation handle |
asn | number | Autonomous System Number |
asName | string | AS organization name |
bgpPrefix | string | BGP announced prefix (actual routing) |
hostname | string | Reverse DNS hostname (PTR record) |
rir | string | Regional Internet Registry name |
organization | object | Registrant/owner information |
abuse | object | Abuse contact for reporting |
admin | object | Administrative contact |
tech | object | Technical contact (if different from admin) |
registered | string | Network registration date (ISO 8601) |
updated | string | Last update date (ISO 8601) |
_meta | object | Query metadata |
| Field | Type | Description |
|---|
handle | string | Unique identifier |
name | string | Contact name |
organization | string | Organization name |
address | string | Full address |
phone | string | Phone number |
email | string | Email address |
registered | string | Contact registration date |
updated | string | Contact last update date |
Regional Internet Registries
| RIR | Region |
|---|
| ARIN | North America |
| RIPE NCC | Europe, Middle East, Central Asia |
| APNIC | Asia-Pacific |
| LACNIC | Latin America, Caribbean |
| AFRINIC | Africa |
Example Requests
Basic Lookup
curl "https://api.requestguard.com/v1/ip/whois?ip=8.8.8.8"
IPv6 Lookup
curl "https://api.requestguard.com/v1/ip/whois?ip=2001:4860:4860::8888"
Example Response (RIPE NCC)
{
"success": true,
"data": {
"ip": "185.100.87.209",
"range": "185.100.87.0/24",
"handle": "185.100.87.0 - 185.100.87.255",
"name": "FlokiNET-Romania",
"type": "ASSIGNED PA",
"status": "active",
"country": "RO",
"netblock": "185.100.84.0 - 185.100.87.255",
"asn": 200651,
"asName": "FLOKINET, IS",
"bgpPrefix": "185.100.87.0/24",
"rir": "RIPE NCC",
"organization": {
"handle": "lir-is-flokinetehf-1-MNT",
"name": "lir-is-flokinetehf-1-MNT"
},
"abuse": {
"handle": "AR74596-RIPE",
"name": "Abuse-C Role",
"address": "ICELAND, Reykjavík, 101, Austurstræti 12a",
"email": "abuse@flokinet.is"
},
"admin": {
"handle": "KW2939-RIPE",
"name": "FlokiNET Ltd",
"address": "Bel Ombre Rd. P.5057, NA, Beau Vallon, Seychelles",
"phone": "+358942458241"
},
"registered": "2015-12-15T13:52:42Z",
"updated": "2024-03-22T13:51:21Z",
"_meta": {
"queriedAt": "2024-12-01T12:00:00.000Z",
"responseTime": 343
}
}
}
Error Responses
Missing Parameter
{
"success": false,
"error": {
"code": "MISSING_PARAMETER",
"message": "Missing required parameter: ip"
}
}
Invalid IP
{
"success": false,
"error": {
"code": "INVALID_IP",
"message": "Invalid IP address format"
}
}
Private IP
{
"success": false,
"error": {
"code": "PRIVATE_IP",
"message": "Cannot lookup private IP address"
}
}
Rate Limits
| Plan | Requests per minute |
|---|
| Free | 10 |
| Pro | 100 |
| Enterprise | Unlimited |
Network Types
| Type | Description |
|---|
DIRECT ALLOCATION | Block allocated directly by an RIR |
ALLOCATION | Block allocated to an ISP/organization |
ASSIGNMENT | Block assigned to an end-user |
ASSIGNED PA | Provider Aggregatable assignment |
ASSIGNED PI | Provider Independent assignment |
Use Cases
- Security Analysis: Identify organizations behind suspicious IPs
- Abuse Reporting: Find correct abuse contacts
- Network Research: Understand IP allocation and ownership
- Compliance: Verify IP ownership for regulatory purposes
- Threat Intelligence: Enrich IP data with organization context