Skip to content

Market · Status, sessions and calendar

Market status

Trading state of the US equity market and health of the data areas.
GET/v1/market/statusmarketStatus
On this page

Whether the US equity market is open, closed or in extended hours, with the state of each venue group and flags for pre-market and after-hours trading, merged with the health of the platform's data areas: options, futures, stocks and indices (operational, degraded or outage). Cached for 2 seconds. Fields that could not be determined are null and meta.coverage.complete is false.

Example request

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

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

Parameters

This endpoint takes no parameters.

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

  • dataobjectrequiredMarket state.11 fields inside
    • after_hoursboolean | nullrequiredAfter-hours trading is in session.
    • componentsarray<object>requiredHealth of the data areas.2 fields inside
      • namestringrequiredData area.optionsfuturesstocksindices
      • statusstringrequiredHealth.operationaldegradedoutage
    • early_hoursboolean | nullrequiredPre-market trading is in session.
    • exchangesobjectrequiredState of the venue groups.3 fields inside
      • nasdaqstring | nullrequiredNasdaq state.openclosedextended_hoursnull
      • nysestring | nullrequiredNYSE state.openclosedextended_hoursnull
      • otcstring | nullrequiredOTC markets state.openclosedextended_hoursnull
    • marketstring | nullrequiredUS equity market state.openclosedextended_hoursnull
    • server_timeinteger | nullunix-msrequiredTime of the state. Unix epoch milliseconds (UTC).
  • metaobjectrequiredMeta object

Example response

{
  "data": {
    "after_hours": false,
    "components": [
      {
        "name": "options",
        "status": "operational"
      },
      {
        "name": "stocks",
        "status": "operational"
      }
    ],
    "early_hours": false,
    "exchanges": {
      "nasdaq": "open",
      "nyse": "open",
      "otc": "open"
    },
    "market": "open",
    "server_time": 1792159200000
  },
  "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.