Skip to main content
GET
Get single product APY

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.

Response

APY data retrieved successfully

Trailing APYs of a top vault from its latest hourly indexer snapshot.

Each APY is the compounded annualization of the price-per-share change over the trailing window, as a ratio (0.05 == 5%). The indexer accepts values in [0, 2]; outside that range it reuses the previous valid APY for the same window, or zero if unavailable. A fresh snapshot can therefore retain a positive APY after a price decline. A vault younger than a window uses its oldest snapshot as the calculation boundary.

vault_address
string
required
chain_id
integer<int32>
required
apy_12h
string
required

A high-precision decimal number represented as a string

Example:

"123.456789"

apy_24h
string
required

A high-precision decimal number represented as a string

Example:

"123.456789"

apy_3d
string
required

A high-precision decimal number represented as a string

Example:

"123.456789"

apy_7d
string
required

A high-precision decimal number represented as a string

Example:

"123.456789"

apy_31d
string
required

A high-precision decimal number represented as a string

Example:

"123.456789"

timestamp
string<date-time>
required

Block time of the snapshot the APYs were computed at

block_number
integer<int64>
required
Required range: x >= 0