IP Geolocation Lookup Response
IP and Network IntelligenceA successful IP Geolocation Lookup call returns success: true and the verification result under data.result.
Success Response — 200
{
"status": "SUCCESS",
"status_code": 200,
"charged": true,
"success": true,
"message": "",
"message_code": "OK",
"order_id": "W2A1739512345abcdef01",
"data": {
"order_id": "W2A1739512345abcdef01",
"result": {
"ip_address": "8.8.8.8",
"location": {
"continent_code": "NA",
"continent_name": "North America",
"country_code": "US",
"country_code3": "USA",
"country_name": "United States",
"country_name_official": "United States of America",
"country_capital": "Washington, D.C.",
"state": "California",
"state_code": "US-CA",
"district": "Santa Clara",
"city": "Mountain View",
"postal_code": "94043-1351",
"latitude": 37.4224,
"longitude": -122.08421,
"is_eu": false,
"geoname_id": "6301403"
},
"country_metadata": {
"calling_code": "+1",
"tld": ".us",
"languages": [
"en-US",
"es-US",
"haw",
"fr"
],
"flag_emoji": "🇺🇸"
},
"network": {
"route": "8.8.8.0/24",
"connection_type": "",
"is_anycast": true
},
"currency": {
"code": "USD",
"name": "US Dollar",
"symbol": "$"
},
"asn": {
"number": "AS15169",
"organization": "Google LLC",
"country": "US",
"type": "business",
"domain": "google.com",
"registry": "ARIN",
"allocated_on": "2000-03-30"
},
"company": {
"name": "Google LLC",
"type": "hosting",
"domain": "google.com"
},
"time_zone": {
"name": "America/Los_Angeles",
"offset": -8,
"offset_with_dst": -7,
"current_time": "2026-08-04 06:33:45.664-0700",
"abbreviation": "PDT",
"is_dst": true
}
}
}
}
Response Keys
| Key | Type | What it tells you |
|---|---|---|
status |
string | Order lifecycle: SUCCESS, PENDING or FAILED. Describes the order, not the verification — a charged call that came back negative is a completed order. |
status_code |
int | The HTTP status, echoed into the body. |
charged |
bool | The authority on billing. Never infer it from the HTTP status. |
success |
bool | The verification outcome. Independent of charged. |
message |
string | Human-readable text. For display and logs — do not parse it. |
message_code |
string | Machine-readable reason from a fixed vocabulary. Branch on this. |
order_id |
string | Present once a call reached the provider; quote it on a support ticket. Its absence means nothing was billed. |
data.result |
object | The verification payload for this endpoint. |
When You Are Charged
| message_code | Charged | HTTP | status | What it means |
|---|---|---|---|---|
OK |
Yes | 200 | SUCCESS | Verified. The provider ran the lookup and returned a result. |
ACCEPTED |
Yes | 202 | PENDING | Queued at the provider. Quote the order_id to collect the result. |
PROVIDER_NO_RESPONSE |
Yes | 202 | PENDING | The provider did not respond in time. Held for manual review — not auto-refunded. |
VERIFICATION_FAILED |
Yes | 422 | SUCCESS | The provider ran the lookup and the details did not verify. The work was done, so the call is billed. |
NO_RECORD_FOUND |
Yes | 422 | SUCCESS | The provider ran the lookup and found no matching record. Billed for the same reason. |
INVALID_INPUT |
No | 422 | FAILED | Your parameters were rejected before any call was placed. |
REQUEST_FAILED |
No | 400 | FAILED | The call was placed and failed definitively. Refunded to your wallet automatically. |
MISSING_API_KEY |
No | 401 | FAILED | No API key on the request. |
INVALID_API_KEY |
No | 401 | FAILED | Key invalid or expired, or the calling IP is not allowed. |
INSUFFICIENT_BALANCE |
No | 402 | FAILED | Your wallet balance is below the price of this call. |
NO_API_ACCESS |
No | 403 | FAILED | Your account is not subscribed to this API. |
NOT_FOUND |
No | 404 | FAILED | No such endpoint. |
RATE_LIMITED |
No | 429 | FAILED | Per-key, per-service one-minute limit exceeded. |
INTERNAL_ERROR |
No | 500 | FAILED | Unexpected error on our side. |
PROVIDER_UNAVAILABLE |
No | 503 | FAILED | The service could not be reached. |