TimezoneDB · Schema

ListTimeZoneResponse

Response schema for the TimezoneDB list-time-zone endpoint. Returns a list of all supported timezones, optionally filtered by country or zone name pattern.

TimezoneTimeGeographic CoordinatesDSTUTC OffsetTime ConversionLocation

Properties

Name Type Description
status string Query result status.
message string Error message; empty string if successful.
zones array Array of timezone entries.
View JSON Schema on GitHub

JSON Schema

list-time-zone-response.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/timezonedb/refs/heads/main/json-schema/list-time-zone-response.json",
  "title": "ListTimeZoneResponse",
  "description": "Response schema for the TimezoneDB list-time-zone endpoint. Returns a list of all supported timezones, optionally filtered by country or zone name pattern.",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "description": "Query result status.",
      "enum": ["OK", "FAILED"],
      "examples": ["OK"]
    },
    "message": {
      "type": "string",
      "description": "Error message; empty string if successful.",
      "examples": [""]
    },
    "zones": {
      "type": "array",
      "description": "Array of timezone entries.",
      "items": {
        "$ref": "#/$defs/TimeZoneEntry"
      }
    }
  },
  "required": ["status", "message"],
  "$defs": {
    "TimeZoneEntry": {
      "type": "object",
      "description": "A single timezone entry with location and offset information.",
      "properties": {
        "countryCode": {
          "type": "string",
          "description": "ISO 3166-1 alpha-2 country code of the timezone.",
          "minLength": 2,
          "maxLength": 2,
          "examples": ["AD", "US", "NZ"]
        },
        "countryName": {
          "type": "string",
          "description": "Full country name of the timezone.",
          "examples": ["Andorra", "United States", "New Zealand"]
        },
        "zoneName": {
          "type": "string",
          "description": "IANA timezone name identifier.",
          "examples": ["Europe/Andorra", "America/New_York", "Pacific/Auckland"]
        },
        "gmtOffset": {
          "type": "integer",
          "description": "The UTC offset in seconds. Positive values are east of UTC, negative are west.",
          "examples": [7200, -18000, 43200]
        },
        "dst": {
          "type": "integer",
          "description": "Daylight Saving Time flag. 0 = No DST, 1 = DST currently active.",
          "enum": [0, 1],
          "examples": [0, 1]
        },
        "timestamp": {
          "type": "integer",
          "description": "Current local time as a Unix timestamp.",
          "examples": [1464453737]
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/list-time-zone-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.