Get All Lending Time Series
curl --request GET \
--url https://api.messari.io/metrics/v2/protocols/lending/time-series/{granularity} \
--header 'X-Messari-API-Key: <api-key>'import requests
url = "https://api.messari.io/metrics/v2/protocols/lending/time-series/{granularity}"
headers = {"X-Messari-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Messari-API-Key': '<api-key>'}};
fetch('https://api.messari.io/metrics/v2/protocols/lending/time-series/{granularity}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.messari.io/metrics/v2/protocols/lending/time-series/{granularity}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Messari-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.messari.io/metrics/v2/protocols/lending/time-series/{granularity}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Messari-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.messari.io/metrics/v2/protocols/lending/time-series/{granularity}")
.header("X-Messari-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.messari.io/metrics/v2/protocols/lending/time-series/{granularity}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Messari-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"error": null,
"data": [
{
"protocol": {
"id": "675b85dc-85a1-4096-9600-212e90a56e9a",
"slug": "aave",
"name": "Aave"
},
"points": [
[
1748736000,
40874983380.06086,
8894,
1803840.5151728864,
1534847.1850615353,
44883.088839995566,
44883.088839995566,
40874983380.06086,
249689038.2528827,
16294149438.990723,
40268112671.70828,
1551387.839683547,
197169.2727293963,
1.6598382227577217,
207.1847393765548,
0,
197378.1173069956
],
[
1748822400,
41493958468.891754,
8801,
1503209.007828896,
1268459.8070935463,
79172.7962739207,
79172.7962739207,
41493958468.891754,
254306555.8746326,
16585912225.029522,
40359824834.80632,
1564840.7767739724,
197873.75184447062,
2.8038795777402337,
4.890537270539835,
0,
197881.44626131892
],
[
1748908800,
41587470329.870155,
9871,
1524454.7886562573,
1289423.8766373072,
56124.78365219167,
56124.78365219167,
41587470329.870155,
260633515.67957327,
16610197883.470901,
41412415086.66814,
1615121.062744834,
203794.93652453623,
2.320478688222493,
98.13338385263711,
0,
203895.3903870771
],
[
1748995200,
41911763138.436165,
10204,
1527950.2199558418,
1297908.365999997,
264418.62121689686,
264418.62121689686,
41911763138.436165,
260062527.57958496,
16791416443.23892,
41684712563.3855,
1634185.9690682248,
206257.13982246685,
1.1849291085353384,
5.303010913648925,
0,
206263.62776248905
],
[
1749081600,
39703840117.46197,
12350,
2486100.5018659243,
2155761.9465042762,
1243578.0972587697,
1243578.0972587697,
39703840117.46197,
244922570.73489606,
15931300843.386644,
40829202853.07711,
2065674.2559990229,
248763.88267701067,
9.36715973164632,
10989.644258556362,
0,
259762.8940952987
]
]
},
{
"protocol": {
"id": "b4a4024c-14c1-4e90-b092-b27cb58b7521",
"slug": "compound",
"name": "Compound"
},
"points": [
[
1748736000,
3379495333.42196,
716,
105441.86089911278,
95485.43110105432,
10735.314139887734,
10735.314139887734,
3379495333.42196,
44465278.77244486,
1003472763.3842549,
3548842878.5220904,
106267.26551551247,
10066.057073530052,
0,
7,
0,
10073.057073530052
],
[
1748822400,
3403042744.0751905,
654,
105825.84725324147,
95836.54541374776,
12142.9154771638,
12142.9154771638,
3403042744.0751905,
45348187.19411568,
1015432415.1546865,
3567518748.9408865,
105969.7767406129,
9808.44892614686,
0,
0,
0,
9808.44892614686
],
[
1748908800,
3493381405.3334208,
851,
109010.94019437824,
98148.64962861588,
8431.141850663182,
8431.141850663182,
3493381405.3334208,
48082532.32236777,
1024490661.7775595,
3632533132.2667365,
110986.43288509475,
10900.286123244994,
0,
0,
0,
10900.286123244994
],
[
1748995200,
3363395710.525871,
1022,
107866.4251033833,
97319.59629084589,
48285.58223824978,
48285.58223824978,
3363395710.525871,
48261170.796743125,
1019414060.0750184,
3624374450.291818,
108080.12246775754,
10537.008252815884,
0,
0,
0,
10537.008252815884
],
[
1749081600,
3364888591.4737496,
886,
118831.1053353625,
106748.92345247106,
5703.171372341787,
5703.171372341787,
3364888591.4737496,
45443866.35926631,
1004495707.7190264,
3575406713.274932,
124040.23569632549,
12626.817302221016,
0,
4811,
0,
17437.817302221018
]
]
},
{
"protocol": {
"id": "08805846-f74d-4f4c-9b61-ea345f942f31",
"slug": "dolomite",
"name": "Dolomite"
},
"points": [
[
1748736000,
254486968.92432517,
220,
23821.667130493617,
17523.42911107255,
0,
34.456541402280145,
254486968.92432517,
null,
78198451.00543317,
null,
null,
null,
null,
null,
null,
null
],
[
1748822400,
261317629.79176745,
229,
23169.846591529567,
17209.488444310253,
0,
38.6730393896864,
261317629.79176745,
null,
78619495.24061483,
null,
null,
null,
null,
null,
null,
null
],
[
1748908800,
254764081.66747215,
242,
27190.687840641138,
20177.120920234924,
0,
700.0560565770737,
254764081.66747215,
null,
77630629.8551523,
null,
null,
null,
null,
null,
null,
null
],
[
1748995200,
259132669.4210086,
215,
47961.12164510309,
37981.885147810426,
0,
117.80520825975503,
259132669.4210086,
null,
81969203.40594465,
null,
null,
null,
null,
null,
null,
null
],
[
1749081600,
219942474.14345703,
298,
21072.698394237785,
15356.312068061565,
0,
2629.9225741938703,
219942474.14345703,
null,
59223149.91794719,
null,
null,
null,
null,
null,
null,
null
]
]
},
{
"protocol": {
"id": "4bb0dcdd-75ae-4b34-92fc-64400dcdff8e",
"slug": "euler-finance",
"name": "Euler Finance"
},
"points": [
[
1748736000,
1782185302.9735782,
987,
102533.37060473644,
90090.70547369728,
null,
null,
1782185302.9735782,
37735544.27595803,
864370180.139309,
1771216808.1239774,
143664.4270215827,
11813.947018694133,
0,
0,
0,
11813.947018694133
],
[
1748822400,
1779734256.5965266,
1267,
105129.14316467613,
93373.8254768025,
null,
null,
1779734256.5965266,
38612789.42935929,
856679236.9142518,
1802219978.7652335,
145130.71915694055,
11697.020416042147,
0,
0,
0,
11697.020416042147
],
[
1748908800,
1795723464.601608,
3281,
109418.91347906101,
96846.91258378931,
null,
null,
1795723464.601608,
38215246.87043049,
873139113.7630298,
1805149636.207731,
146959.5953304491,
12676.096870811982,
0,
0,
0,
12676.096870811982
],
[
1748995200,
1826808766.103897,
2819,
111236.04774370493,
98319.3589257784,
null,
null,
1826808766.103897,
38322470.28133832,
893678251.9342333,
1843098427.2084424,
150273.20982257117,
12661.291276429296,
0,
0,
0,
12661.291276429296
],
[
1749081600,
1804328855.7277777,
2689,
106748.49242587008,
94292.40658426638,
null,
null,
1804328855.7277777,
34621791.280557804,
886718536.1130446,
1855282876.6489198,
157393.60629128572,
12533.896655553419,
0,
0,
0,
12533.896655553419
]
]
},
{
"protocol": {
"id": "21ef8a1b-7b6d-47a8-ac7e-b3c1aac3905b",
"slug": "fluid-instadapp",
"name": "Fluid"
},
"points": [
[
1748736000,
2064707906.911739,
201,
137137.90912230843,
116566.1698840688,
0,
0,
2064707906.911739,
107016160.41469081,
907149562.4728653,
1881105309.6363502,
82701.6628755591,
8270.16628755591,
0,
0,
0,
8270.16628755591
],
[
1748822400,
2110304435.9401305,
199,
109691.09033938145,
96200.45887418688,
0,
0,
2110304435.9401305,
109339230.24893554,
937645689.6318932,
1900565869.8538463,
84792.3704977696,
8479.23704977696,
0,
0,
0,
8479.23704977696
],
[
1748908800,
2146841633.4441354,
198,
157741.4587619406,
131525.3565711596,
0,
0,
2146841633.4441354,
107421846.34080963,
968524013.3314428,
1974739151.3160229,
90270.80866200743,
9027.080866200744,
0,
0,
0,
9027.080866200744
],
[
1748995200,
2139515430.9217832,
194,
108555.94986905789,
92522.59674930149,
0,
0,
2139515430.9217832,
108619827.7036162,
963057898.5094433,
1965651169.4630187,
91064.08841871597,
9106.408841871611,
0,
0,
0,
9106.408841871611
],
[
1749081600,
2048729382.1516364,
268,
190673.1181884097,
165676.38144782657,
0,
0,
2048729382.1516364,
100450402.33476938,
931591979.8880106,
1942493662.2212415,
92342.98364738666,
9234.298364738659,
0,
0,
0,
9234.298364738659
]
]
}
],
"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
},
{
"name": "Token Incentives 24 Hour USD",
"slug": "tokenIncentives24HourUsd",
"description": "Value of token incentives distributed by the protocol.",
"is_timestamp": false
},
{
"name": "Expenses 24 Hour USD",
"slug": "expenses24HourUsd",
"description": "Total expenses incurred by the protocol in USD.",
"is_timestamp": false
},
{
"name": "Net Deposits 24 Hour USD",
"slug": "netDeposits24HourUsd",
"description": "Net value of deposits into the protocol in USD.",
"is_timestamp": false
},
{
"name": "Treasury USD",
"slug": "treasuryUsd",
"description": "Value of assets held in the protocol treasury in USD.",
"is_timestamp": false
},
{
"name": "Borrowed USD",
"slug": "borrowedUsd",
"description": "Total value of assets borrowed from the protocol in USD.",
"is_timestamp": false
},
{
"name": "Deposits USD",
"slug": "depositsUsd",
"description": "Value deposited with the lending protocol in USD. This is a balance, unlike Net Deposits USD, which is a daily flow. Sourced from Blockworks.",
"is_timestamp": false
},
{
"name": "Interest 24 Hour USD",
"slug": "interest24HourUsd",
"description": "Interest paid by borrowers in USD. Sourced from Blockworks.",
"is_timestamp": false
},
{
"name": "Net Interest Income 24 Hour USD",
"slug": "netInterestIncome24HourUsd",
"description": "Interest earned less the interest paid out to depositors, in USD. Sourced from Blockworks.",
"is_timestamp": false
},
{
"name": "Flash Loan Fees 24 Hour USD",
"slug": "flashLoanFees24HourUsd",
"description": "Fees earned on flash loans in USD. This is a fee, unlike Flash Loan Volume USD. Sourced from Blockworks.",
"is_timestamp": false
},
{
"name": "Liquidation Fees 24 Hour USD",
"slug": "liquidationFees24HourUsd",
"description": "Fees earned on liquidations in USD. Sourced from Blockworks.",
"is_timestamp": false
},
{
"name": "Royalties 24 Hour USD",
"slug": "royalties24HourUsd",
"description": "Royalties paid to the protocol in USD. Sourced from Blockworks.",
"is_timestamp": false
},
{
"name": "Revenue USD",
"slug": "revenueUsd",
"description": "Daily lending revenue in USD, net interest income plus flash loan, liquidation and royalty fees. Distinct from Revenue USD, which is total protocol revenue from a different source. Sourced from Blockworks Research.",
"is_timestamp": false
}
],
"granularity": "1d"
}
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}Lending
Get All Lending Time Series
Returns one timeseries per lending protocol, for every protocol the lending listing serves, in a single response. Use this instead of calling the per-protocol lending endpoint once for each protocol. The response aggregates data across all deployments and versions of protocols (e.g., AAVE includes V3, V2, and V1). This is the protocol grain only; for a series per instance or per market, use the lending-instances and lending-markets endpoints. Every protocol is included, so narrow start and end to limit the response size.
GET
/
metrics
/
v2
/
protocols
/
lending
/
time-series
/
{granularity}
Get All Lending Time Series
curl --request GET \
--url https://api.messari.io/metrics/v2/protocols/lending/time-series/{granularity} \
--header 'X-Messari-API-Key: <api-key>'import requests
url = "https://api.messari.io/metrics/v2/protocols/lending/time-series/{granularity}"
headers = {"X-Messari-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Messari-API-Key': '<api-key>'}};
fetch('https://api.messari.io/metrics/v2/protocols/lending/time-series/{granularity}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.messari.io/metrics/v2/protocols/lending/time-series/{granularity}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Messari-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.messari.io/metrics/v2/protocols/lending/time-series/{granularity}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Messari-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.messari.io/metrics/v2/protocols/lending/time-series/{granularity}")
.header("X-Messari-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.messari.io/metrics/v2/protocols/lending/time-series/{granularity}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Messari-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"error": null,
"data": [
{
"protocol": {
"id": "675b85dc-85a1-4096-9600-212e90a56e9a",
"slug": "aave",
"name": "Aave"
},
"points": [
[
1748736000,
40874983380.06086,
8894,
1803840.5151728864,
1534847.1850615353,
44883.088839995566,
44883.088839995566,
40874983380.06086,
249689038.2528827,
16294149438.990723,
40268112671.70828,
1551387.839683547,
197169.2727293963,
1.6598382227577217,
207.1847393765548,
0,
197378.1173069956
],
[
1748822400,
41493958468.891754,
8801,
1503209.007828896,
1268459.8070935463,
79172.7962739207,
79172.7962739207,
41493958468.891754,
254306555.8746326,
16585912225.029522,
40359824834.80632,
1564840.7767739724,
197873.75184447062,
2.8038795777402337,
4.890537270539835,
0,
197881.44626131892
],
[
1748908800,
41587470329.870155,
9871,
1524454.7886562573,
1289423.8766373072,
56124.78365219167,
56124.78365219167,
41587470329.870155,
260633515.67957327,
16610197883.470901,
41412415086.66814,
1615121.062744834,
203794.93652453623,
2.320478688222493,
98.13338385263711,
0,
203895.3903870771
],
[
1748995200,
41911763138.436165,
10204,
1527950.2199558418,
1297908.365999997,
264418.62121689686,
264418.62121689686,
41911763138.436165,
260062527.57958496,
16791416443.23892,
41684712563.3855,
1634185.9690682248,
206257.13982246685,
1.1849291085353384,
5.303010913648925,
0,
206263.62776248905
],
[
1749081600,
39703840117.46197,
12350,
2486100.5018659243,
2155761.9465042762,
1243578.0972587697,
1243578.0972587697,
39703840117.46197,
244922570.73489606,
15931300843.386644,
40829202853.07711,
2065674.2559990229,
248763.88267701067,
9.36715973164632,
10989.644258556362,
0,
259762.8940952987
]
]
},
{
"protocol": {
"id": "b4a4024c-14c1-4e90-b092-b27cb58b7521",
"slug": "compound",
"name": "Compound"
},
"points": [
[
1748736000,
3379495333.42196,
716,
105441.86089911278,
95485.43110105432,
10735.314139887734,
10735.314139887734,
3379495333.42196,
44465278.77244486,
1003472763.3842549,
3548842878.5220904,
106267.26551551247,
10066.057073530052,
0,
7,
0,
10073.057073530052
],
[
1748822400,
3403042744.0751905,
654,
105825.84725324147,
95836.54541374776,
12142.9154771638,
12142.9154771638,
3403042744.0751905,
45348187.19411568,
1015432415.1546865,
3567518748.9408865,
105969.7767406129,
9808.44892614686,
0,
0,
0,
9808.44892614686
],
[
1748908800,
3493381405.3334208,
851,
109010.94019437824,
98148.64962861588,
8431.141850663182,
8431.141850663182,
3493381405.3334208,
48082532.32236777,
1024490661.7775595,
3632533132.2667365,
110986.43288509475,
10900.286123244994,
0,
0,
0,
10900.286123244994
],
[
1748995200,
3363395710.525871,
1022,
107866.4251033833,
97319.59629084589,
48285.58223824978,
48285.58223824978,
3363395710.525871,
48261170.796743125,
1019414060.0750184,
3624374450.291818,
108080.12246775754,
10537.008252815884,
0,
0,
0,
10537.008252815884
],
[
1749081600,
3364888591.4737496,
886,
118831.1053353625,
106748.92345247106,
5703.171372341787,
5703.171372341787,
3364888591.4737496,
45443866.35926631,
1004495707.7190264,
3575406713.274932,
124040.23569632549,
12626.817302221016,
0,
4811,
0,
17437.817302221018
]
]
},
{
"protocol": {
"id": "08805846-f74d-4f4c-9b61-ea345f942f31",
"slug": "dolomite",
"name": "Dolomite"
},
"points": [
[
1748736000,
254486968.92432517,
220,
23821.667130493617,
17523.42911107255,
0,
34.456541402280145,
254486968.92432517,
null,
78198451.00543317,
null,
null,
null,
null,
null,
null,
null
],
[
1748822400,
261317629.79176745,
229,
23169.846591529567,
17209.488444310253,
0,
38.6730393896864,
261317629.79176745,
null,
78619495.24061483,
null,
null,
null,
null,
null,
null,
null
],
[
1748908800,
254764081.66747215,
242,
27190.687840641138,
20177.120920234924,
0,
700.0560565770737,
254764081.66747215,
null,
77630629.8551523,
null,
null,
null,
null,
null,
null,
null
],
[
1748995200,
259132669.4210086,
215,
47961.12164510309,
37981.885147810426,
0,
117.80520825975503,
259132669.4210086,
null,
81969203.40594465,
null,
null,
null,
null,
null,
null,
null
],
[
1749081600,
219942474.14345703,
298,
21072.698394237785,
15356.312068061565,
0,
2629.9225741938703,
219942474.14345703,
null,
59223149.91794719,
null,
null,
null,
null,
null,
null,
null
]
]
},
{
"protocol": {
"id": "4bb0dcdd-75ae-4b34-92fc-64400dcdff8e",
"slug": "euler-finance",
"name": "Euler Finance"
},
"points": [
[
1748736000,
1782185302.9735782,
987,
102533.37060473644,
90090.70547369728,
null,
null,
1782185302.9735782,
37735544.27595803,
864370180.139309,
1771216808.1239774,
143664.4270215827,
11813.947018694133,
0,
0,
0,
11813.947018694133
],
[
1748822400,
1779734256.5965266,
1267,
105129.14316467613,
93373.8254768025,
null,
null,
1779734256.5965266,
38612789.42935929,
856679236.9142518,
1802219978.7652335,
145130.71915694055,
11697.020416042147,
0,
0,
0,
11697.020416042147
],
[
1748908800,
1795723464.601608,
3281,
109418.91347906101,
96846.91258378931,
null,
null,
1795723464.601608,
38215246.87043049,
873139113.7630298,
1805149636.207731,
146959.5953304491,
12676.096870811982,
0,
0,
0,
12676.096870811982
],
[
1748995200,
1826808766.103897,
2819,
111236.04774370493,
98319.3589257784,
null,
null,
1826808766.103897,
38322470.28133832,
893678251.9342333,
1843098427.2084424,
150273.20982257117,
12661.291276429296,
0,
0,
0,
12661.291276429296
],
[
1749081600,
1804328855.7277777,
2689,
106748.49242587008,
94292.40658426638,
null,
null,
1804328855.7277777,
34621791.280557804,
886718536.1130446,
1855282876.6489198,
157393.60629128572,
12533.896655553419,
0,
0,
0,
12533.896655553419
]
]
},
{
"protocol": {
"id": "21ef8a1b-7b6d-47a8-ac7e-b3c1aac3905b",
"slug": "fluid-instadapp",
"name": "Fluid"
},
"points": [
[
1748736000,
2064707906.911739,
201,
137137.90912230843,
116566.1698840688,
0,
0,
2064707906.911739,
107016160.41469081,
907149562.4728653,
1881105309.6363502,
82701.6628755591,
8270.16628755591,
0,
0,
0,
8270.16628755591
],
[
1748822400,
2110304435.9401305,
199,
109691.09033938145,
96200.45887418688,
0,
0,
2110304435.9401305,
109339230.24893554,
937645689.6318932,
1900565869.8538463,
84792.3704977696,
8479.23704977696,
0,
0,
0,
8479.23704977696
],
[
1748908800,
2146841633.4441354,
198,
157741.4587619406,
131525.3565711596,
0,
0,
2146841633.4441354,
107421846.34080963,
968524013.3314428,
1974739151.3160229,
90270.80866200743,
9027.080866200744,
0,
0,
0,
9027.080866200744
],
[
1748995200,
2139515430.9217832,
194,
108555.94986905789,
92522.59674930149,
0,
0,
2139515430.9217832,
108619827.7036162,
963057898.5094433,
1965651169.4630187,
91064.08841871597,
9106.408841871611,
0,
0,
0,
9106.408841871611
],
[
1749081600,
2048729382.1516364,
268,
190673.1181884097,
165676.38144782657,
0,
0,
2048729382.1516364,
100450402.33476938,
931591979.8880106,
1942493662.2212415,
92342.98364738666,
9234.298364738659,
0,
0,
0,
9234.298364738659
]
]
}
],
"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
},
{
"name": "Token Incentives 24 Hour USD",
"slug": "tokenIncentives24HourUsd",
"description": "Value of token incentives distributed by the protocol.",
"is_timestamp": false
},
{
"name": "Expenses 24 Hour USD",
"slug": "expenses24HourUsd",
"description": "Total expenses incurred by the protocol in USD.",
"is_timestamp": false
},
{
"name": "Net Deposits 24 Hour USD",
"slug": "netDeposits24HourUsd",
"description": "Net value of deposits into the protocol in USD.",
"is_timestamp": false
},
{
"name": "Treasury USD",
"slug": "treasuryUsd",
"description": "Value of assets held in the protocol treasury in USD.",
"is_timestamp": false
},
{
"name": "Borrowed USD",
"slug": "borrowedUsd",
"description": "Total value of assets borrowed from the protocol in USD.",
"is_timestamp": false
},
{
"name": "Deposits USD",
"slug": "depositsUsd",
"description": "Value deposited with the lending protocol in USD. This is a balance, unlike Net Deposits USD, which is a daily flow. Sourced from Blockworks.",
"is_timestamp": false
},
{
"name": "Interest 24 Hour USD",
"slug": "interest24HourUsd",
"description": "Interest paid by borrowers in USD. Sourced from Blockworks.",
"is_timestamp": false
},
{
"name": "Net Interest Income 24 Hour USD",
"slug": "netInterestIncome24HourUsd",
"description": "Interest earned less the interest paid out to depositors, in USD. Sourced from Blockworks.",
"is_timestamp": false
},
{
"name": "Flash Loan Fees 24 Hour USD",
"slug": "flashLoanFees24HourUsd",
"description": "Fees earned on flash loans in USD. This is a fee, unlike Flash Loan Volume USD. Sourced from Blockworks.",
"is_timestamp": false
},
{
"name": "Liquidation Fees 24 Hour USD",
"slug": "liquidationFees24HourUsd",
"description": "Fees earned on liquidations in USD. Sourced from Blockworks.",
"is_timestamp": false
},
{
"name": "Royalties 24 Hour USD",
"slug": "royalties24HourUsd",
"description": "Royalties paid to the protocol in USD. Sourced from Blockworks.",
"is_timestamp": false
},
{
"name": "Revenue USD",
"slug": "revenueUsd",
"description": "Daily lending revenue in USD, net interest income plus flash loan, liquidation and royalty fees. Distinct from Revenue USD, which is total protocol revenue from a different source. Sourced from Blockworks Research.",
"is_timestamp": false
}
],
"granularity": "1d"
}
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}Authorizations
Path Parameters
Granularity
Available options:
1d, 1w Example:
"1d"
Query Parameters
Time range start
Example:
"2025-06-01T00:00:00Z"
Time range end
Example:
"2025-06-07T00:00:00Z"
⌘I

