Skip to main content
GET
List all active assets with their latest peg snapshot

Query Parameters

class
string

Filter by asset class. One of lst, stable_fiat, stable_cdp, stable_rwa, stable_dn, stable_fx, stable_yield (case-sensitive). Any other value, including the non-public synth_lev, is a 400 invalid_query.

peg
string

Filter by peg target. One of SOL, USD, BRL, EUR (case-sensitive). Matches the asset's declared peg, not its observed value. Any other value is a 400 invalid_query.

Response

All active assets with their latest snapshot

List envelope: { ok, generated_at, count, data: [...] }.

count
integer
required

Number of items in data.

Required range: x >= 0
data
object[]
required
generated_at
string
required

RFC3339 (UTC, millisecond, Z) build time of this response.

ok
boolean
required

Always true on a 2xx; errors use the {error, message} envelope instead.

history_start
string | null

Time-series lists only (/v1/assets/{symbol}/history): RFC3339 of the earliest snapshot Pegana has stored for the asset. Nothing exists before it, so an empty or short window ending earlier is a data floor, not an absence of events. Omitted elsewhere.

next_from
string | null

Present only when truncated is true: the EFFECTIVE lower bound of this window (RFC3339, microsecond, Z), i.e. the from the request sent or the default it got (now minus 24h). Pass it back as from with next_to: the default from is Utc::now() - 24h, not to - 24h, so paging without from keeps from at now-24h and, once next_to is older than 24h, the request returns 400 invalid_range.

next_to
string | null

Present only when truncated is true: RFC3339 (microsecond, Z) instant just before the oldest row returned. Repeat the request with from=<next_from>&to=<next_to> (same bucket, limit) to get the next, older page; no row is skipped or repeated.

truncated
boolean | null

Time-series lists only (/v1/assets/{symbol}/history): true when the window holds more rows than limit, so data stops before from. Always present there (false when the window fit). Omitted elsewhere.