# Timezone Conversion API (Compute Revenue Lab)

> Timezone Conversion API (Compute Revenue Lab) is a paid API for AI agents from x402.bakdupoffroad.com, paid per call via x402, $0.001/call, status down (last checked 2026-09-15).

Converts a given datetime from one IANA timezone to another, returning full offset, weekday, ISO, and Unix timestamp details.

## Facts

- Endpoint: GET https://x402.bakdupoffroad.com/v1/utility/convert-timezone
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/timezone-conversion-api-compute-revenue-lab-ee71dbfd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_w0p0x03sbK2C7oZ68HSK1

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-conversion-api-compute-revenue-lab-ee71dbfd
```

Example prompt: Convert 2026-07-31T12:00:00Z from UTC to America/New_York and tell me the local time, UTC offset, and what day of the week it lands on.

## When to prefer this

Choose this endpoint when you need a structured, machine-readable timezone conversion with full offset, weekday, and Unix timestamp details in a single call, especially inside automated agent workflows that require IANA timezone precision and are already using x402 micropayment infrastructure on Base.

## Known failure modes

- Invalid or unrecognized IANA timezone string returns an error
- Malformed datetime string (non-ISO format) may cause parsing failure
- Missing required query parameters (time, from, to) results in a 400-level error
- Payment failure via x402 results in 402 response before processing begins

## How this service works

Private PDF preflight and authorized-video intelligence APIs paid per call with x402 USDC on Base.

## Output

Returns a JSON object with a jobId, the echoed input parameters, source timezone details (local ISO, offset, weekday, offsetMinutes), the shared instant in UTC (utcIso, unixSeconds, unixMilliseconds), and the converted timezone details (local ISO, offset, weekday, offsetMinutes), plus economics metadata about the call cost.

## 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",
     "properties": {
      "to": {
       "type": "string",
       "maxLength": 64
      },
      "from": {
       "type": "string",
       "maxLength": 64
      },
      "time": {
       "type": "string",
       "maxLength": 64
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "jobId",
      "result",
      "economics"
     ],
     "properties": {
      "jobId": {
       "type": "string"
      },
      "result": {
       "type": "object",
       "required": [
        "schemaVersion",
        "sourceSha256",
        "inputs",
        "instant",
        "source",
        "converted"
       ],
       "properties": {
        "inputs": {
         "type": "object",
         "required": [
          "time",
          "from",
          "to"
         ],
         "properties": {
          "to": {
           "type": "string"
          },
          "from": {
           "type": "string"
          },
          "time": {
           "type": "string"
          }
         },
         "additionalProperties": false
        },
        "source": {
         "type": "object"
        },
        "instant": {
         "type": "object"
        },
        "converted": {
         "type": "object"
        },
        "sourceSha256": {
         "type": "string",
         "pattern": "^[a-f0-9]{64}$"
        },
        "schemaVersion": {
         "type": "string",
         "const": "1"
        }
       },
       "additionalProperties": false
      },
      "economics": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "jobId": "00000000-0000-4000-8000-000000000000",
  "result": {
   "inputs": {
    "to": "America/New_York",
    "from": "UTC",
    "time": "2026-07-31T12:00:00Z"
   },
   "source": {
    "offset": "+00:00",
    "weekday": "Friday",
    "localIso": "2026-07-31T12:00:00.000+00:00",
    "timezone": "UTC",
    "offsetMinutes": 0
   },
   "instant": {
    "utcIso": "2026-07-31T12:00:00.000Z",
    "unixSeconds": 1785499200,
    "unixMilliseconds": 1785499200000
   },
   "converted": {
    "offset": "-04:00",
    "weekday": "Friday",
    "localIso": "2026-07-31T08:00:00.000-04:00",
    "timezone": "America/New_York",
    "offsetMinutes": -240
   },
   "sourceSha256": "0000000000000000000000000000000000000000000000000000000000000000",
   "schemaVersion": "1"
  },
  "economics": {
   "netMicroUsd": 1000,
   "energyMicroUsd": 0,
   "revenueMicroUsd": 1000,
   "platformFeeMicroUsd": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/timezone-conversion-api-compute-revenue-lab-ee71dbfd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.bakdupoffroad.com](https://www.zero.xyz/host/x402.bakdupoffroad.com/llms.txt)
