get https://api.gm.ondo.finance/v1/assets//prices/ohlc
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.
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)