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
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.
chain*stringChain the asset is on.
"solana""base""arbitrum""robinhood"address*stringAsset contract address (EVM) or mint address (Solana).
window?stringLookback period (e.g. 1h, 1d, 7d, 1M).
"1h"resolution?stringSmallest candle size wanted (e.g. 1m, 1h, 1d).
"5s"Candle series for the asset
application/json- response
chain*AssetChainA chain asset lookups cover
"solana""base""arbitrum""robinhood"address*stringAsset address, lowercased for EVM chains
window*stringThe time window used for the query
resolution*stringThe candle size served, which can be coarser than the one requested
candles*array<>List of OHLC buckets, oldest first
curl -X GET 'https://api.truemarkets.co/v1/defi/market/assets/candles?chain=solana&address=string'{ "chain": "solana", "address": "string", "window": "string", "resolution": "string", "candles": [ { "t": "string", "open": "string", "high": "string", "low": "string", "close": "string", "volume": "string" } ]}Find an asset by address GET
Returns the asset at a contract or mint address on every chain it is found on, whether or not True Markets lists it. A Solana mint is looked up on Solana, and an EVM address on Base, Arbitrum and Robinhood Chain, so one address can return several assets. Name a chain to look on that chain alone. An address found nowhere returns an empty list.
Get CeFi instrument price history GET
Returns historical bid/ask midpoint prices for a CeFi instrument over a configurable lookback window, sampled at a configurable resolution. Each price is (bid + ask) / 2 from the latest EBBO snapshot in the bucket; buckets without both a bid and an ask are excluded.