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

GET
/v1/cefi/market/prices/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.

Query Parameters

symbol*string

Venue-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?string

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

Default"1h"
resolution?string

Gap between consecutive data points (e.g. 5s, 1m, 5m, 1h).

Default"5s"

Response Body

CeFi price history data for the requested symbol

application/json
  1. response
asset_id?string

Backend asset ID. Absent on the CeFi routes.

Formatuuid
symbol?string

The asset symbol

window?string

The time window used for the query

resolution?string

The time resolution used for the query

points?array<>

List of price points

Example Request
curl -X GET 'https://api.truemarkets.co/v1/cefi/market/prices/history?symbol=string'
Example Response
{  "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",  "symbol": "string",  "window": "string",  "resolution": "string",  "points": [    {      "t": "string",      "price": "string"    }  ]}