Lending Overview Windows
Returns a trailing-window overview of pools and vaults across Aave v3, Morpho v1, Morpho v2, Euler v2, and SparkLend. Each row covers a single protocol position and reports its deposit, withdrawal, and borrow flows, TVL changes, and APY metrics for the selected lookback window (7d, 30d, 90d, or 365d).
Parameters
Responses
Examples
1. Trailing 7-day overview across supported lending protocols
This retrieves the trailing 7-day overview for pools and vaults on the default chain (Base), limited to 10 results, so you can compare flows, TVL changes, and yields across Aave v3, Morpho v1, Morpho v2, Euler v2, and SparkLend.
Response:
2 {
3 "columns": [
4 {
5 "name": "chainId",
6 "type": "UInt16"
7 },
8 {
9 "name": "protocolId",
10 "type": "String"
11 },
12 {
13 "name": "address",
14 "type": "String"
15 },
16 {
17 "name": "symbol",
18 "type": "Nullable(String)"
19 },
20 {
21 "name": "name",
22 "type": "Nullable(String)"
23 },
24 {
25 "name": "underlyingAddress",
26 "type": "Nullable(String)"
27 },
28 {
29 "name": "underlyingSymbol",
30 "type": "String"
31 },
32 {
33 "name": "depositsUsd",
34 "type": "Float64"
35 },
36 {
37 "name": "withdrawalsUsd",
38 "type": "Float64"
39 },
40 {
41 "name": "netFlowUsd",
42 "type": "Float64"
43 },
44 {
45 "name": "borrowsUsd",
46 "type": "Nullable(Float64)"
47 },
48 {
49 "name": "tvlUsd",
50 "type": "Float64"
51 },
52 {
53 "name": "tvlUsdChange",
54 "type": "Float64"
55 },
56 {
57 "name": "availableLiquidityChangeUsd",
58 "type": "Float64"
59 },
60 {
61 "name": "sharePriceChange",
62 "type": "Nullable(Float64)"
63 },
64 {
65 "name": "supplyApy",
66 "type": "Float64"
67 },
68 {
69 "name": "supplyBaseApy",
70 "type": "Float64"
71 },
72 {
73 "name": "supplyExtraRewardsApy",
74 "type": "Float64"
75 },
76 {
77 "name": "borrowApy",
78 "type": "Nullable(Float64)"
79 },
80 {
81 "name": "utilizationRate",
82 "type": "Nullable(Float64)"
83 },
84 {
85 "name": "updatedAt",
86 "type": "DateTime('UTC')"
87 }
88 ],
89 "data": [
90 [
91 8453,
92 "morpho-v2",
93 "0xbeef0786756810478b88982de00f3cd7fdb8e7c7",
94 "grove-steakUSDC",
95 "Grove x Steakhouse USDC",
96 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
97 "USDC",
98 963833.189612,
99 28262797.636445,
100 -27298964.446833,
101 null,
102 516667797.210692,
103 -26857635.064372957,
104 -26857635.064372957,
105 0.0008463429881797602,
106 0.04522383886003112,
107 0.04522383886003112,
108 0,
109 null,
110 null,
111 "2026-11-18T12:33:54+00:00"
112 ],
113 [
114 8453,
115 "morpho-v1",
116 "0x7bfa7c4f149e7415b73bdedfe609237e29cbf34a",
117 "sparkUSDC",
118 "Spark USDC Vault",
119 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
120 "USDC",
121 390069493.54104793,
122 304744331.286077,
123 85325162.25497091,
124 null,
125 455070413.57948697,
126 96783951.45657098,
127 96783951.45657098,
128 0.0007588870144348281,
129 0.04522070798973336,
130 0.04522070798973336,
131 0,
132 null,
133 null,
134 "2026-11-18T12:32:53+00:00"
135 ],
136 [
137 8453,
138 "morpho-v2",
139 "0xbeeff2490feffa212fac2f6553682c219e6a8845",
140 "sirloinUSDC",
141 "Steakhouse High Yield USDC Edition",
142 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
143 "USDC",
144 45859694.163308,
145 54141400.804031,
146 -8281706.6407229975,
147 null,
148 452923110.376888,
149 -8034839.821592033,
150 -8034839.821592033,
151 0.0006408635519086214,
152 0.04595177319033158,
153 0.04595177319033158,
154 0,
155 null,
156 null,
157 "2026-11-18T12:41:42+00:00"
158 ],
159 [
160 8453,
161 "morpho-v1",
162 "0xee8f4ec5672f09119b96ab6fb59c27e1b7e44b61",
163 "gtUSDCp",
164 "Gauntlet USDC Prime",
165 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
166 "USDC",
167 4183119.9697130006,
168 8127038.0973040005,
169 -3943918.127591,
170 null,
171 396492620.72218865,
172 -3607329.162811339,
173 -3607329.162811339,
174 0.0008440003515397532,
175 0.04523054491254469,
176 0.04523054491254469,
177 0,
178 null,
179 null,
180 "2026-11-18T12:41:38+00:00"
181 ],
182 [
183 8453,
184 "morpho-v1",
185 "0xf80c0529bd94c773844e459853cd91b9263dd525",
186 "yRSS-USDC",
187 "King RSS USDC Vault",
188 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
189 "USDC",
190 0,
191 0,
192 0,
193 null,
194 227102571.23502985,
195 200001553.14948884,
196 200001553.14948884,
197 0,
198 97.10877811046518,
199 97.10877811046518,
200 0,
201 null,
202 null,
203 "2026-10-08T17:21:51+00:00"
204 ],
205 [
206 8453,
207 "aave-v3",
208 "0xbdb9300b7cde636d9cd4aff00f6f009ffbbc8ee6",
209 "aBascbBTC",
210 "Aave Base cbBTC",
211 "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
212 "cbBTC",
213 47586726.64825358,
214 37614546.80154517,
215 9972179.84670841,
216 8904430.75428932,
217 213476881.53122863,
218 -21619684.104109317,
219 -20896666.351077467,
220 null,
221 0.00008907133648665863,
222 0.00008907133648665863,
223 0,
224 0.006393062489854474,
225 0.02786219819668175,
226 "2026-11-18T12:42:26+00:00"
227 ],
228 [
229 8453,
230 "aave-v3",
231 "0x4e65fe4dba92790696d040ac24aa414708f5c0ab",
232 "aBasUSDC",
233 "Aave Base USDC",
234 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
235 "USDC",
236 55149976.43711399,
237 65239849.964101985,
238 -10089873.526987992,
239 15332978.802599998,
240 185695790.85841143,
241 -10898629.706488997,
242 -3580709.29081586,
243 null,
244 0.05325740363198517,
245 0.05325740363198517,
246 0,
247 0.06446961070864668,
248 0.9169775772816917,
249 "2026-11-18T12:42:28+00:00"
250 ],
251 [
252 8453,
253 "aave-v3",
254 "0xd4a0e0b9149bcee3c920d2e00b5de09138fd8bb7",
255 "aBasWETH",
256 "Aave Base WETH",
257 "0x4200000000000000000000000000000000000006",
258 "WETH",
259 38488219.26538195,
260 45643758.94093926,
261 -7155539.675557315,
262 22013495.14579357,
263 175966888.6325674,
264 -31880041.497113615,
265 -10627016.326680318,
266 null,
267 0.01347581406017505,
268 0.01347581406017505,
269 0,
270 0.01990775821213149,
271 0.796312135980427,
272 "2026-11-18T12:42:26+00:00"
273 ],
274 [
275 8453,
276 "morpho-v2",
277 "0xbeef0e0834849acc03f0089f01f4f1eeb06873c9",
278 "steakUSDC",
279 "Steakhouse Prime USDC",
280 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
281 "USDC",
282 75204676.38179201,
283 70511615.88462901,
284 4693060.497162998,
285 null,
286 142783130.250529,
287 4845878.270441979,
288 4845878.270441979,
289 0.0008441913499721565,
290 0.04524143361841888,
291 0.04524143361841888,
292 0,
293 null,
294 null,
295 "2026-11-18T12:42:06+00:00"
296 ],
297 [
298 8453,
299 "morpho-v2",
300 "0x050ce30b927da55177a4914ec73480238bad56f0",
301 "gtusdcp",
302 "Gauntlet USDC Prime",
303 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
304 "USDC",
305 26187852.421843,
306 143838933.14637005,
307 -117651080.72452706,
308 null,
309 119989521.179562,
310 -117110432.63922799,
311 -117110432.63922799,
312 0.0008440450653235398,
313 0.04524150101695041,
314 0.04524150101695041,
315 0,
316 null,
317 null,
318 "2026-11-18T12:42:28+00:00"
319 ]
320 ],
321 "rows": 10
322 }
323]
x402 Payment Option
This endpoint supports pay-per-use access via the x402 payment protocol (v2): pay $0.05 USDC per request using blockchain micropayments. No API key required.
Quickstart (Typescript)
2import { ExactEvmScheme } from "@x402/evm/exact/client";
3import { wrapFetchWithPayment } from "@x402/fetch";
4import { privateKeyToAccount } from "viem/accounts";
5const signer = privateKeyToAccount(process.env.EVM_PRIVATE_KEY as `0x${string}`);
6const client = new x402Client();
7client.register("eip155:*", new ExactEvmScheme(signer));
8const fetchWithPayment = wrapFetchWithPayment(fetch, client);
9const response = await fetchWithPayment(
10 "https://x402.cambrian.org/evm/lending/overview/windows"
11);
12const data = await response.json();
Quickstart (Python)
2from eth_account import Account
3from x402 import x402Client
4from x402.http.clients import x402HttpxClient
5from x402.mechanisms.evm import EthAccountSigner
6from x402.mechanisms.evm.exact.register import register_exact_evm_client
7async def main():
8 client = x402Client()
9 account = Account.from_key(os.getenv("EVM_PRIVATE_KEY"))
10 register_exact_evm_client(client, EthAccountSigner(account))
11 async with x402HttpxClient(client) as http:
12 response = await http.get("https://x402.cambrian.org/evm/lending/overview/windows")
13 print(response.json())
14asyncio.run(main())
Payment Flow
- Send a normal request to the endpoint (no API key needed)
- Server returns 402 Payment Required with payment details
- The x402 SDK automatically signs a payment authorization with your wallet
- The SDK resubmits the request with the signed payment
- Server verifies payment and returns the API response
The x402 SDK handles steps 2 through 5 automatically.
Network: Base (chain ID 8453) | Currency: USDC | Price: $0.05 per request