Get an asset's discount history
GET
Get an asset's discount history
Path Parameters
Asset symbol — case-insensitive
Query Parameters
raw (default) samples directly from discount_snapshots; 1m
reads the 1-minute continuous aggregate so longer ranges stay cheap.
Any other value is rejected with 400 rather than silently falling
back to raw (QA B-020).
Inclusive lower bound on ts. Defaults to now − 24 hours.
Inclusive upper bound on ts. Defaults to now.
Page size, clamped to [1, 5000]. Default 500.
Response
Time series of discount values, newest first
List envelope: { ok, generated_at, count, data: [...] }.
Get an asset's discount history