Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Trade Time Exchanges API
version: 1.0.0
summary: Global stock-exchange trading hours, sessions, holidays and early closes.
description: Free public API for the trading hours of global stock exchanges — sessions, public holidays, and early-close days. Factual data, compiled by hand from official exchange sources. Read-only, no account or key required. Use is subject to the API Terms of Use at https://tradeti.me/developers. The data is a convenience, not an authoritative or real-time source — always verify with the official exchange before any time-sensitive or financial decision.
contact:
name: Trade Time
url: https://tradeti.me/developers
email: feedback@tradeti.me
license:
name: API Terms of Use + Data License
url: https://tradeti.me/developers
servers:
- url: https://api.tradeti.me
description: Production
tags:
- name: Exchanges
paths:
/v1/exchanges:
get:
summary: List exchanges (summaries)
operationId: listExchanges
parameters:
- name: region
in: query
required: false
schema:
type: string
description: Filter by region, case-insensitive (e.g. Asia, Americas, Europe, Oceania).
responses:
'200':
description: A list of exchange summaries with a count
tags:
- Exchanges
/v1/exchanges/{id}:
get:
summary: Full record for one exchange
operationId: getExchange
parameters:
- name: id
in: path
required: true
schema:
type: string
description: Exchange id, case-insensitive (e.g. "nyse", "nikkei").
responses:
'200':
description: The full exchange record
'404':
description: Unknown exchange id
tags:
- Exchanges
/v1/exchanges/{id}/holidays:
get:
summary: Holidays and early closes for one exchange
operationId: getExchangeHolidays
parameters:
- name: id
in: path
required: true
schema:
type: string
description: Exchange id, case-insensitive (e.g. "nyse", "nikkei").
- name: year
in: query
required: false
schema:
type: string
pattern: ^\d{4}$
description: 4-digit calendar year (e.g. 2026 or 2027). Omit it to receive every holiday and early close stored on the record. A year the record does not carry returns empty lists. Any other value is a 400.
responses:
'200':
description: Holidays and early closes, optionally limited to ?year=. calendar2027.status is official (published by the exchange), estimated (not yet published by the exchange; derived from its own past calendar; may change), or mixed. entries[] adds per-date status and name. An early close may include name. holidays stay a list of dates.
'400':
description: Malformed ?year parameter (not a 4-digit year)
'404':
description: Unknown exchange id
tags:
- Exchanges
/v1/exchanges/{id}/sessions:
get:
summary: Trading-session structure for one exchange
operationId: getExchangeSessions
parameters:
- name: id
in: path
required: true
schema:
type: string
description: Exchange id, case-insensitive (e.g. "nyse", "nikkei").
- name: date
in: query
required: false
description: 'Exchange-local day (YYYY-MM-DD). Returns the sessions in effect that day: null on a holiday or weekend (with closedReason), main trimmed on an early close.'
schema:
type: string
pattern: ^\d{4}-\d{2}-\d{2}$
example: '2026-11-27'
- name: at
in: query
required: false
schema:
type: string
format: date-time
description: An ISO 8601 instant. Same as ?date for the exchange-local day that contains it. Use ?date or ?at, not both.
responses:
'200':
description: 'Without ?date/?at: the regular session structure (pre / main / post, exchange-local hours). From 2026-12-06 21:00 ET, nasdaq and nyse also include overnight [21, 4]; on nyse that band is NYSE Arca, not Tape A. Per-night open/closed (pause, Friday, holidays) is /status. With ?date or ?at: { id, timezone, date, sessions, regularSessions, closedReason, earlyClose } for that day.'
'400':
description: Malformed ?date or ?at, or both given
'404':
description: Unknown exchange id
tags:
- Exchanges
/v1/exchanges/{id}/status:
get:
summary: Live open/closed status for one exchange
operationId: getExchangeStatus
parameters:
- name: id
in: path
required: true
schema:
type: string
description: Exchange id, case-insensitive (e.g. "nyse", "nikkei").
- name: at
in: query
required: false
schema:
type: string
format: date-time
description: ISO 8601 instant to evaluate status at (defaults to now), e.g. 2026-07-06T14:30:00Z.
responses:
'200':
description: The exchange status (open flag, session type, time to next open). When a 2027 holiday or early close drives the result, calendarStatus and holidayStatus are official or estimated. estimated means the exchange has not published that date yet.
'400':
description: Malformed ?at parameter
'404':
description: Unknown exchange id
tags:
- Exchanges