Look Up Timezone
PythonDataPOST api.upapi.io/timezone-lookup.getResolve 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
| Field | Type | Description |
|---|---|---|
latitudereq | number | Decimal latitude |
longitudereq | number | Decimal longitude |
Response schema
| Field | Type | Description |
|---|---|---|
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.
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.