IP Geolocation API Reference
One route under /v1/ip. Base URL https://api.apifor.dev, authenticated with x-api-key, one credit per request. Coverage and licence are on the IP Geolocation page.
GET
/v1/ipList db-ip lite geolocation with filters and paging.
| Parameter | In | Type | Rules |
|---|---|---|---|
| address | query | string | None |
curl 'https://api.apifor.dev/v1/ip' \
-G -d address=8.8.8.8 \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": {
"address": "8.8.8.8",
"version": 4,
"id": 18894,
"continent": "NA",
"country": "US",
"region": "California",
"city": "Mountain View",
"lat": 37.422,
"lon": -122.085
}
}200Address location with DB-IP attribution400Invalid address404Address not found