Location · API
Timezone
Return the IANA time zone, UTC offset, DST state and local time for any location or IP.
GET /v1/timezone
GET /v1/timezone
200 OK
{ "timezone": "America/Los_Angeles", "utc_offset": "-07:00", "dst": true, "local_time": "2026-07-03T09:12:44-07:00" }
Capabilities
Why teams use it
Accurate zones
IANA time zone from coordinates or IP.
DST-aware
Correct offsets across daylight-saving changes.
Local time out of the box
ISO 8601 local time and UTC offset.
Global coverage
Every time zone, worldwide.
Request
Call it in your language
curl "https://api.locanium.com/v1/timezone?lat=37.386&lng=-122.084" \ -H "Authorization: Bearer sk_live_..."
Response
What you get back
- IANA time zone id
timezonestring - UTC offset
utc_offsetstring - Whether DST is active
dstboolean - ISO 8601 local time
local_timestring
Use cases
What you can build
Scheduling
Show and store times in each user’s local zone.
Notifications
Send at the right local hour in every region.
Cut-offs
Apply deadlines by local time and DST.
Location family
Full parameters, errors and code samples are in the API reference.