Geo

Find where an IP address is, name the place at any point on the map, and get the local time there. Free with your API key.

Get your key
Learn more
IP location

Know where your visitors are From the IP alone

Country, region, city, postcode and coordinates, with the time zone and the local time there. Set the language, currency or opening hours before anyone types a thing.

Request
curl -X POST "https://api.surfy.one/geo/ip" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{ "ip": "8.8.8.8"
}'
Answer
{ "ip": "8.8.8.8", "countryCode": "us", "country": "United States of America", "region": "California", "city": "Mountain View", "coords": [-122.08385, 37.38605], "zip": "94035", "status": true, "timezone": { "id": "America/Los_Angeles", "name": "Pacific Standard Time", "gmt": "GMT-0800", "offset": -8, "localTime": "Fri Dec 04 2026 14:08:47 GMT-0800 (Pacific Standard Time)" }
}
Reverse geocoding

Turn a point into a place Down to the street

Send coordinates from a phone or a map. You get back an address people can read, and every part of it on its own, from the road to the country.

Request
curl -X POST "https://api.surfy.one/geo/reverse" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{ "coords": [-0.118092, 51.509865]
}'
Answer
{ "coords": [-0.118092, 51.509865], "address": "Waterloo Bridge, South Bank, Waterloo, London Borough of Lambeth, Greater London, England, SE1 8XT, United Kingdom", "details": { "road": "Waterloo Bridge", "quarter": "South Bank", "suburb": "Waterloo", "city_district": "London Borough of Lambeth", "city": "Greater London", "state": "England", "postcode": "SE1 8XT", "country": "United Kingdom", "country_code": "gb" }, "status": true
}
Time zone

Know the time anywhere Daylight saving included

Send coordinates and get the time zone, its offset from GMT and the local time right now. Book the call or the delivery for an hour that suits them.

Request
curl -X POST "https://api.surfy.one/geo/tz" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{ "coords": [-0.118092, 51.509865]
}'
Answer
{ "id": "Europe/London", "coords": [-0.118092, 51.509865], "name": "Greenwich Mean Time", "gmt": "GMT", "offset": 0, "localTime": "Fri Dec 04 2026 22:08:47 GMT (Greenwich Mean Time)", "status": true
}
Try it live

See it on Surfy No key needed

Ask Surfy for your own IP, or type in any address, and see where it is and the local time there.

Good to know

Send a POST with a JSON body to /geo/ip, /geo/reverse or /geo/tz at https://api.surfy.one, with your key in the x-api-key header. The answer comes back as JSON.

Longitude first, then latitude, the order GeoJSON uses. [-0.118092, 51.509865] is central London.

No. Geo is free, and its calls don’t use your search calls.

You get "status": false and a message that says why, for example when the address you sent isn’t an IP. A call with no IP or no coordinates is refused with a 400.

Yes. It’s the time at that place at the moment you call, with daylight saving applied.

Sign in with your email. Your key is waiting on your account page.

Start building

Get your free API key. One endpoint for every API, and libraries to call it from your code.

No card needed