Geolocation
Global IPv4/IPv6 geolocation data covering 200+ countries and regions, accurate down to street level.
Output Fields
Country
State/Province
City
District
Street
Longitude
Latitude
Timezone
Postal Code
IP Range
Integration
API Reference
Endpoint:
GET /api/v1/sdata/lookup
Params:
?ip={ip}&type=geo
Auth:
Authorization: Bearer {api_key}
cURL Example
curl -X GET "https://ip2.world/api/v1/sdata/lookup?ip=8.8.8.8&type=geo" \ -H "Authorization: Bearer YOUR_API_KEY"
Response
{"country":"US","state":"California","city":"Mountain View","latitude":37.4056,"longitude":-122.0775,"timezone":"America/Los_Angeles","ipRange":"8.8.8.0/24"}