
Timezone from Coordinates API
Utilities
Convert latitude and longitude coordinates to timezone identifiers. Get IANA timezone names like "America/New_York" or "Asia/Tokyo" from any location.
Authentication
Send your API key in the Authorization header as a Bearer token, or in an X-API-Key header.
Rate Limit
120 requests per minute
Endpoints
1 endpoint available
Overview
Returns the IANA time zone for a latitude and longitude, plus that zone's UTC offset, daylight saving state and local time at a given moment (now by default).
Notes
- The lookup runs on our server from bundled zone-border data. No third-party service is called.
- Accuracy is very good inland, but within a few kilometres of a zone border the result can be the neighbouring zone.
- Points in open ocean return a nautical zone such as
Etc/GMT+5. Note the POSIX sign:Etc/GMT+5is UTC-05:00. isDstis true when the offset is above the zone's standard (winter) offset for that year.abbreviationis a short name likeESTwhere one is commonly used, otherwise a GMT offset likeGMT+3.
Endpoints
GET
https://opentools.ca/api/v1/tools/timezone-from-coordinatesLook up the time zone for a coordinate. POST with the same fields as a JSON body also works.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| lat | number | Required | Latitude in decimal degrees, -90 to 90 (negative is south). |
| lng | number | Required | Longitude in decimal degrees, -180 to 180 (negative is west). |
| at | string | Optional | ISO 8601 date-time with a Z or offset (e.g. 2026-07-01T12:00:00Z). Offset, DST and local time are computed for this moment.Default: now |
Response Example
{
"success": true,
"timezone": {
"id": "America/New_York",
"utcOffset": "-04:00",
"utcOffsetMinutes": -240,
"isDst": true,
"abbreviation": "EDT",
"localTime": "2026-07-15T08:00:00-04:00",
"at": "2026-07-15T12:00:00.000Z"
},
"coordinates": {
"lat": 40.7128,
"lng": -74.006
}
}Error Codes
400
Missing or out-of-range lat/lng, or an invalid at401
Missing or invalid API key403
API key inactive, expired, or not allowed from this IP429
Rate limit exceeded500
Internal server errorCode Examples
curl "https://opentools.ca/api/v1/tools/timezone-from-coordinates?lat=40.7128&lng=-74.006" -H "Authorization: Bearer YOUR_API_KEY"