Timezone from Coordinates

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+5 is UTC-05:00.
  • isDst is true when the offset is above the zone's standard (winter) offset for that year.
  • abbreviation is a short name like EST where one is commonly used, otherwise a GMT offset like GMT+3.

Endpoints

GET
https://opentools.ca/api/v1/tools/timezone-from-coordinates
Look up the time zone for a coordinate. POST with the same fields as a JSON body also works.

Query Parameters

ParameterTypeRequiredDescription
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
OptionalISO 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 at
401
Missing or invalid API key
403
API key inactive, expired, or not allowed from this IP
429
Rate limit exceeded
500
Internal server error

Code Examples

curl "https://opentools.ca/api/v1/tools/timezone-from-coordinates?lat=40.7128&lng=-74.006"   -H "Authorization: Bearer YOUR_API_KEY"

Ready to get started?

Create an API key to start using the Timezone from Coordinates API.