Timezone Lookup API

Send a coordinate and get the IANA timezone name, the current UTC offset, whether daylight saving is in effect, and the local time. Send a timestamp too and get the offset that applied, or will apply, at that moment, which is what you need for scheduling and for historical records.

GEThttps://api.mygeocode.com/v1/timezone?lat=...&lon=...

Try it in the demo Full reference

Example

Request
$ curl "https://api.mygeocode.com/v1/timezone?lat=35.6762&lon=139.6503"

# At a specific moment (Unix seconds)
$ curl "https://api.mygeocode.com/v1/timezone?lat=40.7128&lon=-74.0060&timestamp=1773817200"

Store the timezone name, not the offset. Offsets change twice a year in many places and occasionally for good when a government changes the rules. The IANA name stays valid, and the rules are updated here within a day of each IANA release.

Response
{
  "status": "ok",
  "lat": 35.6762,
  "lon": 139.6503,
  "timezone": "Asia/Tokyo",
  "abbreviation": "JST",
  "utc_offset": "+09:00",
  "utc_offset_seconds": 32400,
  "dst": false,
  "timestamp": 1756335245,
  "local_time": "2026-08-28T08:34:05+09:00",
  "country_code": "JP"
}

What you get back

FieldMeaning
timezoneIANA name such as Europe/Berlin. In international waters, a nautical zone such as Etc/GMT-3.
abbreviationThe abbreviation in force at the timestamp: CET, CEST, JST. Not unique worldwide; display only.
utc_offset, utc_offset_secondsThe offset at the timestamp, as text and as a number.
dstWhether daylight saving time is in effect at the timestamp.
timestamp, local_timeThe moment the answer describes, as Unix seconds and as an RFC 3339 string in local time.
country_codeThe country the point is in, if any.

Where it is used

Scheduling across sites

Send a reminder at 9 am local time at each store. Look up the timezone once per store and convert with your language's tz library.

Fixing timestamps in logs

Devices that record local time without an offset can be corrected after the fact by looking up the offset at that timestamp and location.

Showing local time to users

Display "it is 8:34 am there" next to a location on a map or a contact card.

Price and limits

One call, one request. 2,500 a day free, then credits at $0.001 per request or €50 a month unlimited. Pricing. The Google Time Zone API and Bing Time Zone formats are available as drop-in hosts.