Timezone Geospatial Queries API
This API provides endpoints to: - Check API status and uptime - Find timezone regions by coordinates - List all timezone regions and their bounding boxes - Find the nearest timezone region or city to a point - List all cities in a region, within a radius, by UTC offset, or with DST - Find the northernmost, southernmost, easternmost, and westernmost cities for a UTC offset
Timezone Geospatial Queries API endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET |
API status /status |
Returns the status of the API, including name, version, and uptime (in seconds). |
| GET |
All timezones /tz_regions |
Returns all regions and their bounding box limits. |
| GET |
All regions that contain the point /tz_region |
Returns all regions that contain the given point (latitude, longitude). |
| GET |
The nearest region to the given point /tz_region_nearest |
Returns the nearest region to the given point (latitude, longitude). |
| GET |
All cities/timezones within the specified region /tz_region_cities |
Returns all cities/timezones within the specified region. |
| GET |
The 4 nearest cities to given point /cities_nearest |
Returns the 4 nearest cities to the given point (latitude, longitude). |
| GET |
All cities within a given radius /cities_in_radius |
Returns all cities within a given radius (in km) from the point. |
| GET |
All cities with the specified UTC offset /cities_by_utc_offset |
Returns all cities with the specified UTC offset. |
| GET |
Cities with Daylight Saving Time /cities_with_dst |
Returns all cities that currently have DST (Daylight Saving Time) active or not. |
| GET |
Cities in extremes for a given UTC offset /city_extremes |
Returns the northernmost, southernmost, easternmost, and westernmost cities for a given UTC offset. |