Asset metrics
This data is included in the following Kaiko packages:
Level 1 & Level 2 Data [Level 2 Aggregations]
Subscriptions with "DeFi Lending & Borrowing" as the market type.
Asset metrics give the same series for one asset or one market of a lending protocol, with its supply and borrow rates, its utilization and its share of the protocol's activity. Use it to follow the yield and the demand on one asset, such as USDC on Aave v3.
Your Kaiko API key. Sent on every request. Never in a query parameter.
Kaiko blockchain code. An unknown chain is a 404 unsupported_blockchain.
{"value":"ethereum"}Pattern: ^[a-z0-9_]+$Kaiko protocol code: aav3 (Aave v3), aav2 (Aave v2), cmpd (Compound v2), cmp3 (Compound v3) or mkr (Maker). An unknown protocol, or one that does not run on blockchain, returns 404 unknown_protocol. aav3 runs on ethereum, polygon, avalanche, arbitrum and optimism; aav2 on ethereum, polygon and avalanche; cmpd, cmp3 and mkr on ethereum. /defi/lending/protocol-summaries lists the protocols of a blockchain.
{"value":"aav3"}Pattern: ^[a-z0-9]{1,16}$The asset to read: a token symbol as the rows carry it (weth) or its 0x contract address, matched in any letter case. With market_id, the asset within that market. One of asset and market_id is required (400). An asset no reserve of protocol holds returns 404 unknown_asset.
{"value":"weth"}Pattern: ^[A-Za-z0-9._-]{1,64}$The market to read, as the rows carry it (aave/v3/weth, maker/v2/eth-a). One of asset and market_id is required (400). A market protocol does not have returns 404 unknown_asset.
{"value":"aave/v3/weth"}Pattern: ^[a-z0-9/._-]{1,128}$Inclusive start of the window, ISO 8601 UTC. The endpoint documents its precision and its default when omitted; a nanosecond endpoint accepts any precision from seconds to nanoseconds.
2026-09-24T00:00:00.000ZExclusive end of the window, ISO 8601 UTC, at the precision the endpoint documents. Defaults to now. Must be after start_time.
2026-09-25T00:00:00.000ZBucket length of a lending metrics read: whole hours, so the cumulative interest is read from the hourly checkpoints.
1dExample: 1hPossible values: Order on the time axis.
descExample: descPossible values: Rows per page. A value above the maximum returns 400, never a silent cap. Endpoints needing other bounds define their own PageSize<Resource>Query.
100Example: {"value":100}Contract version to serve, as a date. Each endpoint serves its newest version released on or before it, so one date pins the whole API. When omitted, the endpoint's oldest version still served is used, so breaking changes only reach clients that raise their date. Append -preview (2027-02-01-preview) to also be served preview versions, which carry no stability promise. A date in the future, or one resolving to a retired version, returns 400 unsupported_api_version. The version served is echoed in meta.api_version, and meta.url and meta.next_url always carry this parameter. No default here on purpose: it differs per endpoint, and the request validator would otherwise fill in one date for all of them.
2026-10-01Pattern: ^\d{4}-\d{2}-\d{2}(-preview)?$One page of LendingAssetMetric rows.
One page of LendingAssetMetric rows.
Invalid parameter, window or API version.
Missing or unknown X-Api-Key.
The key is valid but not entitled to this product, instrument or history depth.
As above, or the asset or market_id is not one protocol has (unknown_asset).
The Accept header excludes application/json.
Rate limited. Retry after the delay in Retry-After.
Unexpected server failure.
A dependency is down or the data is not available yet.
GET /defi/lending/asset-metrics?blockchain=text&protocol=text HTTP/1.1
Host: api.kaiko.io
X-Api-Key: YOUR_API_KEY
Accept: */*
{
"data": [
{
"blockchain": "ethereum",
"protocol": "aav3",
"market_id": "aave/v3/weth",
"asset_symbol": "weth",
"asset_address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"timestamp": "2026-09-01T00:00:00.000Z",
"num_assets": 1,
"total_deposited_usd": "5139129210.683418",
"total_collateral_usd": "5097505392.533049",
"total_borrowed_usd": "4391013321.995652",
"total_utilization_ratio": "0.8544274996759074",
"collateral_ratio": "0.9919006087521909",
"cumulative_liquidated_usd": "2292300435.1364694",
"cumulative_liquidated_profit_usd": "121838081.2511936",
"cumulative_protocol_revenue_usd": "153931241.70012015",
"cumulative_interest_accumulated_usd": "1049083712.2651507",
"cumulative_interest_earned_usd": "1049083712.2651507",
"cumulative_interest_paid_usd": "1211842084.8214176",
"interval_protocol_revenue_usd": "120940.87517240644",
"interval_interest_earned_usd": "749731.141733408",
"interval_interest_paid_usd": "876035.2422013283",
"interval_interest_accumulated_usd": "749731.141733408",
"interval_number_of_deposits": 405,
"interval_number_of_withdraws": 1727,
"interval_number_of_repays": 797,
"interval_number_of_borrows": 1096,
"interval_number_of_liquidations": 1,
"interval_number_of_flash_loans": 422,
"interval_number_of_users": 253,
"interval_deposited_usd": "1005413583.0446085",
"interval_withdrawn_usd": "774699783.2951672",
"interval_repaid_usd": "121934053.4767422",
"interval_borrowed_usd": "223388010.38483855",
"interval_liquidated_usd": "28.958188153525015",
"interval_flash_loaned_usd": "3684322.532557155",
"interval_liquidated_profit_usd": "2.0203387439250946",
"lend_rate": "0.015457756035325305",
"borrow_rate_stable": "0",
"borrow_rate_variable": "0.02182505194271038",
"utilization_rate": "0.8544274996759074",
"deposit_ratio": "0.4401957924",
"withdraw_ratio": "0.5407866713",
"borrow_ratio": "0.5850506172",
"liquidation_ratio": null,
"total_deposit_ratio": "0.2112673212",
"total_borrow_ratio": "0.4399366153"
}
],
"meta": {
"api_version": "2026-10-01",
"url": "https://api.kaiko.io/defi/lending/asset-metrics?blockchain=ethereum&protocol=aav3&asset=weth&start_time=2026-09-01T00:00:00.000Z&end_time=2026-09-02T00:00:00.000Z&page_size=1&api_version=2026-10-01",
"count": 1,
"next_url": null
}
}Last updated
Was this helpful?
