For AI agents: the documentation index is at /llms.txt, and this page is available as Markdown at /api/market-data/get-prices.md.
Get price candles by symbol
GET
Returns the latest price candles (open/high/low/close) for an asset across multiple standard intervals (1h, 4h, 24h). Useful for rendering at-a-glance price summaries.
asset_id?stringBackend asset ID. Mutually exclusive with symbol: exactly one of
the two is required, and naming both is a 400.
Format
uuidsymbol?stringDeprecatedAsset symbol to fetch candles for (e.g. SOL, BTC).
asset_class?stringAsset class to resolve the asset in. Defaults to spot; if the
asset has no spot listing at all, falls back to perp.
Default
"spot"Value in
"spot""perp"Price candle data for the requested symbol
application/json- response
asset_id?stringBackend asset ID, present when the request named one
Format
uuidsymbol?stringThe asset symbol
candles?array<>List of price candles for different time intervals
curl -X GET 'https://api.truemarkets.co/v1/defi/market/prices'Example Response
{ "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4", "symbol": "string", "candles": [ { "interval": "string", "openPrice": "string", "closePrice": "string", "highPrice": "string", "lowPrice": "string" } ]}