Prices
Asset price data and history
Get latest prices
Returns latest USD prices for tracked assets. `items` holds only groups a source wrote within `maxAgeHours` (default 48 h); older rows are withheld and counted in `withheld`. `asOf` is the newest write in the table; `feedStale: true` means the whole feed is past the cutoff and nothing was withheld. Pass `detail=1` for per-group `{ priceUsd, asOf, staleHours, stale }` in `rows`.
Get prices as of X hours ago
Returns prices at an effective cutoff time computed as `asOf − hoursAgo`.
Sparkline price-ratio time series
Returns price-ratio time series for the cross product of `currencies` × `quotes` over a configurable lookback window (default 24h).