Documentation
Getting started
From an empty account to a resolved IP address in four steps.
The shape of the API
Every endpoint is versioned under /v1 and answers JSON. Authentication is a bearer token, and both quota and rate limit state travel back as response headers so you never have to poll a separate usage endpoint.
Four steps
- Create an account. The free plan activates immediately, with no payment method.
- Subscribe to the geolocation product from the billing page.
- Create an API key. The full secret is displayed once, so store it right away.
- Send the key as a bearer token on any /v1 request.
Your first request
cURL
curl https://api.geolocate-api.com/v1/ip/8.8.8.8 \
-H "Authorization: Bearer geo_live_xxxxxxxxxxxxxxxxx"Base URL
The public base URL is owned by the platform. The upstream geolocation service is an internal data source and is never addressed directly by your integration.
Looked-up IP addresses
When you look up an IP that belongs to someone else, you are the controller of that request. We process the address only to return a location estimate and do not use it to profile that person. Estimates are not fit for emergency or regulated compliance use on their own.
In your language
curl https://api.geolocate-api.com/v1/ip/8.8.8.8 \
-H "Authorization: Bearer geo_live_xxxxxxxxxxxxxxxxx"