locci/tz/timezone/
Returns a paginated list of all IANA timezones in the database. Each record includes the IANA timezone name (e.g. America/New_York), slug, GMT offset string, DST offset string, raw offset in seconds, and the associated country. The GMT and DST offset fields are pre-formatted strings (e.g. GMT-05:00) ready for display. Use timezone names from this list as the timezone parameter in astra endpoints to localise event datetimes.
This endpoint does not require any request parameters.
| Name | Type | Nullable | Description | Example |
|---|---|---|---|---|
country |
String | Yes | Hyperlinked URL to the associated country record. | /locci/geo/country/38/ |
country_id |
String | — | Primary key of the associated country. | 38 |
country_name |
String | — | Name of the associated country. | Canada |
country_slug |
String | — | URL-friendly name of the associated country. | canada |
dst_offset |
String | Yes | Daylight saving time offset as a formatted string. | DST-07:00 |
gmt_offset |
String | Yes | Standard UTC offset as a formatted string. | GMT-08:00 |
name |
String | Yes | IANA timezone name (tz database key). | America/Vancouver |
pk |
Integer | — | Database primary key of the timezone record. | 77 |
raw_offset |
String | Yes | Raw UTC offset in seconds (negative west of UTC). | -28800 |
slug |
String | Yes | URL-friendly IANA timezone name. | america-vancouver |