docs / ip-geolocation
IP Geolocation
Locate any IP — country, city and network.
base /ip-geolocation/v12 endpoints
post
/ip-geolocation/v1/lookup1 creditgeolocate ONE IPv4/IPv6 → country/region/city/lat-lon/timezone/ASN/ISP/org + hosting flag
| Parameter | Required |
|---|---|
| ip | required |
| lang | optional |
post
/ip-geolocation/v1/batch2 creditsgeolocate up to 100 IPs in one call
| Parameter | Required |
|---|---|
| ips | required |
| lang | optional |
Example request · lookup
curl -X POST https://api.reefapi.com/ip-geolocation/v1/lookup \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"ip":"8.8.8.8"}'Response shape
{
"ok": true,
"data": { /* the result */ },
"meta": {
"latency_ms": 240,
"record_count": 12,
"completeness_pct": 100
},
"error": null
}