Timezone by Coordinates
Get the IANA timezone name for a latitude/longitude pair
/v1/geo/timezone-by-coords
curl "https://geo.toolkitapi.io/v1/geo/timezone-by-coords?lat=48.8566&lon=2.3522"
import httpx
resp = httpx.get(
"https://geo.toolkitapi.io/v1/geo/timezone-by-coords?lat=48.8566&lon=2.3522",
)
print(resp.json())
const resp = await fetch("https://geo.toolkitapi.io/v1/geo/timezone-by-coords?lat=48.8566&lon=2.3522", {
});
const data = await resp.json();
console.log(data);
# See curl example
{
"latitude": 48.8566,
"longitude": 2.3522,
"timezone": "Europe/Paris",
"utc_offset": "+02:00",
"is_dst": true
}
Try It Live
Description
How to Use
1. Pass `lat` (latitude, -90 to 90) and `lon` (longitude, -180 to 180) as query parameters.
2. Read the `timezone` field for the IANA timezone name.
3. Use `utc_offset` and `is_dst` to understand the current time offset at those coordinates.
About This Tool
Use Timezone by Coordinates to determine the exact IANA timezone for any latitude/longitude pair. The endpoint uses the TimezoneFinder library for accurate offline lookups, including the current UTC offset and DST status.
This is useful when you have GPS coordinates (from devices, IP geolocation, or geocoding) and need to determine the local timezone for displaying times or scheduling.
Why Use This Tool
- IoT devices — Determine local timezone from GPS coordinates for scheduling
- Enriching IP data — Add timezone info to IP geolocation results
- Travel apps — Show local time at a destination based on map coordinates
- Photo metadata — Determine timezone from EXIF GPS coordinates
Frequently Asked Questions
What happens for coordinates in the ocean?
How accurate are the timezone boundaries?
Does the UTC offset change over time?
Start using Timezone by Coordinates now
Get your free API key and make your first request in under a minute.