# Time Zone Conversion API (x402)

> Time Zone Conversion API (x402) is a paid API for AI agents from x402-data-api-x6da.onrender.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-20).

Converts a given date/time from a source timezone to one or more target IANA timezones, returning local times, UTC offsets, DST status, and weekday names.

## Facts

- Endpoint: GET https://x402-data-api-x6da.onrender.com/v1/time/convert?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/time-zone-conversion-api-x402-1f3ef16b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CTCpr2V-RNuEVTkFceHw8

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 time-zone-conversion-api-x402-1f3ef16b
```

Example prompt: Convert 9:30am New York time on November 1st 2026 to Europe/London and Asia/Tokyo — tell me the local time, UTC offset, whether DST is active, and the day of the week in each zone.

## When to prefer this

Choose this endpoint when you need authoritative IANA-backed timezone conversions with DST awareness, UTC offsets, and weekday metadata for one or multiple target zones in a single call, especially in agent workflows that need pay-per-call pricing with no API key or sign-up. Prefer it over client-side libraries when you need a verified, database-backed answer for scheduling or compliance use cases.

## Known failure modes

- Invalid or unrecognized IANA timezone name returns an error
- Malformed ISO 8601 datetime string causes a parsing error
- Missing required 'to' parameter results in no target conversions
- Payment not fulfilled via x402 returns a 402 Payment Required response
- Ambiguous wall-clock times during DST transitions may be resolved to one side without warning

## How this service works

Pay-per-call data and web utilities for AI agents: web page to Markdown, SEO audit, email check, domain RDAP/DNS and mail security, ECB FX rates, time zones and business days, SEC EDGAR search and fundamentals, Federal Register, USAspending, weather and NWS alerts, VIN, NPI, ATS jobs. USDC on Base via x402, no sign-up.

## Output

A JSON object with the original input datetime expressed in its source timezone (zone, local ISO time, UTC offset, DST flag, weekday, abbreviation), the canonical UTC equivalent, a source attribution ('IANA tz database'), and an array of results for each requested target timezone containing the same fields: zone name, local ISO datetime, UTC offset, DST flag, weekday name, and timezone abbreviation.

## 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",
     "properties": {
      "to": {
       "type": "string",
       "description": "comma list of IANA zones"
      },
      "time": {
       "type": "string",
       "description": "ISO 8601; naive times are read in from_tz"
      },
      "from_tz": {
       "type": "string",
       "description": "IANA zone, default UTC"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "utc": {
       "type": "string"
      },
      "input": {
       "type": "object",
       "properties": {
        "zone": {
         "type": "string"
        },
        "local": {
         "type": "string"
        },
        "is_dst": {
         "type": "boolean"
        },
        "weekday": {
         "type": "string"
        },
        "utc_offset": {
         "type": "string"
        },
        "abbreviation": {
         "type": "string"
        }
       }
      },
      "source": {
       "type": "string"
      },
      "results": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "zone": {
          "type": "string"
         },
         "local": {
          "type": "string"
         },
         "is_dst": {
          "type": "boolean"
         },
         "weekday": {
          "type": "string"
         },
         "utc_offset": {
          "type": "string"
         },
         "abbreviation": {
          "type": "string"
         }
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "utc": "2026-11-01T14:30:00Z",
  "input": {
   "zone": "America/New_York",
   "local": "2026-11-01T09:30:00-05:00",
   "is_dst": false,
   "weekday": "Sunday",
   "utc_offset": "-05:00",
   "abbreviation": "EST"
  },
  "source": "IANA tz database (public domain)",
  "results": [
   {
    "zone": "Europe/London",
    "local": "2026-11-01T14:30:00+00:00",
    "is_dst": false,
    "weekday": "Sunday",
    "utc_offset": "+00:00",
    "abbreviation": "GMT"
   },
   {
    "zone": "Asia/Tokyo",
    "local": "2026-11-01T23:30:00+09:00",
    "is_dst": false,
    "weekday": "Sunday",
    "utc_offset": "+09:00",
    "abbreviation": "JST"
   }
  ]
 }
}
```

## More

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