Skip to main content
Developers

Market sessions

Whether the Tokyo, London and New York stock exchanges are open, as JAFX Terminal's top bar shows them: each one's status, when it opens or closes next, today's holiday or early close, and its next holiday. Your program reads them with GET /market-sessions, an assistant with the MCP tool get_market_sessions, both with market:read.

The exchanges' hours, not an instrument's

These are the exchanges' own cash-market hours (TSE, LSE and NYSE). JAFX's instruments trade on their own hours, often longer, the indices and shares on these exchanges included: each instrument's hours are its trading_hours in GET /symbols (see Orders & positions). A closed exchange doesn't mean its index can't be traded.

An exchange

JSON
{
  "id": "nyse",
  "name": "New York",
  "exchange": "NYSE",
  "time_zone": "America/New_York",
  "status": "open",
  "opened_at": "2026-11-27T14:30:00.000Z",
  "closes_at": "2026-11-27T18:00:00.000Z",
  "closes_for_lunch": false,
  "opens_at": null,
  "next_change_at": "2026-11-27T18:00:00.000Z",
  "holiday_today": null,
  "early_close_today": {"local_time": "13:00", "at": "2026-11-27T18:00:00.000Z", "name": "Day after Thanksgiving"},
  "next_holiday": null,
  "holidays_known": true
}
FieldMeaning
id, name, exchange, time_zonetse Tokyo (TSE, Asia/Tokyo), lse London (LSE, Europe/London), nyse New York (NYSE, America/New_York), in that order.
statusopen, lunch_break (Tokyo, 11:30–12:30 local), closed, or holiday: closed all day for holiday_today.
opened_at, closes_atWhile open: when the session opened and when it closes, or, with closes_for_lunch: true, when the lunch break starts.
opens_atWhile closed or at lunch: when the next session starts, weekends and holidays skipped.
next_change_atThe next moment its status changes.
holiday_todayThe holiday it is closed for today, or null.
early_close_todayToday's early close (the local time, the same moment in UTC, and why), or null.
next_holidayIts next weekday holiday within 14 days (the local date and its name), or null.
holidays_knownfalse past the end of the exchange's published holiday calendar: the hours still hold, its holidays aren't known.

Times are UTC. Hours, holidays and early closes come from the exchanges' own published calendars; daylight saving follows each exchange's time zone.

Read them: GET /market-sessions

curl
curl -s "https://terminal.jafx.com/trading-api/v1/market-sessions?symbol=US30" \
  -H "Authorization: Bearer $JAFX_API_KEY"
JSON
{"as_of": "2026-11-27T15:00:00.000Z", "valid_until": "2026-11-27T16:30:00.000Z",
 "exchanges": [{"id": "tse", "status": "closed", "…": "…"}, {"id": "lse", "status": "open", "…": "…"}, {"id": "nyse", "status": "open", "…": "…"}],
 "note": "The stock exchanges' own cash-market hours…", "symbol": "US30", "exchange_for_symbol": "nyse"}

as_of is when the answer was made, and valid_until when one of them next changes, or a local midnight moves a holiday on: no need to ask again before then. With symbol, the answer also names exchange_for_symbol, the exchange whose hours matter for that market, as the terminal highlights it: nyse for US indices and US shares, lse for UK100, tse for JP225, and null for currencies, metals, energies and crypto. A market JAFX doesn't list answers 404 symbol_not_available.

Ask an assistant: get_market_sessions

Over MCP, get_market_sessions with an optional symbol answers the same JSON. It is marked read-only. The check-before-trade prompt uses it, for an index or a share, to say whether its exchange is open.

Automated and AI-driven trading can lose money quickly; nothing in these docs is investment advice.

JAFX (PTY) LTD · FSCA FSP No. 52058 · Trading leveraged derivatives with JAFX carries a high risk of losing money rapidly. It is not suitable for everyone.