> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ondo.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Current Market Status

> This endpoint retrieves the current status of the market, including whether it is open or closed, and any relevant information about trading pauses or restrictions. When the market is not open, the response provides details about the closure reason and expected reopening time.

**Typical Market Sessions**

The following table outlines the standard market sessions with brief transitional pauses between each session period.

| **Session**      | **Start Time**  | **End Time**   |
|:-----------------|:---------------:|:--------------:|
| Pause            | 3:55 AM ET      | 4:01 AM ET     |
| **Premarket**    | **4:01 AM ET**  | **9:29 AM ET** |
| Pause            | 9:29 AM ET      | 9:31 AM ET     |
| **Regular**      | **9:31 AM ET**  | **3:59 PM ET** |
| Pause            | 3:59 PM ET      | 4:01 PM ET     |
| **Postmarket**   | **4:01 PM ET**  | **7:59 PM ET** |
| Pause            | 7:59 PM ET      | 8:05 PM ET     |
| **Overnight**    | **8:05 PM ET**  | **3:55 AM ET** |

**Typical Holidays**

GM observes the same holiday schedule as the [New York Stock Exchange](https://www.nyse.com/markets/hours-calendars). This includes early closes and observed holidays.

**Unscheduled Downtime**

In the case of unscheduled downtime, trading may be paused without prior notice. This includes unexpected outages or maintenance events that impact GM's functionality.

**Market Status Reason Codes**

When the market is not open, the response will include a `reason` field which may include one of the following common codes:
- `MARKET_CLOSED`: Market is closed.
- `MARKET_PAUSED`: Market is temporarily paused.

**Off-Hours Trading**

The `offhours` object reports the off-hours trading window as a parallel track alongside the conventional sessions. `marketStatus`, `isOpen`, `nextOpenSession`, `nextOpen`, and `nextClose` only reflect the four conventional sessions (regular, premarket, postmarket, overnight); a weekend or holiday with no active conventional session reads as `closed` on these fields. Off-hours tradability is reported separately via `offhours.isOpen`, `offhours.nextOpen`, and `offhours.nextClose`. The `offhours.nextOpen` and `offhours.nextClose` schedule fields are reported regardless of the off-hours global switch, while `offhours.isOpen` is true only when the off-hours window is tradable.

**Asset Tradability**
This endpoint only returns market-wide closures. For per-asset tradability, use the following endpoints:
  * Individual assets may pause for dividends and other events, as indicated by `/v1/status/assets`. (See [Get Asset Statuses](https://docs.ondo.finance/api-reference/status/get-asset-statuses))
  * Certain assets do not trade during the overnight and pre/postmarket session, as indicated by `/v1/assets/{symbol}/market`. (See [Get Market Data for an Asset](https://docs.ondo.finance/api-reference/assets/get-market-data-for-an-asset) / [Get Market Data for All Supported Assets](https://docs.ondo.finance/api-reference/assets/get-market-data-for-all-supported-assets))


For caching details on this endpoint, please see: [Endpoint Caching](https://docs.ondo.finance/api-reference/endpoint-caching).




## OpenAPI

````yaml /openapi.json get /v1/status/market
openapi: 3.0.4
info:
  title: GM Backend API
  description: An API spec for the Ondo GM Backend API.
  version: 1.0.0
servers:
  - url: https://api.gm.ondo.finance
    description: GM Backend API
security: []
tags:
  - name: Attestations
    description: Get Mint and Redeem Attestations
  - name: Assets
    description: Get Asset Price Information
  - name: Tickers
    description: Get Ticker Information
  - name: Chains
    description: Get On Chain Data
  - name: Limits
    description: Get Trading Limits
  - name: Status
    description: Get Market and Trading Statuses
paths:
  /v1/status/market:
    get:
      tags:
        - Status
      summary: Get Current Market Status
      description: >
        This endpoint retrieves the current status of the market, including
        whether it is open or closed, and any relevant information about trading
        pauses or restrictions. When the market is not open, the response
        provides details about the closure reason and expected reopening time.


        **Typical Market Sessions**


        The following table outlines the standard market sessions with brief
        transitional pauses between each session period.


        | **Session**      | **Start Time**  | **End Time**   |

        |:-----------------|:---------------:|:--------------:|

        | Pause            | 3:55 AM ET      | 4:01 AM ET     |

        | **Premarket**    | **4:01 AM ET**  | **9:29 AM ET** |

        | Pause            | 9:29 AM ET      | 9:31 AM ET     |

        | **Regular**      | **9:31 AM ET**  | **3:59 PM ET** |

        | Pause            | 3:59 PM ET      | 4:01 PM ET     |

        | **Postmarket**   | **4:01 PM ET**  | **7:59 PM ET** |

        | Pause            | 7:59 PM ET      | 8:05 PM ET     |

        | **Overnight**    | **8:05 PM ET**  | **3:55 AM ET** |


        **Typical Holidays**


        GM observes the same holiday schedule as the [New York Stock
        Exchange](https://www.nyse.com/markets/hours-calendars). This includes
        early closes and observed holidays.


        **Unscheduled Downtime**


        In the case of unscheduled downtime, trading may be paused without prior
        notice. This includes unexpected outages or maintenance events that
        impact GM's functionality.


        **Market Status Reason Codes**


        When the market is not open, the response will include a `reason` field
        which may include one of the following common codes:

        - `MARKET_CLOSED`: Market is closed.

        - `MARKET_PAUSED`: Market is temporarily paused.


        **Off-Hours Trading**


        The `offhours` object reports the off-hours trading window as a parallel
        track alongside the conventional sessions. `marketStatus`, `isOpen`,
        `nextOpenSession`, `nextOpen`, and `nextClose` only reflect the four
        conventional sessions (regular, premarket, postmarket, overnight); a
        weekend or holiday with no active conventional session reads as `closed`
        on these fields. Off-hours tradability is reported separately via
        `offhours.isOpen`, `offhours.nextOpen`, and `offhours.nextClose`. The
        `offhours.nextOpen` and `offhours.nextClose` schedule fields are
        reported regardless of the off-hours global switch, while
        `offhours.isOpen` is true only when the off-hours window is tradable.


        **Asset Tradability**

        This endpoint only returns market-wide closures. For per-asset
        tradability, use the following endpoints:
          * Individual assets may pause for dividends and other events, as indicated by `/v1/status/assets`. (See [Get Asset Statuses](https://docs.ondo.finance/api-reference/status/get-asset-statuses))
          * Certain assets do not trade during the overnight and pre/postmarket session, as indicated by `/v1/assets/{symbol}/market`. (See [Get Market Data for an Asset](https://docs.ondo.finance/api-reference/assets/get-market-data-for-an-asset) / [Get Market Data for All Supported Assets](https://docs.ondo.finance/api-reference/assets/get-market-data-for-all-supported-assets))


        For caching details on this endpoint, please see: [Endpoint
        Caching](https://docs.ondo.finance/api-reference/endpoint-caching).
      operationId: getMarketStatus
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMarketStatusResponse'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                error:
                  value:
                    message: missing API key
                    code: MISSING_API_KEY
        '500':
          description: >-
            An internal server error occurred. Please see the returned message
            and documentation for details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                error:
                  value:
                    message: >-
                      An internal server error occurred. Please see the returned
                      message and documentation for details.
                    code: INTERNAL_ERROR
      security:
        - apiKey: []
components:
  schemas:
    GetMarketStatusResponse:
      type: object
      properties:
        timestamp:
          type: string
          description: The UTC timestamp of the market status check in ISO 8601 format.
          example: '2025-08-20T21:03:02Z'
        isOpen:
          type: boolean
          description: Indicates whether the market is currently open or closed to trading.
          example: true
        marketStatus:
          type: string
          description: >-
            The current status of the market. `offhours` indicates an off-hours
            session (such as weekends, the window after the Friday postmarket
            close, or eligible holidays) during which trading is enabled for
            assets that opt in to off-hours trading. Off-hours is only reported
            when off-hours trading is enabled; otherwise the same windows report
            as `closed`.
          enum:
            - regular
            - premarket
            - postmarket
            - overnight
            - offhours
            - paused
            - closed
          example: postmarket
        nextOpenSession:
          type: string
          description: >-
            The next market open session of the market. May be `offhours` when
            the next available trading window is an off-hours session.
          enum:
            - regular
            - premarket
            - postmarket
            - overnight
            - offhours
          example: overnight
        nextOpen:
          type: string
          description: The next market open time in ISO 8601 format (UTC).
          example: '2025-08-21T00:05:00Z'
        nextClose:
          type: string
          description: The next market close time in ISO 8601 format (UTC).
          example: '2025-08-20T23:59:00Z'
        reason:
          allOf:
            - $ref: '#/components/schemas/MarketStatusReason'
            - example: null
        offhours:
          $ref: '#/components/schemas/OffhoursStatus'
      required:
        - timestamp
        - isOpen
        - marketStatus
        - nextOpenSession
        - offhours
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
          description: A human-readable message providing more details about the error.
        documentation:
          type: string
          description: A URL to the relevant documentation for this error.
        code:
          type: string
          description: >-
            A reason code identifying the specific type of error. See the Error
            Codes reference for a full list of possible values.
      required:
        - code
        - message
    MarketStatusReason:
      description: Reason for market closure or pause.
      allOf:
        - $ref: '#/components/schemas/ReasonBase'
        - type: object
          properties:
            code:
              $ref: '#/components/schemas/MarketStatusReasonCode'
          required:
            - code
    OffhoursStatus:
      type: object
      description: >-
        Status of the off-hours trading window, surfaced as a parallel track
        alongside the conventional session fields. The off-hours window is
        reported independently of the conventional sessions: `marketStatus` and
        `isOpen` reflect only the four conventional sessions (regular,
        premarket, postmarket, overnight), while this object reports off-hours
        tradability separately.
      properties:
        isOpen:
          type: boolean
          description: >-
            Indicates whether off-hours trading is currently open. This is true
            only while the off-hours window is tradable and the off-hours global
            switch is on.
          example: false
        nextOpen:
          type: string
          description: >-
            The next off-hours window open time in ISO 8601 format (UTC).
            Reported regardless of the off-hours global switch.
          example: '2026-06-19T00:05:00Z'
        nextClose:
          type: string
          description: >-
            The next off-hours window close time in ISO 8601 format (UTC).
            Reported regardless of the off-hours global switch.
          example: '2026-06-21T23:55:00Z'
      required:
        - isOpen
        - nextOpen
        - nextClose
    ReasonBase:
      type: object
      properties:
        message:
          type: string
          description: The human-readable message describing the reason
          example: Weekend/Holiday
        documentation:
          type: string
          description: Additional documentation or reference
          example: https://docs.ondo.finance/
      required:
        - message
        - documentation
    MarketStatusReasonCode:
      type: string
      enum:
        - MARKET_CLOSED
        - MARKET_PAUSED
      description: The code indicating the reason for the market status.
  securitySchemes:
    apiKey:
      type: apiKey
      name: x-api-key
      in: header

````