Timezone

GET/v0/timezone

Validates an IANA timezone identifier (e.g. Europe/Warsaw, America/New_York). Input is case-insensitive. When valid, the canonical timezone name is returned together with the current UTC offset, abbreviation, and whether Daylight Saving Time (DST) is currently in effect.

Try it

Query Parameters

ParameterTypeRequiredDescription
valuestringYesIANA timezone identifier, case-insensitive (e.g. Europe/Warsaw, US/Eastern)

Example Requests

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.isvalid.dev/v0/timezone?value=Europe/Warsaw"

Response Fields

FieldTypeDescription
validbooleanWhether the value is a recognised IANA timezone
timezonestringCanonical IANA timezone identifier
regionstring | nullTop-level region (e.g. Europe, America). null for timezones without a region prefix.
utcOffsetstringCurrent UTC offset (e.g. +01:00, -05:00)
abbreviationstringCurrent timezone abbreviation (e.g. CET, EST)
isDSTbooleanWhether Daylight Saving Time is currently in effect

Example Response

{
  "valid": true,
  "timezone": "Europe/Warsaw",
  "region": "Europe",
  "utcOffset": "+01:00",
  "abbreviation": "CET",
  "isDST": false
}

Example Response — invalid

{
  "valid": false
}
GET/v0/timezone/list

Returns the complete list of all IANA timezones with their current UTC offset, abbreviation, and Daylight Saving Time (DST) status. Optionally filter by region.

Query Parameters

ParameterTypeRequiredDescription
regionstringNoFilter by top-level region, case-insensitive (e.g. Europe, America, Asia)

Example Request

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.isvalid.dev/v0/timezone/list?region=Europe"

Object Fields

FieldTypeDescription
timezonestringIANA timezone identifier
regionstring | nullTop-level region
utcOffsetstringCurrent UTC offset
abbreviationstringCurrent timezone abbreviation
isDSTbooleanWhether Daylight Saving Time is currently in effect

Example Response

[
  { "timezone": "Europe/Amsterdam", "region": "Europe", "utcOffset": "+01:00", "abbreviation": "CET", "isDST": false },
  { "timezone": "Europe/Berlin", "region": "Europe", "utcOffset": "+01:00", "abbreviation": "CET", "isDST": false },
  { "timezone": "Europe/Warsaw", "region": "Europe", "utcOffset": "+01:00", "abbreviation": "CET", "isDST": false },
  ...
]