Asset Pricing Operations
resource: assets — dual-market prices and candlestick data
Dual-market pricing: Nearly every price returned by this node pairs the Ondo
token's own price (
tokenPrice) with the price of the real-world asset it tracks
(underlyingPrice) — both as 18-decimal-place strings, never floating point.
getAllPrices
Latest dual-market prices for all supported GM assets (400+).
| Field | Type | Required | Description |
|---|---|---|---|
sort | select | No | asc, desc, or omitted. |
Example response:
{
"prices": [
{ "symbol": "AAPLon", "tokenPrice": "150.250000000000000000", "ticker": "AAPL",
"underlyingPrice": "150.180000000000000000", "timestamp": "2026-07-29T14:00:00Z" }
],
"count": 412
}
getPrice
Dual-market price for a single asset.
| Field | Type | Required | Description |
|---|---|---|---|
symbol | text | ✓ Yes | GM asset symbol, e.g. AAPLon. |
Example response:
{
"symbol": "AAPLon",
"tokenPrice": "150.250000000000000000",
"ticker": "AAPL",
"underlyingPrice": "150.180000000000000000",
"timestamp": "2026-07-29T14:00:00Z"
}
getAllEnhancedPrices
Enhanced price data for all assets — an extended schema beyond getAllPrices.
| Field | Type | Required | Description |
|---|---|---|---|
sort | select | No | asc, desc, or omitted. |
Untyped result: The enhanced-price schema isn't fully enumerated in Ondo's public
spec, so each entry is returned as a raw JSON object rather than strongly-typed fields. Inspect
result.prices[] directly.
getOHLC
Candlestick (Open/High/Low/Close) history for one asset. No volume field — see Ticker Operations for volume.
| Field | Type | Required | Description |
|---|---|---|---|
symbol | text | ✓ Yes | GM asset symbol. |
interval | text | ✓ Yes | Candle interval, e.g. 1m, 1h, 1d. |
range | text | ✓ Yes | History window, e.g. 1d, 7d, 30d. |
Example response:
{
"symbol": "AAPLon", "interval": "1h", "range": "1d",
"dataPoints": [
{ "timestamp": "2026-07-29T13:00:00Z", "open": "150.10...", "high": "150.40...", "low": "149.90...", "close": "150.25..." }
],
"count": 24
}
Tip: Use
getPrice for a lightweight single-asset snapshot before a
condition step; reach for getOHLC only when you need historical shape (charts, moving
averages), since it returns a series rather than a scalar.