> ## 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.

**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 /gm-be-api-spec.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.


        **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.
          enum:
            - regular
            - premarket
            - postmarket
            - overnight
            - paused
            - closed
          example: postmarket
        nextOpenSession:
          type: string
          description: The next market open session of the market.
          enum:
            - regular
            - premarket
            - postmarket
            - overnight
          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
      required:
        - timestamp
        - isOpen
        - marketStatus
        - nextOpenSession
    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
    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

````