Portal Community
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+).

FieldTypeRequiredDescription
sortselectNoasc, 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.

FieldTypeRequiredDescription
symboltext✓ YesGM 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.

FieldTypeRequiredDescription
sortselectNoasc, 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.

FieldTypeRequiredDescription
symboltext✓ YesGM asset symbol.
intervaltext✓ YesCandle interval, e.g. 1m, 1h, 1d.
rangetext✓ YesHistory 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.