For AI agents: the documentation index is at /llms.txt, and this page is available as Markdown at /api/market-data/get-cefi-price-history.md.
Get CeFi instrument price history
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.
The symbol parameter is the venue-native instrument symbol (e.g.
BTC-USD) — there is no registry translation today.
See the Time Window & Resolution
section for the format of window and resolution.
symbol*stringVenue-native CeFi instrument symbol (e.g. BTC-USD). Required here:
asset_id is rejected with a 400 on the CeFi routes, since CeFi
instruments carry no price-source mapping to resolve one against.
window?stringLookback period (e.g. 1h, 4h, 1d, 7d, 1M).
"1h"resolution?stringGap between consecutive data points (e.g. 5s, 1m, 5m, 1h).
"5s"CeFi price history data for the requested symbol
application/json- response
asset_id?stringBackend asset ID. Absent on the CeFi routes.
uuidsymbol?stringThe asset symbol
window?stringThe time window used for the query
resolution?stringThe time resolution used for the query
points?array<>List of price points
curl -X GET 'https://api.truemarkets.co/v1/cefi/market/prices/history?symbol=string'{ "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4", "symbol": "string", "window": "string", "resolution": "string", "points": [ { "t": "string", "price": "string" } ]}Get OHLC candles for an asset by chain and address GET
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.
Get a technical indicator series for a CeFi instrument GET
Same parameters, response shape and warm-up behaviour as /v1/defi/market/prices/indicators, computed over bid/ask midpoints rather than close prices.