/utils

Get IANA timezone for coordinates

Returns the IANA timezone identifier (e.g., 'America/Los_Angeles') for the given latitude and longitude coordinates. Falls back to closest timezone if the point is in the ocean or at an edge. | () -> (TimezoneResponse)

get/utils/timezone/v1

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/utils/timezone/v1
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or none

Query parameters

latnumber required

Latitude in decimal degrees (range: -90 to 90)

Example:37.7749
lngnumber required

Longitude in decimal degrees (range: -180 to 180)

Example:-122.4194

Response

Successful Response

timezonestring required
latnumber required
lngnumber required
methodstring required

Changes

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