Skip to main content
GET/v1/utils/timezone

IANA Timezone for Coordinates

Returns the IANA timezone (e.g. Asia/Kolkata) for a latitude and longitude pair. Fully offline — no external API call. Accepts ?latitude=&longitude= and/or ?lat=&lon= (any pair that supplies both coordinates). Examples: ?latitude=19.055&longitude=72.869 (Mumbai), ?lat=19.055&lon=72.869

Request parameters​

latitudeoptional
number | null
Latitude (alias: lat)
longitudeoptional
number | null
Longitude (alias: lon)
latoptional
number | null
Alias for latitude
lonoptional
number | null
Alias for longitude

Response fields​

success
boolean
True if the request succeeded
message
string
Human-readable status message
data
object
data.latitude
number
Input latitude.
data.longitude
number
Input longitude.
data.timezone
string
IANA timezone identifier.

Errors​

Invalid API key format.
API key is missing. Include it in the Authorization header as 'Bearer YOUR_KEY'.
The provided API key was not found. Verify the key in your Asterwise dashboard.
This API key has been revoked.
Too many requests per minute. Please slow down.
Something went wrong on our end. Please try again, or contact [email protected] if the problem persists. Include your request_id when contacting support.
Too many requests from this IP address. Please slow down.
Monthly API call limit reached. Upgrade your plan to continue.
Request body exceeds maximum allowed size of 64KB.
Your subscription has expired. Please renew at asterwise.com/dashboard to continue.
The request couldn't be processed. See the 'details' field for specific field-level issues.