# Country Facts – IANA Time Zones for a Country

> Country Facts – IANA Time Zones for a Country is a paid API for AI agents from country-facts.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Returns all IANA time zones for a given country with UTC offsets, daylight-saving flags, and distinct offset counts at a specified moment in time.

## Facts

- Endpoint: GET https://country-facts.x402tookit.com/timezones?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/country-facts-iana-time-zones-for-a-country-9f31582f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hOzoLAknubUc9d-uoFr4z

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability country-facts-iana-time-zones-for-a-country-9f31582f
```

Example prompt: What are all the IANA time zones for Australia right now, including their UTC offsets and whether each one is currently observing daylight saving time?

## When to prefer this

Choose this endpoint when you need a precise, machine-readable list of IANA time zone identifiers for a specific country, optionally at a historical or future point in time, including daylight saving status. Prefer this over generic time zone libraries when you need authoritative zone coverage per country with DST flags evaluated at a specific moment, or when enriching scheduling and localization workflows that require per-country zone enumeration.

## Known failure modes

- Unknown or misspelled country name/code returns an error or empty result
- Invalid timestamp format for 'at' parameter causes a parse error
- Country with no defined IANA zones may return an empty zones array
- Network or upstream data source unavailability results in a degraded or error response
- Payment failure (x402) prevents the response from being returned

## How this service works

IANA time zones for a country with UTC offsets and daylight-saving flags at a given moment (default now).

## Output

Returns a JSON object containing the country's name and ISO codes (alpha2, alpha3), the moment evaluated (asOf), a list of IANA time zone objects each with zone name, area, UTC offset string, UTC offset in minutes, and a daylight-saving boolean, plus the total zone count, an array of distinct UTC offset values in minutes, a human-readable summary, and optional degraded/disclaimer flags.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "country"
     ],
     "properties": {
      "at": {
       "type": "string",
       "description": "UTC moment, e.g. 2026-07-15 or 2026-07-15T12:00Z (default now)"
      },
      "country": {
       "type": "string",
       "description": "ISO code or English name, e.g. Australia"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "at": {
       "type": [
        "null",
        "string"
       ]
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "zones": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "area": {},
         "zone": {
          "type": [
           "null",
           "string"
          ]
         },
         "utcOffset": {
          "type": [
           "null",
           "string"
          ]
         },
         "observesDst": {
          "type": [
           "boolean",
           "null"
          ]
         },
         "utcOffsetMinutes": {
          "type": [
           "null",
           "number"
          ]
         }
        }
       }
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "country": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "name": {
         "type": [
          "null",
          "string"
         ]
        },
        "alpha2": {
         "type": [
          "null",
          "string"
         ]
        },
        "alpha3": {
         "type": [
          "null",
          "string"
         ]
        }
       }
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ]
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
     
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/country-facts-iana-time-zones-for-a-country-9f31582f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from country-facts.x402tookit.com](https://www.zero.xyz/host/country-facts.x402tookit.com/llms.txt)
