# 1gateway Time Zone Converter

> 1gateway Time Zone Converter is a paid API for AI agents from 1gateway.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Converts a local time from one timezone to multiple target timezones, returning UTC instant, Unix timestamp, and per-zone details including DST status and business-hours flag

## Facts

- Endpoint: GET https://1gateway.dev/v1/time/convert?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/1gateway-time-zone-converter-7a95ca8b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JBmFlJFxNRpx2r0aeSXj8

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 1gateway-time-zone-converter-7a95ca8b
```

Example prompt: What time will it be in New York and London when it's 9am on October 12 2026 in Seoul — and is that within business hours for each city?

## When to prefer this

Choose this endpoint when you need authoritative, DST-aware multi-timezone conversion with business-hours awareness in a single call — especially when scheduling across 2–25 time zones simultaneously or when you need to know weekday, DST status, and offset all at once without assembling that from separate libraries or guessing DST rules yourself.

## Known failure modes

- Unknown or misspelled IANA zone name returns an error for that zone
- Invalid ISO 8601 format in the time parameter returns a 400 bad request
- More than 25 target zones in the 'to' parameter is rejected
- Ambiguous local time during DST fallback may produce a warning note
- Payment failure (x402) blocks the call before processing

## How this service works

Use when scheduling across time zones or turning a local time into UTC without guessing DST. Input: to (IANA zones or KST, PST, CET...), optional from (zone of a local time, default UTC), time (ISO 8601, Unix seconds, or now). Output: JSON UTC instant, Unix time, and per zone: local ISO time with offset, weekday, abbreviation, DST and business-hours flags, day difference. Example: ?time=2026-10-12T09:00&from=Asia/Seoul&to=America/New_York,Europe/London

## Output

A JSON object containing the resolved UTC instant, Unix timestamp, source zone details (local ISO time, weekday, offset, abbreviation, DST flag), and an array of target zone objects each with: local ISO time, date, time, weekday, UTC offset in string and minutes, abbreviation, DST boolean, business-hours boolean, day difference from source, and hours ahead of source. Also includes any notes such as DST transition warnings.

## 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": [
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "pattern": "^[A-Za-z0-9_+\\-/]+(\\s*,\\s*[A-Za-z0-9_+\\-/]+){0,24}$",
       "examples": [
        "America/New_York,Europe/London"
       ],
       "description": "1–25 target zones, comma-separated (IANA names like Asia/Seoul, UTC, or abbreviations like KST, PST, CET)"
      },
      "from": {
       "type": "string",
       "default": "UTC",
       "pattern": "^[A-Za-z0-9_+\\-/]+$",
       "examples": [
        "Asia/Seoul"
       ],
       "description": "Zone of the input local time (default UTC; ignored when time has an offset)"
      },
      "time": {
       "type": "string",
       "default": "now",
       "pattern": "^(now|\\d{9,13}|\\d{4}-\\d{2}-\\d{2}([T ]\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?)?\\s*(Z|z|[+-]\\d{2}:?\\d{2})?)$",
       "examples": [
        "2026-10-12T09:00"
       ],
       "description": "ISO 8601 date-time (2026-10-12T09:00, 2026-10-12T09:00:00+09:00), Unix seconds/ms, or now"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "input",
      "utc",
      "unix",
      "from",
      "to",
      "notes"
     ],
     "properties": {
      "to": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "date": {
          "type": "string"
         },
         "time": {
          "type": "string"
         },
         "zone": {
          "type": "string"
         },
         "isDst": {
          "type": "boolean"
         },
         "local": {
          "type": "string"
         },
         "dayDiff": {
          "type": "integer"
         },
         "weekday": {
          "type": "string"
         },
         "utcOffset": {
          "type": "string"
         },
         "abbreviation": {
          "type": "string"
         },
        
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/1gateway-time-zone-converter-7a95ca8b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 1gateway.dev](https://www.zero.xyz/host/1gateway.dev/llms.txt)
