# Trading Time API – Forex Sessions Status

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

Returns which of the four major forex trading sessions (Sydney, Tokyo, London, New York) are currently open, whether any sessions overlap, and the next opening time for each session.

## Facts

- Endpoint: GET https://trading-time-api.onrender.com/v1/fx-sessions?utm_source=zero.xyz
- Price: $0.011/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-forex-sessions-status-e424e793
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7zA9WFVKIF_RS8_EIno11

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-forex-sessions-status-e424e793
```

Example prompt: Which forex trading sessions are open right now, and are any of them overlapping? Also tell me when the next London session opens.

## When to prefer this

Choose this endpoint when you need real-time or point-in-time status of all four major forex sessions simultaneously, including overlap detection and next-open forecasting. Prefer this over manual timezone calculations or generic market-hours APIs when you specifically need forex session logic (not stock exchange hours, which are served by a sibling endpoint on the same host).

## Known failure modes

- Invalid or malformed ISO 8601 timestamp returns a 400 error
- Missing required HTTP method header causes a 400 or 422 validation error
- Payment failure (insufficient USDC) returns a 402 Payment Required response
- Server may be cold-starting on Render's free tier, causing initial latency or timeout
- Querying very far future or past dates may yield unexpected results if not validated

## How this service works

Returns which forex trading sessions (Sydney, Tokyo, London, New York) are open at a given time, whether sessions overlap, and the next opening of each session.

## Output

A structured response indicating, for each major forex session (Sydney, Tokyo, London, New York): whether it is currently open or closed, whether any sessions are overlapping at the queried time, and the datetime of the next opening for each session. If no timestamp is provided, the response reflects the current moment.

## 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."
      }
     }
    }
   },
   "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-forex-sessions-status-e424e793/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)
