Get latest yields by asset
GET/v1/data/lending/yields/by-asset/latest
Returns latest lending yields grouped by asset for a given chain.
Plain-text reference — GET /v1/data/lending/yields/by-asset/latest
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
chainId | query | string | yes | Chain ID See the ChainId schema for the full set of supported chains. |
assets | query | string[] | no | Filter by asset group keys (repeatable) |
lenders | query | string[] | no | Filter by lender keys (repeatable) See the LenderId schema for the full set of accepted values. |
Response 200
| Field | Type | Description |
|---|---|---|
success | True | |
data | object | |
data.count | integer | Number of entries in items. |
data.data | object | Informational payload. null when the endpoint only builds calldata. |
actions | null |
Example response
{
"success": true,
"data": {
"count": 1,
"data": {}
}
}
Request
Responses
- 200
- 429
- 500
- 502
Yield data by asset
Rate limited. Unauthenticated callers share a per-IP budget; send an x-api-key header to lift it. Retry with exponential backoff.
Unexpected server error. Safe to retry with backoff.
An upstream data source or protocol origin failed (error.code is ORIGIN_FAILED). error.details carries the per-origin status. This is also what a missing or malformed required parameter currently returns, rather than a 400.