For AI agents: the documentation index is at /llms.txt, and this page is available as Markdown at /api/market-data/get-asset-candles.md.

Get OHLC candles for an asset by chain and address

GET
/v1/defi/market/assets/candles

Returns open/high/low/close buckets for any asset, taken from its most liquid pool. Candles come at the finest size at or above resolution that keeps the window within 1,000 candles, and daily past that, so the resolution in the response can be coarser than the one requested.

See the Time Window & Resolution section for the format of window and resolution.

Query Parameters

chain*string

Chain the asset is on.

Value in"solana""base""arbitrum""robinhood"
address*string

Asset contract address (EVM) or mint address (Solana).

window?string

Lookback period (e.g. 1h, 1d, 7d, 1M).

Default"1h"
resolution?string

Smallest candle size wanted (e.g. 1m, 1h, 1d).

Default"5s"

Response Body

Candle series for the asset

application/json
  1. response
chain*AssetChain

A chain asset lookups cover

Value in"solana""base""arbitrum""robinhood"
address*string

Asset address, lowercased for EVM chains

window*string

The time window used for the query

resolution*string

The candle size served, which can be coarser than the one requested

candles*array<>

List of OHLC buckets, oldest first

Example Request
curl -X GET 'https://api.truemarkets.co/v1/defi/market/assets/candles?chain=solana&address=string'
Example Response
{  "chain": "solana",  "address": "string",  "window": "string",  "resolution": "string",  "candles": [    {      "t": "string",      "open": "string",      "high": "string",      "low": "string",      "close": "string",      "volume": "string"    }  ]}