# Timezone Convert

> Timezone Convert is a paid API for AI agents from agent-chain-kit-solana.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Converts a datetime string from one timezone to another, returning the localized datetime and UTC offset in seconds.

## Facts

- Endpoint: GET https://agent-chain-kit-solana.vercel.app/v1/timezone-convert?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/timezone-convert-8fcb52d4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_j0u7v4Pc6OiLrpRj4zXsc

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 timezone-convert-8fcb52d4
```

Example prompt: Convert 2026-01-01T12:00:00 from UTC to America/New_York and tell me the resulting local time and UTC offset.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call timezone conversion without maintaining any API key or SDK. It is ideal for AI agents that occasionally need to localize timestamps for display or scheduling without embedding a full datetime library. Useful when the source timezone is known and you need the exact ISO 8601 result and numeric UTC offset in one call.

## Known failure modes

- Invalid or unrecognized timezone string (e.g. misspelled IANA timezone) returns an error
- Malformed datetime string that cannot be parsed returns a 400-level error
- Missing required query parameters (datetime or to_tz) returns a validation error
- Edge cases around DST transitions may produce unexpected offsets

## How this service works

Global current weather, hourly forecasts, foreign-exchange rates, EVM reads, and deterministic utilities for AI agents. Pay per call with MPP or x402; no API key.

## Output

Returns the original input datetime, the target timezone, the source timezone, the converted ISO 8601 datetime in the target timezone, and the UTC offset in seconds (e.g., -18000 for UTC-5).

## 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": [
      "datetime",
      "to_tz"
     ],
     "properties": {
      "to_tz": {
       "type": "string"
      },
      "from_tz": {
       "type": "string"
      },
      "datetime": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "input": "2026-01-01T12:00:00",
  "to_tz": "America/New_York",
  "from_tz": "UTC",
  "datetime": "2026-01-01T07:00:00-05:00",
  "utc_offset_seconds": -18000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/timezone-convert-8fcb52d4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-chain-kit-solana.vercel.app](https://www.zero.xyz/host/agent-chain-kit-solana.vercel.app/llms.txt)
