# Trading Time API – DST Gap Detector

> Trading Time API – DST Gap Detector is a paid API for AI agents from trading-time-api.onrender.com, paid per call via x402, $0.012/call, status unknown (last checked 2026-10-19).

Returns whether a given timestamp falls inside a daylight-saving time gap between two timezone pairs (e.g. US and Europe) and the current clock difference in hours.

## Facts

- Endpoint: GET https://trading-time-api.onrender.com/v1/is-dst-gap?utm_source=zero.xyz
- Price: $0.012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trading-time-api-dst-gap-detector-dba594d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0Ooz5_-FmIERGJ-xKE0kX

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 trading-time-api-dst-gap-detector-dba594d0
```

Example prompt: Is there a DST gap between the US and Europe right now, and what's the current clock difference in hours? Check using the US-EU pair.

## When to prefer this

Use this endpoint when you need to programmatically detect DST transition gaps between specific international market timezone pairs (US-EU, US-UK, US-CH, EU-AU) and retrieve the exact clock offset in hours at a given moment. Prefer this over general timezone libraries when you need a lightweight, real-time API check specifically tuned for trading-relevant timezone pairs.

## Known failure modes

- Invalid or malformed ISO 8601 timestamp returns an error response
- Unsupported timezone pair value results in a validation error
- Missing required parameters may return a default-based response or error
- Service unavailability on Render infrastructure causes 503 timeouts

## How this service works

Returns whether a given time falls inside a daylight-saving gap between the US and Europe and the current clock difference in hours.

## Output

Returns a boolean indicating whether the given time falls inside a DST gap between the two specified timezone regions, along with the current clock difference in hours between them.

## 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": [],
     "properties": {
      "at": {
       "type": "string",
       "description": "Optional ISO 8601 time with offset, e.g. 2026-10-21T08:30:00Z. Default: now."
      },
      "pair": {
       "type": "string",
       "description": "Zone pair: US-EU, US-UK, US-CH or EU-AU. Default US-EU."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trading-time-api-dst-gap-detector-dba594d0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from trading-time-api.onrender.com](https://www.zero.xyz/host/trading-time-api.onrender.com/llms.txt)
