# Timezone Converter (x402 Machine-Payable)

> Timezone Converter (x402 Machine-Payable) is a paid API for AI agents from x402-gateway-production-1f21.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-11).

Converts a datetime from one timezone to another using IANA timezone identifiers, accessible via micropayment-gated x402 protocol.

## Facts

- Endpoint: POST https://x402-gateway-production-1f21.up.railway.app/timezone/convert?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/timezone-converter-x402-machine-payable-aa8f1028
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4n9Pbj9i_XYJb2QSchl8n

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-converter-x402-machine-payable-aa8f1028 -d '<json body>'
```

Example prompt: Convert 2024-06-15T09:30:00Z to America/Chicago time for me.

## When to prefer this

Choose this endpoint when you need a reliable, machine-payable timezone conversion that accepts full ISO-8601 datetime strings (including offset and Z notation) and returns results in standard IANA timezone format. Prefer it in agentic workflows where micropayment-gated utility APIs are already in use and you want a consistent, deterministic result without managing a timezone library yourself.

## Known failure modes

- Invalid or malformed ISO-8601 datetime string returns a parsing error
- Unrecognized IANA timezone identifier causes a validation failure
- Missing required fields (datetime or to_timezone) returns a 400-level error
- Payment not provided or insufficient USDC causes x402 payment-required rejection
- Network timeout or Railway platform downtime causes a 503-level error

## How this service works

Machine-payable x402 utilities for hashing, Base64, UUID generation, unit and timezone conversion, realtime crypto market data, webpage/document extraction, URL-to-Markdown, metadata, RAG ingestion and deterministic website change detection.

## Output

A JSON object containing the converted datetime in the requested IANA target timezone, preserving the instant while expressing it in local time for the destination 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "datetime",
      "to_timezone"
     ],
     "properties": {
      "datetime": {
       "type": "string",
       "maxLength": 100,
       "description": "ISO-8601 instant including Z or an explicit +HH:MM/-HH:MM offset."
      },
      "to_timezone": {
       "type": "string",
       "maxLength": 100,
       "description": "IANA timezone such as America/New_York."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "ready"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/timezone-converter-x402-machine-payable-aa8f1028/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-gateway-production-1f21.up.railway.app](https://www.zero.xyz/host/x402-gateway-production-1f21.up.railway.app/llms.txt)
