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

Get technical indicator lines for an asset

GET
/v1/assets/prices/indicators

Returns the requested indicator's lines over the window. The series is widened internally by the indicator's own lookback so the first returned point is already warm.

Candle-input and volume-input indicators are unavailable on this mount: it stores no individual ticks to build candles from, and reads no reported-volume series.

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

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).

indicator*string

Indicator kind to compute.

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"
asset_class?string

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

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

Response Body

Indicator lines

application/json
  1. response
asset_id?string

Backend asset ID. Absent on the CeFi routes.

Formatuuid
symbol?string
window?string
resolution?string
indicator?string
lines?

Indicator lines keyed by line name

Example Request
curl -X GET 'https://api.truemarkets.co/v1/assets/prices/indicators?indicator=string'
Example Response
{  "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",  "symbol": "string",  "window": "string",  "resolution": "string",  "indicator": "string",  "lines": {    "property1": [      {        "t": "2019-08-24T14:15:22Z",        "value": "string"      }    ],    "property2": [      {        "t": "2019-08-24T14:15:22Z",        "value": "string"      }    ]  }}