# Reference Data API – IANA Time Zone Info & Conversion

> Reference Data API – IANA Time Zone Info & Conversion is a paid API for AI agents from reference-data-api.onrender.com, paid per call via x402, $0.0265/call, status unknown (last checked 2026-11-21).

Returns local time, UTC offset, abbreviation, and DST status for an IANA time zone, plus the next DST change and optional cross-zone time conversion.

## Facts

- Endpoint: GET https://reference-data-api.onrender.com/v1/timezone?utm_source=zero.xyz
- Price: $0.0265/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/reference-data-api-iana-time-zone-info-conversion-153cc2b8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YqqSWe55GLiehDTb2Zl2u

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 reference-data-api-iana-time-zone-info-conversion-153cc2b8
```

Example prompt: What's the current local time in Tokyo (Asia/Tokyo), is it on daylight saving time right now, and when does the next DST change happen?

## When to prefer this

Choose this endpoint when you need authoritative, structured timezone metadata — current local time, UTC offset, abbreviation, and DST status — for any IANA-named zone. It is especially useful when you also need to convert a specific timestamp between zones in a single call. Prefer it over a generic geocoding or weather API when the primary goal is timezone resolution rather than location or weather data.

## Known failure modes

- Invalid or unknown IANA zone name returns an error (e.g. 'America/FakeCity')
- Malformed ISO datetime string in 'time' parameter returns a parse error
- Missing required 'zone' query parameter returns a 400 Bad Request
- Network timeout from the Render-hosted service under cold-start conditions
- Zones with no DST (e.g. UTC, Asia/Kolkata) will return null for next DST change

## How this service works

Returns local time, UTC offset, abbreviation and DST status for an IANA time zone, the next daylight saving change, and optionally converts a time to another zone.

## Output

Returns the current local time, UTC offset (in hours/minutes), timezone abbreviation (e.g. EST, CET), and whether DST is currently active for the requested IANA zone. Also includes the date and time of the next daylight saving change. If a 'to' zone and optional 'time' are provided, also returns the equivalent time in the target zone.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "zone"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Second zone to convert to"
      },
      "time": {
       "type": "string",
       "description": "ISO time, default now"
      },
      "zone": {
       "type": "string",
       "description": "IANA time zone, e.g. Europe/Zurich, America/New_York, Asia/Tokyo"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/reference-data-api-iana-time-zone-info-conversion-153cc2b8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from reference-data-api.onrender.com](https://www.zero.xyz/host/reference-data-api.onrender.com/llms.txt)
