Timezone API
GlobalGet the IANA time zone, current UTC offset, DST status and local time for any coordinate on Earth.
Overview
The Timezone API returns the IANA time zone (e.g. Asia/Baku) for any coordinate worldwide, along with the current UTC offset, whether daylight saving is in effect, the zone abbreviation and the local time. Pass an optional timestamp to resolve the offset for a past or future moment. Backed by a global dataset — it works anywhere, not just our map coverage.
API reference
GET
/api/1/timezone| Parameter | Type | Status |
|---|---|---|
| point | string | Required |
| lat | number | Optional |
| lon | number | Optional |
| timestamp | integer | Optional |
Example request
Credit cost: 1 creditcurl "https://osrmroute.com/api/1/timezone?point=40.4093,49.8671&key=YOUR_KEY"
Other services
Routing APIRoute Optimization APIGeocoding APIPlaces APIMatrix APIIsochrones APIMap Matching APINearest APITrip API (TSP)Location ClusteringDirections APIAlternative Routes APISnap to Road APIAutocomplete APIBatch Geocoding APIElevation APIBoundary Lookup APIGeofencing APIElevation Profile APISolar APIGeometry Utilities APICoordinate Conversion APICountry Info API