Get OHLC (Open, High, Low, Close) Data for an Asset
This endpoint retrieves historical Open, High, Low, Close (OHLC) price data for both the primary market (on-chain token) and underlying market (off-chain stock) for a specified asset.
Prices are intended for display only. For real-time trading prices, use the Soft Attestation Quote API. We do not recommend using the price feeds as an oracle for these assets. An official oracle is in development and will be documented when available. For questions, contact support@ondo.finance.
The interval parameter determines the bucket size for data points, while the range parameter determines how far back historically to look for price data. See below for valid interval/range pairs.
Valid interval/range pairs:
- 1min/1day (rolling 24-hour period of open market data)
- 5min/1day
- 15min/1day
- 1hour/1month
- 4hour/1month
- 12hour/3month
- 1day/3month
- 1day/6month
- 1day/1year
- 1day/all (all historical data)
For caching details on this endpoint, please see: Endpoint Caching.
Authorizations
Path Parameters
The GM token symbol
Query Parameters
The time interval between data points.
1min, 5min, 15min, 1hour, 4hour, 12hour, 1day The lookback range for historical data. The look back range for historical data. (Note that '1day' will return a rolling 24-hour period of data and 'all' will return all historical data.)
1day, 1month, 3month, 6month, 1year, all Response
OK
The time interval between data points.
1min, 5min, 15min, 1hour, 4hour, 12hour, 1day The look back range for historical data. (Note that '1day' will return a rolling 24-hour period of data and 'all' will return all historical data.)
1day, 1month, 3month, 6month, 1year, all 
