Timezone Endpoints
Get Timezone by Country
Retrieve the canonical timezone for a country including current DST state
GET
Return the canonical IANA timezone for a country, plus its standard and DST UTC offsets and whether the country is observing DST at request time.
Resolution order:
- The capital city’s timezone — most countries with multiple zones use this as the canonical default.
- The first entry in the country’s
timezonesJSON column — fallback when no capital-city match exists.
Availability: All plans (Community and above). Only an API key is required.
Responses are cached server-side for 24 hours.
Authentication
Your API key for authentication
Path Parameters
ISO 3166-1 alpha-2 code (e.g.
US), alpha-3 code (e.g. USA), or numeric CSC country ID (e.g. 233). Case-insensitive for ISO codes.Response
Canonical IANA timezone name (e.g.
"America/New_York"). Use this with any standards-compliant date/time library — JavaScript Intl, Python zoneinfo, Java ZoneId, etc.Locale-aware short name at request time (e.g.
"EST" in winter, "EDT" in summer). Display-only — not stable enough to use as an identifier.Standard (non-DST) UTC offset in
±HH:MM form (e.g. "-05:00" for US Eastern).DST UTC offset in
±HH:MM form (e.g. "-04:00" for US Eastern Daylight). Equal to offset_utc for zones that don’t observe DST.Whether DST is in effect for this zone at request time.
false when the zone doesn’t observe DST.Related Endpoints
- Get Timezone by State — finer-grained timezone for federations / countries with multiple zones (US, Canada, Russia, Australia, etc.)
- Get Timezone by City — per-city precision
- Get Country Details — includes the raw
timezonesJSON column