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

Get the min and max price for an asset

GET
/v1/assets/prices/range

Returns the lowest and highest price an asset traded at within the window, each with the timestamp it occurred.

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

Query Parameters

asset_id?string

Backend asset ID. Mutually exclusive with symbol: exactly one of the two is required, and naming both is a 400.

Formatuuid
symbol?stringDeprecated

Asset symbol (e.g. SOL, BTC).

window?string

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

Default"1h"
asset_class?string

Asset class to resolve the asset in. Defaults to spot.

Default"spot"
Value in"spot""perp"

Response Body

Price range data for the requested asset

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

min_price?string

Minimum price within the window

max_price?string

Maximum price within the window

min_timestamp?string

ISO 8601 timestamp when the minimum price occurred

max_timestamp?string

ISO 8601 timestamp when the maximum price occurred

Example Request
curl -X GET 'https://api.truemarkets.co/v1/assets/prices/range'
Example Response
{  "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",  "symbol": "string",  "window": "string",  "min_price": "string",  "max_price": "string",  "min_timestamp": "string",  "max_timestamp": "string"}