Skip to main content
GET
Get single product APY history

Query Parameters

vault_address
string
required

Address of the vault

chain_id
integer<int32> | null

Chain of the vault. Required only when the address is a top vault on several chains.

start_date
string<date-time> | null

Inclusive lower bound on snapshot time (RFC 3339), evaluated at whole Unix-second precision. Dates before the Unix epoch are rejected. Omit to include the earliest data.

end_date
string<date-time> | null

Inclusive upper bound on snapshot time (RFC 3339), evaluated at whole Unix-second precision. Omit to include the latest data. Must not precede start_date.

points
integer<int64> | null

Maximum result count (1 to 365, default 100), not a guaranteed count or frequency. Buckets span the first to last available snapshot within the date bounds, have equal widths of at least one hour, and retain their latest snapshot. Empty buckets are omitted. With points=1, only the latest snapshot in range is returned.

order
string | null

Order by snapshot time: asc (default) or desc. Reverses the same selected points; it does not change which snapshots are sampled.

Response

APY history retrieved successfully

APY history of a top vault, sampled from the hourly indexer snapshots.

vault_address
string
required
chain_id
integer<int32>
required
data
object[]
required

Sampled snapshots, oldest first unless order=desc