API Almanac
API reference › Countries

The IANA time zones a country uses, with current offsets

GET/v1/countries/{code}/timezones

GET/v1/countries/{code}/timezones

The IANA time zones a country uses, with current offsets

PARAMETERS
codepath · stringREQUIRED
ISO 3166-1 alpha-2
e.g. CA
In the full reference
REQUEST
curl "https://api.apialmanac.com/v1/countries/CA/timezones" \
  -H "X-API-Key: YOUR_KEY"
RESPONSE
200OK
{
  "country": "CA",
  "count": 2,
  "timezones": [
    {
      "zone": "America/Toronto",
      "comment": "Eastern - ON & QC (most areas)",
      "offset": "-04:00",
      "abbreviation": "EDT"
    },
    {
      "zone": "America/Vancouver",
      "comment": "Pacific - BC (most areas)",
      "offset": "-07:00",
      "abbreviation": "PDT"
    }
  ]
}
Try it — sign in first
Runs on a sandbox key: 200 requests a month. Your real key is for production.