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 [email protected].

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.


THIS SITE IS DEPRECATED AS OF MAY 1, 2026

API Docs for Global Markets have moved to https://docs.ondo.finance/api-reference/overview

Path Params
string
required

The GM token symbol

Query Params
string
enum
required

The time interval between data points.

Allowed:
string
enum
required

The lookback range for historical data.

Allowed:
Responses

400

One of the request parameters is invalid. Please see the returned message and documentation for details.

401

Missing or invalid API key. Please provide your API key in the x-api-key request header.

404

The provided asset symbol does not exist and cannot be found. Please see the returned message and documentation for details.

429

Client is sending too many requests and exceeded the rate limit.

500

An internal server error occurred. Please see the returned message and documentation for details.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json