# Time Zone UTC Offset Difference

> Time Zone UTC Offset Difference is a paid API for AI agents from timezone-time.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Returns the hours of difference between two IANA time zones on a given date, including each zone's UTC offset and daylight saving awareness.

## Facts

- Endpoint: GET https://timezone-time.x402tookit.com/tz-offset-diff?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/time-zone-utc-offset-difference-506c66d4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fHeThenzxbO18Z8VczLEz

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-utc-offset-difference-506c66d4
```

Example prompt: What's the time difference in hours between America/New_York and Europe/London on March 10, 2025 — I need to know the exact offset gap accounting for daylight saving?

## When to prefer this

Use this endpoint when you need the exact numeric hour difference between two specific IANA time zones on a particular calendar date, especially when daylight saving transitions affect the offset. It is better than a simple UTC offset lookup when the date matters (e.g., around DST transitions) and when you need both offsets plus the difference in a single call rather than two separate lookups.

## Known failure modes

- Invalid IANA zone name returns null fields or an error verdict
- Unrecognized date format falls back to today (UTC) rather than erroring
- Historical dates far outside DST database coverage may return degraded results
- Network timeout or upstream unavailability returns HTTP error

## How this service works

Hours of difference between two IANA time zones on a given date, with each offset, accounting for daylight saving.

## Output

A JSON object containing: UTC offset strings for both zones (e.g. '+05:30'), the numeric hours B is ahead of A (hoursBAheadOfA), a human-readable summary, a verdict, the date queried, a source, a disclaimer, and optional degraded/notChecked flags if data quality is reduced.

## 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": [
      "a",
      "b"
     ],
     "properties": {
      "a": {
       "type": "string",
       "description": "First zone"
      },
      "b": {
       "type": "string",
       "description": "Second zone"
      },
      "date": {
       "type": "string",
       "description": "YYYY-MM-DD, default today (UTC)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "a": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "tz": {
         "type": [
          "null",
          "string"
         ]
        },
        "utcOffset": {
         "type": [
          "null",
          "string"
         ]
        }
       }
      },
      "b": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "tz": {
         "type": [
          "null",
          "string"
         ]
        },
        "utcOffset": {
         "type": [
          "null",
          "string"
         ]
        }
       }
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "date": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }

… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/time-zone-utc-offset-difference-506c66d4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from timezone-time.x402tookit.com](https://www.zero.xyz/host/timezone-time.x402tookit.com/llms.txt)
