🕐

Timezone by Coordinates

Get the IANA timezone name for a latitude/longitude pair

GET 1 credit /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
Response 200 OK
{
  "latitude": 48.8566,
  "longitude": 2.3522,
  "timezone": "Europe/Paris",
  "utc_offset": "+02:00",
  "is_dst": true
}

Try It Live

Live Demo

Description

Get the IANA timezone name for a latitude/longitude pair

How to Use

1

1. Pass `lat` (latitude, -90 to 90) and `lon` (longitude, -180 to 180) as query parameters.

2

2. Read the `timezone` field for the IANA timezone name.

3

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

Frequently Asked Questions

What happens for coordinates in the ocean?
Coordinates in international waters may return a 404 error since timezone boundaries are defined by land masses and political borders.
How accurate are the timezone boundaries?
The TimezoneFinder library uses high-resolution polygon data. Accuracy is excellent for populated areas but may be approximate at timezone borders in remote regions.
Does the UTC offset change over time?
Yes. The `utc_offset` and `is_dst` fields reflect the current time. During DST transitions, the same coordinates will return different offsets.

Start using Timezone by Coordinates now

Get your free API key and make your first request in under a minute.