Time zone API for coordinates and countries
Turn a latitude/longitude or a country code into its IANA time zone, current UTC offset and local time.
What it does
The IANA time zone, UTC offset, and local time for coordinates or a country.
- GET /v1/timezone?lat=41.01&lon=28.98
- GET /v1/timezone?country=TR
Limits: Borders are simplified, so points right at a zone border can be off. No historic offsets or date conversion.
Use cases
- Schedule notifications in the user's local time.
- Show local time for a store or event.
- Pair with IP geolocation to localize timestamps.
Data sources and freshness
Time zone boundaries via @photostructure/tz-lookup and the IANA tz database.
Updated with library releases.
Pricing
Every new account gets 100 free calls. Packs of 10,000 ($5), 100,000 ($15) and 250,000 calls ($29) never expire, or choose Unlimited for $39 a month. Only successful responses use a call. See pricing.
FAQ
Is it exact at time-zone borders?
Borders are simplified, so points right at a border can be off. Historic offsets are not provided.