Euler V2 Vault Markets Windows
Returns windowed (trailing-period) market metrics for the underlying markets of a specific Euler V2 vault, including TVL, deposit/withdrawal flows, borrow/supply APYs, and utilization rate over a selected timeframe. Each row represents one loan/collateral market pair associated with the specified vault.
GET
https://api.cambrian.org/evm/lending/euler/v2/vault/markets/windows
Parameters
timeframe* (string)
Trailing window for historical data results. One of 7d, 30d, 90d, 365d.
vault_address* (string)
Euler V2 vault address.
chain_id (integer)
EVM chain ID.
min_tvl_usd (integer)
Minimum current TVL in USD of the market, not the window average.
limit (integer)
Limit the number of results.
offset (integer)
Offset the results, allows you to skip a number of rows before starting to return rows.
order_asc (array)
List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order
order_desc (array)
List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order
Responses
Code
Description
200
Successful response
Media type: application/vnd.cambrian.table.v1.0.0+json
[
{
"columns": [
{
"name": "chainId",
"type": "UInt16"
},
{
"name": "protocolId",
"type": "String"
},
{
"name": "marketId",
"type": "String"
},
{
"name": "loanAddress",
"type": "String"
},
{
"name": "loanSymbol",
"type": "String"
},
{
"name": "collateralAddress",
"type": "String"
},
{
"name": "collateralSymbol",
"type": "String"
},
{
"name": "tvlUsd",
"type": "Float64"
},
{
"name": "tvlUsdChange",
"type": "Float64"
},
{
"name": "ltv",
"type": "Float64"
},
{
"name": "supplyCapUsd",
"type": "Nullable(Float64)"
},
{
"name": "depositsUsd",
"type": "Float64"
},
{
"name": "withdrawalsUsd",
"type": "Float64"
},
{
"name": "netFlowUsd",
"type": "Float64"
},
{
"name": "borrowsUsd",
"type": "Nullable(Float64)"
},
{
"name": "availableLiquidityChangeUsd",
"type": "Float64"
},
{
"name": "supplyApy",
"type": "Float64"
},
{
"name": "supplyBaseApy",
"type": "Float64"
},
{
"name": "supplyExtraRewardsApy",
"type": "Float64"
},
{
"name": "borrowApy",
"type": "Float64"
},
{
"name": "utilizationRate",
"type": "Float64"
},
{
"name": "updatedAt",
"type": "DateTime('UTC')"
}
],
"data": [
[
8453,
"euler-lend",
"0x859160db5841e5cfb8d3f144c6b3381a85a4b410_0x0a1a3b5f2041f33522c4efc754a7d096f880ee16",
"0x4200000000000000000000000000000000000006",
"WETH",
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"USDC",
224456.8846001288,
-11033.448616558628,
0.84,
60000000,
303809.6069820027,
290238.588818906,
13571.018163096684,
73527.01331570337,
15978.254526986428,
0.019034717902408238,
0.019034717902408238,
0,
0.025455485114920406,
0.8136000279928696,
"2026-11-18T12:38:11+00:00"
],
[
8453,
"euler-lend",
"0x859160db5841e5cfb8d3f144c6b3381a85a4b410_0x358f25f82644eabb441d0df4af8746614fb9ea49",
"0x4200000000000000000000000000000000000006",
"WETH",
"0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22",
"cbETH",
224456.8846001288,
-11033.448616558628,
0.92,
1482562.3182839488,
303809.6069820027,
290238.588818906,
13571.018163096684,
73527.01331570337,
15978.254526986428,
0.019034717902408238,
0.019034717902408238,
0,
0.025455485114920406,
0.8136000279928696,
"2026-11-18T12:34:51+00:00"
],
[
8453,
"euler-lend",
"0x859160db5841e5cfb8d3f144c6b3381a85a4b410_0x3f0d3fd87a42bdaa3dfcc13ada42ea922e638a7a",
"0x4200000000000000000000000000000000000006",
"WETH",
"0xecac9c5f704e954931349da37f60e39f515c11c1",
"LBTC",
224456.8846001288,
-11033.448616558628,
0.78,
0,
303809.6069820027,
290238.588818906,
13571.018163096684,
73527.01331570337,
15978.254526986428,
0.019034717902408238,
0.019034717902408238,
0,
0.025455485114920406,
0.8136000279928696,
"2026-11-18T12:19:38+00:00"
],
[
8453,
"euler-lend",
"0x859160db5841e5cfb8d3f144c6b3381a85a4b410_0x882018411bc4a020a879cee183441fc9fa5d7f8b",
"0x4200000000000000000000000000000000000006",
"WETH",
"0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
"cbBTC",
224456.8846001288,
-11033.448616558628,
0.78,
8015123.9945605425,
303809.6069820027,
290238.588818906,
13571.018163096684,
73527.01331570337,
15978.254526986428,
0.019034717902408238,
0.019034717902408238,
0,
0.025455485114920406,
0.8136000279928696,
"2026-11-18T12:35:17+00:00"
],
[
8453,
"euler-lend",
"0x859160db5841e5cfb8d3f144c6b3381a85a4b410_0xb8b29614fc7c93a75798453ee838ca3e20b60c6f",
"0x4200000000000000000000000000000000000006",
"WETH",
"0x3f5bf3edac59d650d8fdf9657a71f2f904a3a4ee",
"AERO",
224456.8846001288,
-11033.448616558628,
0.63,
436853.8121871332,
303809.6069820027,
290238.588818906,
13571.018163096684,
73527.01331570337,
15978.254526986428,
0.019034717902408238,
0.019034717902408238,
0,
0.025455485114920406,
0.8136000279928696,
"2026-11-18T12:19:38+00:00"
],
[
8453,
"euler-lend",
"0x859160db5841e5cfb8d3f144c6b3381a85a4b410_0xd4a805261b28f375fc9c3d89ecd2c952cd130d14",
"0x4200000000000000000000000000000000000006",
"WETH",
"0x04c0599ae5a44757c0af6f9ec3b93da8976c150a",
"weETH.base",
224456.8846001288,
-11033.448616558628,
0.93,
0,
303809.6069820027,
290238.588818906,
13571.018163096684,
73527.01331570337,
15978.254526986428,
0.019034717902408238,
0.019034717902408238,
0,
0.025455485114920406,
0.8136000279928696,
"2026-11-18T12:19:38+00:00"
]
],
"rows": 6
}
]
400
Bad Request: Invalid request parameters or malformed request.
401
Unauthorized: Missing or invalid API key. Include X-API-Key header with your request.
403
Forbidden: Invalid API key or insufficient permissions to access this resource.
404
Not Found: Endpoint or resource does not exist.
408
Request Timeout: Request took too long to process. Try again.
500
Internal Server Error: An unexpected error occurred while processing your request.
503
Service Unavailable: The server is temporarily unable to handle the request. Please try again later.
Examples
1. Fetch 7-Day Windowed Market Metrics for a Euler V2 Vault
This example retrieves windowed market data for a specific Euler V2 vault over a trailing 7-day period, limited to 10 results.
curl
curl -X GET "https://api.cambrian.org/evm/lending/euler/v2/vault/markets/windows?timeframe=7d&vault_address=0x859160db5841e5cfb8d3f144c6b3381a85a4b410&limit=10" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json"
Response:
JSON
1[
2 {
3 "columns": [
4 {
5 "name": "chainId",
6 "type": "UInt16"
7 },
8 {
9 "name": "protocolId",
10 "type": "String"
11 },
12 {
13 "name": "marketId",
14 "type": "String"
15 },
16 {
17 "name": "loanAddress",
18 "type": "String"
19 },
20 {
21 "name": "loanSymbol",
22 "type": "String"
23 },
24 {
25 "name": "collateralAddress",
26 "type": "String"
27 },
28 {
29 "name": "collateralSymbol",
30 "type": "String"
31 },
32 {
33 "name": "tvlUsd",
34 "type": "Float64"
35 },
36 {
37 "name": "tvlUsdChange",
38 "type": "Float64"
39 },
40 {
41 "name": "ltv",
42 "type": "Float64"
43 },
44 {
45 "name": "supplyCapUsd",
46 "type": "Nullable(Float64)"
47 },
48 {
49 "name": "depositsUsd",
50 "type": "Float64"
51 },
52 {
53 "name": "withdrawalsUsd",
54 "type": "Float64"
55 },
56 {
57 "name": "netFlowUsd",
58 "type": "Float64"
59 },
60 {
61 "name": "borrowsUsd",
62 "type": "Nullable(Float64)"
63 },
64 {
65 "name": "availableLiquidityChangeUsd",
66 "type": "Float64"
67 },
68 {
69 "name": "supplyApy",
70 "type": "Float64"
71 },
72 {
73 "name": "supplyBaseApy",
74 "type": "Float64"
75 },
76 {
77 "name": "supplyExtraRewardsApy",
78 "type": "Float64"
79 },
80 {
81 "name": "borrowApy",
82 "type": "Float64"
83 },
84 {
85 "name": "utilizationRate",
86 "type": "Float64"
87 },
88 {
89 "name": "updatedAt",
90 "type": "DateTime('UTC')"
91 }
92 ],
93 "data": [
94 [
95 8453,
96 "euler-lend",
97 "0x859160db5841e5cfb8d3f144c6b3381a85a4b410_0x0a1a3b5f2041f33522c4efc754a7d096f880ee16",
98 "0x4200000000000000000000000000000000000006",
99 "WETH",
100 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
101 "USDC",
102 224456.8846001288,
103 -11033.448616558628,
104 0.84,
105 60000000,
106 303809.6069820027,
107 290238.588818906,
108 13571.018163096684,
109 73527.01331570337,
110 15978.254526986428,
111 0.019034717902408238,
112 0.019034717902408238,
113 0,
114 0.025455485114920406,
115 0.8136000279928696,
116 "2026-11-18T12:38:11+00:00"
117 ],
118 [
119 8453,
120 "euler-lend",
121 "0x859160db5841e5cfb8d3f144c6b3381a85a4b410_0x358f25f82644eabb441d0df4af8746614fb9ea49",
122 "0x4200000000000000000000000000000000000006",
123 "WETH",
124 "0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22",
125 "cbETH",
126 224456.8846001288,
127 -11033.448616558628,
128 0.92,
129 1482562.3182839488,
130 303809.6069820027,
131 290238.588818906,
132 13571.018163096684,
133 73527.01331570337,
134 15978.254526986428,
135 0.019034717902408238,
136 0.019034717902408238,
137 0,
138 0.025455485114920406,
139 0.8136000279928696,
140 "2026-11-18T12:34:51+00:00"
141 ],
142 [
143 8453,
144 "euler-lend",
145 "0x859160db5841e5cfb8d3f144c6b3381a85a4b410_0x3f0d3fd87a42bdaa3dfcc13ada42ea922e638a7a",
146 "0x4200000000000000000000000000000000000006",
147 "WETH",
148 "0xecac9c5f704e954931349da37f60e39f515c11c1",
149 "LBTC",
150 224456.8846001288,
151 -11033.448616558628,
152 0.78,
153 0,
154 303809.6069820027,
155 290238.588818906,
156 13571.018163096684,
157 73527.01331570337,
158 15978.254526986428,
159 0.019034717902408238,
160 0.019034717902408238,
161 0,
162 0.025455485114920406,
163 0.8136000279928696,
164 "2026-11-18T12:19:38+00:00"
165 ],
166 [
167 8453,
168 "euler-lend",
169 "0x859160db5841e5cfb8d3f144c6b3381a85a4b410_0x882018411bc4a020a879cee183441fc9fa5d7f8b",
170 "0x4200000000000000000000000000000000000006",
171 "WETH",
172 "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
173 "cbBTC",
174 224456.8846001288,
175 -11033.448616558628,
176 0.78,
177 8015123.9945605425,
178 303809.6069820027,
179 290238.588818906,
180 13571.018163096684,
181 73527.01331570337,
182 15978.254526986428,
183 0.019034717902408238,
184 0.019034717902408238,
185 0,
186 0.025455485114920406,
187 0.8136000279928696,
188 "2026-11-18T12:35:17+00:00"
189 ],
190 [
191 8453,
192 "euler-lend",
193 "0x859160db5841e5cfb8d3f144c6b3381a85a4b410_0xb8b29614fc7c93a75798453ee838ca3e20b60c6f",
194 "0x4200000000000000000000000000000000000006",
195 "WETH",
196 "0x3f5bf3edac59d650d8fdf9657a71f2f904a3a4ee",
197 "AERO",
198 224456.8846001288,
199 -11033.448616558628,
200 0.63,
201 436853.8121871332,
202 303809.6069820027,
203 290238.588818906,
204 13571.018163096684,
205 73527.01331570337,
206 15978.254526986428,
207 0.019034717902408238,
208 0.019034717902408238,
209 0,
210 0.025455485114920406,
211 0.8136000279928696,
212 "2026-11-18T12:19:38+00:00"
213 ],
214 [
215 8453,
216 "euler-lend",
217 "0x859160db5841e5cfb8d3f144c6b3381a85a4b410_0xd4a805261b28f375fc9c3d89ecd2c952cd130d14",
218 "0x4200000000000000000000000000000000000006",
219 "WETH",
220 "0x04c0599ae5a44757c0af6f9ec3b93da8976c150a",
221 "weETH.base",
222 224456.8846001288,
223 -11033.448616558628,
224 0.93,
225 0,
226 303809.6069820027,
227 290238.588818906,
228 13571.018163096684,
229 73527.01331570337,
230 15978.254526986428,
231 0.019034717902408238,
232 0.019034717902408238,
233 0,
234 0.025455485114920406,
235 0.8136000279928696,
236 "2026-11-18T12:19:38+00:00"
237 ]
238 ],
239 "rows": 6
240 }
241]
2 {
3 "columns": [
4 {
5 "name": "chainId",
6 "type": "UInt16"
7 },
8 {
9 "name": "protocolId",
10 "type": "String"
11 },
12 {
13 "name": "marketId",
14 "type": "String"
15 },
16 {
17 "name": "loanAddress",
18 "type": "String"
19 },
20 {
21 "name": "loanSymbol",
22 "type": "String"
23 },
24 {
25 "name": "collateralAddress",
26 "type": "String"
27 },
28 {
29 "name": "collateralSymbol",
30 "type": "String"
31 },
32 {
33 "name": "tvlUsd",
34 "type": "Float64"
35 },
36 {
37 "name": "tvlUsdChange",
38 "type": "Float64"
39 },
40 {
41 "name": "ltv",
42 "type": "Float64"
43 },
44 {
45 "name": "supplyCapUsd",
46 "type": "Nullable(Float64)"
47 },
48 {
49 "name": "depositsUsd",
50 "type": "Float64"
51 },
52 {
53 "name": "withdrawalsUsd",
54 "type": "Float64"
55 },
56 {
57 "name": "netFlowUsd",
58 "type": "Float64"
59 },
60 {
61 "name": "borrowsUsd",
62 "type": "Nullable(Float64)"
63 },
64 {
65 "name": "availableLiquidityChangeUsd",
66 "type": "Float64"
67 },
68 {
69 "name": "supplyApy",
70 "type": "Float64"
71 },
72 {
73 "name": "supplyBaseApy",
74 "type": "Float64"
75 },
76 {
77 "name": "supplyExtraRewardsApy",
78 "type": "Float64"
79 },
80 {
81 "name": "borrowApy",
82 "type": "Float64"
83 },
84 {
85 "name": "utilizationRate",
86 "type": "Float64"
87 },
88 {
89 "name": "updatedAt",
90 "type": "DateTime('UTC')"
91 }
92 ],
93 "data": [
94 [
95 8453,
96 "euler-lend",
97 "0x859160db5841e5cfb8d3f144c6b3381a85a4b410_0x0a1a3b5f2041f33522c4efc754a7d096f880ee16",
98 "0x4200000000000000000000000000000000000006",
99 "WETH",
100 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
101 "USDC",
102 224456.8846001288,
103 -11033.448616558628,
104 0.84,
105 60000000,
106 303809.6069820027,
107 290238.588818906,
108 13571.018163096684,
109 73527.01331570337,
110 15978.254526986428,
111 0.019034717902408238,
112 0.019034717902408238,
113 0,
114 0.025455485114920406,
115 0.8136000279928696,
116 "2026-11-18T12:38:11+00:00"
117 ],
118 [
119 8453,
120 "euler-lend",
121 "0x859160db5841e5cfb8d3f144c6b3381a85a4b410_0x358f25f82644eabb441d0df4af8746614fb9ea49",
122 "0x4200000000000000000000000000000000000006",
123 "WETH",
124 "0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22",
125 "cbETH",
126 224456.8846001288,
127 -11033.448616558628,
128 0.92,
129 1482562.3182839488,
130 303809.6069820027,
131 290238.588818906,
132 13571.018163096684,
133 73527.01331570337,
134 15978.254526986428,
135 0.019034717902408238,
136 0.019034717902408238,
137 0,
138 0.025455485114920406,
139 0.8136000279928696,
140 "2026-11-18T12:34:51+00:00"
141 ],
142 [
143 8453,
144 "euler-lend",
145 "0x859160db5841e5cfb8d3f144c6b3381a85a4b410_0x3f0d3fd87a42bdaa3dfcc13ada42ea922e638a7a",
146 "0x4200000000000000000000000000000000000006",
147 "WETH",
148 "0xecac9c5f704e954931349da37f60e39f515c11c1",
149 "LBTC",
150 224456.8846001288,
151 -11033.448616558628,
152 0.78,
153 0,
154 303809.6069820027,
155 290238.588818906,
156 13571.018163096684,
157 73527.01331570337,
158 15978.254526986428,
159 0.019034717902408238,
160 0.019034717902408238,
161 0,
162 0.025455485114920406,
163 0.8136000279928696,
164 "2026-11-18T12:19:38+00:00"
165 ],
166 [
167 8453,
168 "euler-lend",
169 "0x859160db5841e5cfb8d3f144c6b3381a85a4b410_0x882018411bc4a020a879cee183441fc9fa5d7f8b",
170 "0x4200000000000000000000000000000000000006",
171 "WETH",
172 "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
173 "cbBTC",
174 224456.8846001288,
175 -11033.448616558628,
176 0.78,
177 8015123.9945605425,
178 303809.6069820027,
179 290238.588818906,
180 13571.018163096684,
181 73527.01331570337,
182 15978.254526986428,
183 0.019034717902408238,
184 0.019034717902408238,
185 0,
186 0.025455485114920406,
187 0.8136000279928696,
188 "2026-11-18T12:35:17+00:00"
189 ],
190 [
191 8453,
192 "euler-lend",
193 "0x859160db5841e5cfb8d3f144c6b3381a85a4b410_0xb8b29614fc7c93a75798453ee838ca3e20b60c6f",
194 "0x4200000000000000000000000000000000000006",
195 "WETH",
196 "0x3f5bf3edac59d650d8fdf9657a71f2f904a3a4ee",
197 "AERO",
198 224456.8846001288,
199 -11033.448616558628,
200 0.63,
201 436853.8121871332,
202 303809.6069820027,
203 290238.588818906,
204 13571.018163096684,
205 73527.01331570337,
206 15978.254526986428,
207 0.019034717902408238,
208 0.019034717902408238,
209 0,
210 0.025455485114920406,
211 0.8136000279928696,
212 "2026-11-18T12:19:38+00:00"
213 ],
214 [
215 8453,
216 "euler-lend",
217 "0x859160db5841e5cfb8d3f144c6b3381a85a4b410_0xd4a805261b28f375fc9c3d89ecd2c952cd130d14",
218 "0x4200000000000000000000000000000000000006",
219 "WETH",
220 "0x04c0599ae5a44757c0af6f9ec3b93da8976c150a",
221 "weETH.base",
222 224456.8846001288,
223 -11033.448616558628,
224 0.93,
225 0,
226 303809.6069820027,
227 290238.588818906,
228 13571.018163096684,
229 73527.01331570337,
230 15978.254526986428,
231 0.019034717902408238,
232 0.019034717902408238,
233 0,
234 0.025455485114920406,
235 0.8136000279928696,
236 "2026-11-18T12:19:38+00:00"
237 ]
238 ],
239 "rows": 6
240 }
241]
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)
bash
npm install @x402/fetch @x402/evm viem
TypeScript
1import { x402Client } from "@x402/core/client";
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/euler/v2/vault/markets/windows"
11);
12const data = await response.json();
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/euler/v2/vault/markets/windows"
11);
12const data = await response.json();
Quickstart (Python)
bash
pip install "x402[httpx]"
Python
1import asyncio, os
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/euler/v2/vault/markets/windows")
13 print(response.json())
14asyncio.run(main())
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/euler/v2/vault/markets/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