Agara
Prices

Settlement-lineage price history

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.

GET
/api/v1/prices/ticks

Query Parameters

symbol
Required
string

agara_securities.symbol (MarketDetail display.security_symbol).

provider
Required
string

agara_data_providers.slug (MarketDetail display.security_provider).

from
Required
integer

Range start, inclusive, unix seconds.

Minimum: 0Maximum: 4102444800

to
Required
integer

Range end, inclusive, unix seconds.

Minimum: 0Maximum: 4102444800
curl -X GET "https://app.agara.xyz/api/v1/prices/ticks?symbol=string&provider=string&from=4102444800&to=4102444800"

Success

{
  "s": "ok",
  "t": [
    0
  ],
  "c": [
    0
  ]
}