# Timezone Converter API (LIN Desk Timetools)

> Timezone Converter API (LIN Desk Timetools) is a paid API for AI agents from lin-desk-x402.lindesk.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-11).

Converts a datetime string from one IANA timezone to another, returning the result as an ISO 8601 datetime string.

## Facts

- Endpoint: GET https://lin-desk-x402.lindesk.workers.dev/v1/timetools/tz_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-api-lin-desk-timetools-335fa43a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eFgbxhuhufa8z3351QUeT

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-api-lin-desk-timetools-335fa43a
```

Example prompt: Convert 2026-10-03T10:00:00 from UTC to America/New_York and give me the local time with the timezone offset.

## When to prefer this

Choose this endpoint when you need a fast, pay-per-call timezone conversion without API keys or signup. It is ideal for AI agents that occasionally need to localize datetimes for scheduling, display, or coordination tasks and want minimal setup overhead. Prefer this over heavy datetime libraries when operating in a serverless or agent context that supports x402 micropayments on Base.

## Known failure modes

- Invalid or unrecognized IANA timezone string returns an error
- Malformed datetime input string may return a parsing error or unexpected result
- Missing required 'input' datetime parameter returns a validation error
- Network or worker availability issues may cause timeout
- Payment failure via x402 may block the request

## How this service works

Pay-per-call API for AI agents: turn any public web page or PDF into clean, LLM-ready Markdown. $0.002 per call in USDC on Base via x402. No API key, no signup.

## Output

Returns a JSON object with the operation name ('tz_convert'), metadata including input/output character counts and elapsed milliseconds, and a 'result' field containing the converted datetime as an ISO 8601 string with the appropriate UTC offset (e.g. '2026-10-03T06:00:00-04:00').

## 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": [
      "input"
     ],
     "properties": {
      "input": {
       "type": "string",
       "description": "Datetime / unix / ISO string (empty for diff with a,b)"
      },
      "to_tz": {
       "type": "string",
       "description": "IANA timezone, e.g. Asia/Tokyo"
      },
      "from_tz": {
       "type": "string",
       "description": "IANA timezone, e.g. Asia/Tokyo"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "op": {
       "type": "string"
      },
      "meta": {
       "type": "object",
       "properties": {
        "chars_in": {
         "type": "integer"
        },
        "chars_out": {
         "type": "integer"
        },
        "elapsed_ms": {
         "type": "integer"
        }
       }
      },
      "result": {}
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "op": "tz_convert",
  "meta": {
   "chars_in": 19,
   "chars_out": 25,
   "elapsed_ms": 0
  },
  "result": "2026-10-03T13:00:00-04:00"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/timezone-converter-api-lin-desk-timetools-335fa43a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lin-desk-x402.lindesk.workers.dev](https://www.zero.xyz/host/lin-desk-x402.lindesk.workers.dev/llms.txt)
