Utilities

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

get/v1/utils/timezone

Request

  • Base URL: https://api.asterwise.com
  • URL: https://api.asterwise.com/v1/utils/timezone
  • Auth: HTTP bearer

Query parameters

latitudenumber nullable

Latitude (alias: lat)

longitudenumber nullable

Longitude (alias: lon)

latnumber nullable

Alias for latitude

lonnumber nullable

Alias for longitude

Response

Successful Response

successboolean

True if the request succeeded

messagestring

Human-readable status message

Changes

No recorded changes to this operation across all 2 revisions of this API.