Look Up Timezone

PythonData
POST api.upapi.io/timezone-lookup.get

Resolve a lat/long to its IANA timezone, country, current local time, UTC offset (with DST detection), and standard offset. Uses the free timeapi.io.

timezonegeopython
AuthAPI key
Cost1 unit
Timeout12s
Cache3600s

Request schema

FieldTypeDescription
latitudereq
numberDecimal latitude
longitudereq
numberDecimal longitude

Response schema

FieldTypeDescription
timezonereq
string
fetchedAtreq
string
countryCodereq
countryNamereq
currentLocalTimereq
string
isDaylightSavingTimereq
boolean
currentUtcOffsetSecondsreq
integer
standardUtcOffsetSecondsreq
integer
daylightSavingsUtcOffsetSecondsreq
integer

Try it

Try it

Decimal latitude

Decimal longitude

Run this endpoint live

Jump in as a guest — no signup — and run timezone-lookup.get with your own inputs. Create a free account anytime to get your own API key.

Sign in

Code examples

curl -X POST https://api.upapi.io/timezone-lookup.get \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{ "latitude": 43.65, "longitude": -79.38 }'

Developer tools

OpenAPI specImport the spec or collection into Postman, Insomnia, or any codegen tool.