Skip to Content
ServicesMarket REST APIGet OHLCV window

Get OHLCV window

Read compact short-range OHLCV data for one market.

Use this for ranking, anomaly checks, or prompt context without pulling a full chart payload.

Back to Market API

Use this canonical page when you need an HTTP example or Try send for market candles.

Access

  • Surfaces: mcp, rest, skill
  • Metering: mcp_call, rest_call
  • Scope: DEX available · EVM family primary · Solana (Beta)

Handles

SurfaceLabelValue
mcpMCPmarket.read_ohlcv
restRESTGET /v1/market/ohlcv-window
skillSkillmarket.read_ohlcv

Availability

DEX OHLCV coverage is Available. Unsupported CEX paths return explicit errors.

Request example

GET https://gw-aql.tomo.services/v1/market/ohlcv-window?market_kind=dex&chain=ethereum&address=0xC02aaA39b223FE8D0A0E5C4F27eAD9083C756Cc2&interval=1h&limit=5

Try send

Try send

Try OHLCV window

Send one direct browser request to the current hosted gateway base URL so the real network request is visible in devtools. The API key is only stored locally when you provide one.

Response example

{ "ohlcv_window": { "market_kind": "dex", "chain": "ethereum", "address": "0xC02aaA39b223FE8D0A0E5C4F27eAD9083C756Cc2", "interval": "1h", "points": [ { "timestamp": 1711111111, "open": 182.1, "high": 183.4, "low": 181.6, "close": 182.9, "volume": 145230.12 } ], "source_id": "multi-source-kline" }, "freshness_ms": 250, "source_status": "healthy" }

Request fields

Query parameters

FieldTypeRequiredNotes
market_kindstringRequiredMarket family. Use `dex` for now.
chainstringRequiredChain key. Prefer the current EVM family such as `ethereum` or `base`; use `solana` only for the separate Beta lane.
addressstringRequiredToken, market, or pool address.
intervalstringRequiredCandle interval.
limitnumberRequiredMax candle count.

Response fields

OHLCV window

FieldTypeNotes
ohlcv_window.market_kindstringMarket family.
ohlcv_window.chainstringMarket chain.
ohlcv_window.addressstringLookup address.
ohlcv_window.intervalstringApplied interval.
ohlcv_window.points[]arrayReturned candles.
ohlcv_window.points[].timestampnumberCandle timestamp.
ohlcv_window.points[].open / high / low / closenumberOHLC values.
ohlcv_window.points[].volumenumberCandle volume.
ohlcv_window.source_idstringBacking source id.

Response metadata

FieldTypeNotes
freshness_msnumberData age in milliseconds.
source_statusstringSource health for this response.
Last updated on