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:
For caching details on this endpoint, please see: Endpoint Caching.
The GM token symbol
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 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