Skip to main content

Get yield snapshots by asset

GET 

/v1/data/lending/yields/by-asset/snapshots

Returns historical yield time series grouped by asset for a given chain.

Plain-text reference — GET /v1/data/lending/yields/by-asset/snapshots

Parameters

ParameterInTypeRequiredDescription
chainIdquerystringyesChain ID See the ChainId schema for the full set of supported chains.
assetsquerystring[]noFilter by asset group keys (repeatable)
lendersquerystring[]noFilter by lender keys (repeatable) See the LenderId schema for the full set of accepted values.
startquerystringnoISO start date
endquerystringnoISO end date

Response 200

FieldTypeDescription
successTrue
dataobject
data.countintegerNumber of entries in items.
data.dataobjectInformational payload. null when the endpoint only builds calldata.
actionsnull

Example response

{
"success": true,
"data": {
"count": 1,
"data": {}
}
}

Request

Responses

Yield snapshot data by asset