Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/ondo-finance:ondo-finance-status-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: GM Backend Status 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
tags:
- 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. 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)
* 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 / Get Market Data for All Supported Assets)
For caching details on this endpoint, please see: 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:
code: MISSING_API_KEY
message: missing API key
documentation: https://docs.ondo.finance/api-reference/error-codes#missing_api_key
'429':
description: The account has exceeded its rate limits. Please see the returned message and documentation for details.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
error:
value:
code: RATE_LIMITED
message: rate limit exceeded
documentation: https://docs.ondo.finance/api-reference/error-codes#rate_limited
'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:
code: INTERNAL_ERROR
message: An internal server error occurred. Please see the returned message and documentation for details.
documentation: https://docs.ondo.finance/api-reference/error-codes#internal_error
security:
- apiKey: []
/v1/status/assets:
get:
tags:
- Status
summary: Get Asset Statuses
description: 'This endpoint retrieves information about individual asset trading statuses, including the reason and expected duration. Asset trading can be affected for various reasons such as earnings announcements, dividend events, and global market closures.
**Important**:
* When the entire market is closed or paused as indicated by `/v1/status/market`, all asset trading is automatically suspended regardless of individual asset status. (See Get Current Market Status)
* 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 / Get Market Data for All Supported Assets)
This endpoint should be used in conjunction with the Market Status and Market Data endpoints to get a complete picture of trading availability.
**Market Sessions and Holidays**
Asset trading follows the same schedule as outlined in Get Current Market Status. During market closures, holidays, or unscheduled downtime, all assets are unavailable for trading.
**Earnings and Dividends**
Individual assets may be temporarily suspended or limited during earnings announcements and dividend events according to the following schedule:
- **Dividends**: Trading is paused from 7:50 PM to 8:10 PM ET on the day before the dividend ex-date.
- **Earnings**: Trading is limited for certain assets around earnings announcements, with timing dependent on the announcement schedule. "Limited" here means that the quantity which can be minted in one request is reduced. For exact limits, see Get Trading Limits. For pre-market announcements, trading is suspended from 5:00 AM to 9:31 AM ET. For post-market announcements, trading is suspended from 4:00 PM to 7:30 PM ET. Trading may resume earlier at the platform''s discretion.
- **Other corporate actions**: Trading is paused for an indeterminate amount of time as needed for Ondo to process the corporate action.
**Asset Status Reason Codes**
`reason.code` is one of:
- `ASSET_PAUSED`: Asset is paused for trading.
- `ASSET_LIMITED`: Asset can be traded, but order size is more limited than usual.
**Asset Status Reason Messages**
`reason.message` is one of:
- `cash_dividend`
- `stock_dividend`
- `stock_split`
- `merger`
- `acquisition`
- `spinoff`
- `earnings`
- `maintenance`
For caching details on this endpoint, please see: Endpoint Caching.'
operationId: getAssetStatus
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/GetAssetStatusesResponse'
example:
- symbol: XOMon
status: upcoming
type: scheduled
reason:
code: ASSET_LIMITED
message: earnings
documentation: https://docs.ondo.finance/api-reference/error-codes#asset_limited
start: '2026-01-30T10:00:00Z'
end: '2026-01-31T00:30:00Z'
eventId: 30fd9cb4-1d64-474f-822d-7f281b8f02ee
updateSharesMultiplier: false
- symbol: TIPon
status: upcoming
type: scheduled
reason:
code: ASSET_PAUSED
message: cash_dividend
documentation: https://docs.ondo.finance/api-reference/error-codes#asset_paused
start: '2026-02-02T00:50:00Z'
end: '2026-02-03T01:00:00Z'
eventId: d7d42fbe-9161-45af-806c-c0717453099d
updateSharesMultiplier: true
- '...'
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
error:
value:
code: MISSING_API_KEY
message: missing API key
documentation: https://docs.ondo.finance/api-reference/error-codes#missing_api_key
'429':
description: The account has exceeded its rate limits. Please see the returned message and documentation for details.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
error:
value:
code: RATE_LIMITED
message: rate limit exceeded
documentation: https://docs.ondo.finance/api-reference/error-codes#rate_limited
'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:
code: INTERNAL_ERROR
message: An internal server error occurred. Please see the returned message and documentation for details.
documentation: https://docs.ondo.finance/api-reference/error-codes#internal_error
security:
- apiKey: []
components:
schemas:
AssetStatusReasonCode:
type: string
enum:
- ASSET_PAUSED
- ASSET_LIMITED
description: The code indicating the reason for the asset status.
AssetPause:
type: object
properties:
symbol:
type: string
description: The GM token symbol.
example: AAPLon
status:
type: string
description: The current status of the pause. ('active' indicates the pause is live, 'upcoming' indicates it is scheduled for the future)
enum:
- active
- upcoming
example: active
type:
type: string
description: The type of pause. ('scheduled' indicates a planned pause for events such as dividends, 'unscheduled' indicates an unplanned pause such as emergency maintenance)
enum:
- scheduled
- unscheduled
example: unscheduled
reason:
allOf:
- $ref: '#/components/schemas/AssetStatusReason'
- example:
code: ASSET_PAUSED
message: Maintenance
documentation: https://docs.ondo.finance/
start:
type: string
description: The start time of the pause. ('unscheduled' pauses may not provide a start time.)
example: '2025-08-05T10:30:00Z'
end:
type: string
description: The end time of the pause. ('unscheduled' pauses may not provide an end time.)
example: '2025-08-05T10:45:00Z'
eventId:
type: string
description: The unique id associated with the pause. (Might be empty if the sharesMultiplier will not be updated for the asset during the pause.)
example: 94fe2f8f-e69c-45a5-9e48-dd8226dd8e67
updateSharesMultiplier:
type: boolean
description: A boolean flag that indicates whether the sharesMultiplier value will be updated for the asset during this pause or not.
enum:
- true
- false
example: true
required:
- symbol
- status
- type
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
MarketStatusReasonCode:
type: string
enum:
- MARKET_CLOSED
- MARKET_PAUSED
description: The code indicating the reason for the market status.
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
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
AssetStatusReason:
description: Reason for an asset trading restriction.
allOf:
- $ref: '#/components/schemas/ReasonBase'
- type: object
properties:
code:
$ref: '#/components/schemas/AssetStatusReasonCode'
required:
- code
GetAssetStatusesResponse:
type: array
items:
$ref: '#/components/schemas/AssetPause'
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
securitySchemes:
apiKey:
type: apiKey
name: x-api-key
in: header
x-provenance:
method: harvested
publisher: Ondo Finance
source: https://docs.ondo.finance/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)