Skip to content

Market · Status, sessions and calendar

Market sessions

Trading sessions of an asset class on a date.
GET/v1/market/sessionsmarketSessions
On this page

The session windows of a trading date: stocks (pre_market 04:00, regular 09:30 to 16:00, after_hours until 20:00 Eastern), options (regular, overnight, curb) and futures (globex). Early-close days shorten regular and after-hours trading; weekends and market holidays have no sessions. Without asset every class is returned.

Example request

curl -sS "https://api.ordermap.si/v1/market/sessions" \
  -H "Authorization: Bearer $ORDERMAP_API_KEY"

Set ORDERMAP_API_KEY to your key. Replace the dates with a recent trading date.

Parameters

2 parameters, none required.

ParameterType and limitsDescription
assetqueryoptionalstringfuturesoptionsstocksAsset class: stocks, options or futures. Defaults to all.
datequeryoptionalstringdateTrading date, YYYY-MM-DD. Defaults to the current exchange date.

Response

StatusMeaningBody
200Successful response.Schema below
400Invalid, unknown or repeated parameters, or an invalid cursor.Error object
401Missing or invalid API key.Error object
403The plan, dataset release or account state does not allow this request.Error object
429Rate limit, burst limit or cooldown; wait Retry-After seconds.Retry-AfterError object
500Internal error.Error object
503Data temporarily unavailable; retry after Retry-After seconds.Retry-AfterError object
504The request timed out.Error object

Authenticated responses carry the X-RateLimit-* headers (see rate limits); 429 and 503 add Retry-After.

200 response body

  • dataarray<object>required6 fields inside
    • assetstringrequiredAsset class.stocksoptionsfutures
    • end_timeintegerunix-msrequiredEnd of the session. Unix epoch milliseconds (UTC).
    • sessionstringrequiredSession name: pre_market, regular, after_hours, overnight, curb or globex.
    • start_timeintegerunix-msrequiredStart of the session. Unix epoch milliseconds (UTC).
    • statusstringrequiredA normal day or an early close.regularearly_close
    • trading_datestringdaterequiredTrading date.
  • metaobjectrequiredMeta object

Example response

{
  "data": [
    {
      "asset": "stocks",
      "end_time": 1792180800000,
      "session": "regular",
      "start_time": 1792157400000,
      "status": "regular",
      "trading_date": "2026-10-16"
    }
  ],
  "meta": {
    "as_of": 1760659200123,
    "coverage": {
      "complete": true
    },
    "delay_ms": 0,
    "delayed": false,
    "request_id": "0199f0c2-5a1e-7c3b-9d4e-2b6f8a1c3d5e",
    "source": "derived"
  }
}

Values are illustrative. Missing values are null, never 0.