curl --request GET \
--url https://api.messari.io/metrics/v2/protocols/{protocolIdentifier}/metrics/lending/time-series/{granularity} \
--header 'X-Messari-API-Key: <api-key>'{
"error": null,
"data": {
"points": [
[
1748736000,
40826647064.15183,
8659,
1795405.4616030846,
1532364.8272672133
],
[
1748822400,
41448076919.110435,
8616,
1493727.209050874,
1265263.6361791617
],
[
1748908800,
41541571147.85359,
9621,
1512826.0373090645,
1285972.0294132316
],
[
1748995200,
41869739639.04037,
9849,
1517935.5337322194,
1294299.7982766132
],
[
1749081600,
39659601254.45914,
12040,
2474388.775981177,
2152103.567043467
]
]
},
"metadata": {
"pointSchemas": [
{
"name": "Timestamp",
"slug": "time",
"description": "Timestamp of the data point.",
"is_timestamp": true
},
{
"name": "TVL 24 Hour USD",
"slug": "tvl24HourUsd",
"description": "Total Value Locked in USD.",
"is_timestamp": false
},
{
"name": "Active Addresses 24 Hour",
"slug": "activeAddresses24Hour",
"description": "Number of unique addresses interacting with the protocol.",
"is_timestamp": false
},
{
"name": "Fees 24 Hour USD",
"slug": "fees24HourUsd",
"description": "Total fees generated by the protocol in USD.",
"is_timestamp": false
},
{
"name": "Fees Supply Side 24 Hour USD",
"slug": "feesSupplySide24HourUsd",
"description": "Fees paid to liquidity providers in USD.",
"is_timestamp": false
}
],
"granularity": "1d"
}
}Returns a timeseries metric for a specific Lending Protocol. Protocol data represents an aggregation of all deployments across all chains.
curl --request GET \
--url https://api.messari.io/metrics/v2/protocols/{protocolIdentifier}/metrics/lending/time-series/{granularity} \
--header 'X-Messari-API-Key: <api-key>'{
"error": null,
"data": {
"points": [
[
1748736000,
40826647064.15183,
8659,
1795405.4616030846,
1532364.8272672133
],
[
1748822400,
41448076919.110435,
8616,
1493727.209050874,
1265263.6361791617
],
[
1748908800,
41541571147.85359,
9621,
1512826.0373090645,
1285972.0294132316
],
[
1748995200,
41869739639.04037,
9849,
1517935.5337322194,
1294299.7982766132
],
[
1749081600,
39659601254.45914,
12040,
2474388.775981177,
2152103.567043467
]
]
},
"metadata": {
"pointSchemas": [
{
"name": "Timestamp",
"slug": "time",
"description": "Timestamp of the data point.",
"is_timestamp": true
},
{
"name": "TVL 24 Hour USD",
"slug": "tvl24HourUsd",
"description": "Total Value Locked in USD.",
"is_timestamp": false
},
{
"name": "Active Addresses 24 Hour",
"slug": "activeAddresses24Hour",
"description": "Number of unique addresses interacting with the protocol.",
"is_timestamp": false
},
{
"name": "Fees 24 Hour USD",
"slug": "fees24HourUsd",
"description": "Total fees generated by the protocol in USD.",
"is_timestamp": false
},
{
"name": "Fees Supply Side 24 Hour USD",
"slug": "feesSupplySide24HourUsd",
"description": "Fees paid to liquidity providers in USD.",
"is_timestamp": false
}
],
"granularity": "1d"
}
}Protocol identifier (ID or slug)
"aave"
Granularity
1d "1d"
Time range start
"2025-06-01T00:00:00Z"
Time range end
"2025-06-07T00:00:00Z"