Agara

Settlement-lineage price history

GET/api/v1/prices/ticks

Price history for an agara security + provider over [from, to], as TradingView-shim history ({ s, t, c }, seconds + close). Returns roughly 30 points spanning the window, served DB-first (our shared tick cache) and filled with the fewest external calls — sampled point reads for a tight window, OHLCV minute bars for a wide one. Long-cached once the range is in the immutable past; no-cache while it overlaps the live edge.

Query Parameters

symbol*string

agara_securities.symbol (MarketDetail display.security_symbol).

provider*string

agara_data_providers.slug (MarketDetail display.security_provider).

from*integer

Range start, inclusive, unix seconds.

Range0 <= value <= 4102444800
to*integer

Range end, inclusive, unix seconds.

Range0 <= value <= 4102444800

Response Body

application/json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v1/prices/ticks?symbol=string&provider=string&from=0&to=0"
{  "s": "ok",  "t": [    0  ],  "c": [    0  ]}