Morpho V1 Vault Markets Windows
Returns time-windowed metrics for Morpho Blue markets allocated to a V1 vault, including TVL, deposits/withdrawals, net flow, borrow activity, and APY figures over a selectable trailing window (7d, 30d, 90d, or 365d). Results can be filtered by vault, market, loan token, collateral token, chain, and minimum TVL.
GET
https://api.cambrian.org/evm/lending/morpho/v1/vault/markets/windows
Parameters
timeframe* (string)
Trailing window for historical data results. One of 7d, 30d, 90d, 365d.
vault_address* (string)
Morpho V1 vault address.
market_id (string)
ID of the Morpho Blue market
loan_address (string)
Loan token address. See tokens for valid addresses.
collateral_address (string)
Collateral token address. See tokens for valid addresses.
chain_id (integer)
EVM chain ID.
min_tvl_usd (integer)
Minimum current TVL in USD of the vault, 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": "FixedString(66)"
},
{
"name": "loanAddress",
"type": "FixedString(42)"
},
{
"name": "loanSymbol",
"type": "String"
},
{
"name": "collateralAddress",
"type": "FixedString(42)"
},
{
"name": "collateralSymbol",
"type": "String"
},
{
"name": "tvlUsd",
"type": "Float64"
},
{
"name": "tvlUsdChange",
"type": "Float64"
},
{
"name": "allocationUsd",
"type": "Float64"
},
{
"name": "allocationShare",
"type": "Float64"
},
{
"name": "supplyCapUsd",
"type": "Float64"
},
{
"name": "lltv",
"type": "Float64"
},
{
"name": "depositsUsd",
"type": "Float64"
},
{
"name": "withdrawalsUsd",
"type": "Float64"
},
{
"name": "netFlowUsd",
"type": "Float64"
},
{
"name": "borrowsUsd",
"type": "Float64"
},
{
"name": "availableLiquidityChangeUsd",
"type": "Float64"
},
{
"name": "sharePriceChange",
"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,
"morpho-blue",
"0x9103c3b4e834476c9a62ea009ba2c884ee42e94e6e314a26f04d312434191836",
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"USDC",
"0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
"cbBTC",
100458158.20195952,
-156010642.7421751,
92812723.07832785,
0.9238943331186562,
1000000000,
0.86,
671191501.280885,
826997073.896487,
-155805572.61560202,
65150162.131034,
-64096660.69064093,
0,
0.04522070865011682,
0.04522070865011682,
0,
0.0527604800362427,
0.8571408030538932,
"2026-11-18T12:42:28+00:00"
],
[
8453,
"morpho-blue",
"0x8793cf302b8ffd655ab97bd1c695dbd967807e8367a65cb2f4edaf1380ba1bda",
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"USDC",
"0x4200000000000000000000000000000000000006",
"WETH",
100458158.20195952,
-13184959.069332004,
4701112.229138947,
0.04679671928374303,
200000000,
0.86,
64896290.12851699,
78149411.250525,
-13253121.12200801,
7462351.382713,
-4174230.8290230036,
0,
0.045254106276810944,
0.045254106276810944,
0,
0.05285237051778756,
0.8562775688834562,
"2026-11-18T12:40:06+00:00"
],
[
8453,
"morpho-blue",
"0x0ca10126f6c94cbd9cf0a48cc9516ae5e3dec5aa68303e6d988ee37c5149bf0d",
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"USDC",
"0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22",
"cbETH",
100458158.20195952,
-111063.96228900179,
2865776.3995191846,
0.02852706490753964,
200000000,
0.77,
19507094.010124996,
19797153.401399,
-290059.3912740052,
2099518.461116,
-368484.46838900074,
0,
0.04589775520863732,
0.04589775520863732,
0,
0.053416923203503774,
0.8591917919789575,
"2026-11-18T12:40:31+00:00"
],
[
8453,
"morpho-blue",
"0x13c42741a359ac4a8aa8287d2be109dcf28344484f91185f9a79bd5a805a55ae",
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"USDC",
"0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452",
"wstETH",
100458158.20195952,
151491.41167600034,
69648.18576255451,
0.0006933054219701588,
50000000,
0.86,
4201087.603943,
4062700.09905,
138387.50489299977,
432950.93782600004,
-34810.92637999961,
0,
0.046104985429964905,
0.046104985429964905,
0,
0.053315158078455056,
0.8646965487000483,
"2026-11-18T11:53:54+00:00"
],
[
8453,
"morpho-blue",
"0x1c21c59df9db44bf6f645d854ee710a8ca17b479451447e9f56758aee10a2fad",
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"USDC",
"0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22",
"cbETH",
100458158.20195952,
16018.454164999886,
8898.309210982658,
0.000088577268090996,
50000000,
0.86,
3052301.7585199997,
3039869.031936,
12432.726583999582,
120117,
-13964.3550440002,
0,
0.04569536393457155,
0.04569536393457155,
0,
0.0527903163693072,
0.8649745913285231,
"2026-11-18T12:35:57+00:00"
]
],
"rows": 5
}
]
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. Retrieve 7-day window metrics for a vault's markets
Fetches the trailing 7-day window metrics for all Morpho Blue markets allocated to a specific V1 vault on Base, limited to 10 results.
curl
curl -X GET "https://api.cambrian.org/evm/lending/morpho/v1/vault/markets/windows?timeframe=7d&vault_address=0xbeef010f9cb27031ad51e3333f9af9c6b1228183&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": "FixedString(66)"
15 },
16 {
17 "name": "loanAddress",
18 "type": "FixedString(42)"
19 },
20 {
21 "name": "loanSymbol",
22 "type": "String"
23 },
24 {
25 "name": "collateralAddress",
26 "type": "FixedString(42)"
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": "allocationUsd",
42 "type": "Float64"
43 },
44 {
45 "name": "allocationShare",
46 "type": "Float64"
47 },
48 {
49 "name": "supplyCapUsd",
50 "type": "Float64"
51 },
52 {
53 "name": "lltv",
54 "type": "Float64"
55 },
56 {
57 "name": "depositsUsd",
58 "type": "Float64"
59 },
60 {
61 "name": "withdrawalsUsd",
62 "type": "Float64"
63 },
64 {
65 "name": "netFlowUsd",
66 "type": "Float64"
67 },
68 {
69 "name": "borrowsUsd",
70 "type": "Float64"
71 },
72 {
73 "name": "availableLiquidityChangeUsd",
74 "type": "Float64"
75 },
76 {
77 "name": "sharePriceChange",
78 "type": "Float64"
79 },
80 {
81 "name": "supplyApy",
82 "type": "Float64"
83 },
84 {
85 "name": "supplyBaseApy",
86 "type": "Float64"
87 },
88 {
89 "name": "supplyExtraRewardsApy",
90 "type": "Float64"
91 },
92 {
93 "name": "borrowApy",
94 "type": "Float64"
95 },
96 {
97 "name": "utilizationRate",
98 "type": "Float64"
99 },
100 {
101 "name": "updatedAt",
102 "type": "DateTime('UTC')"
103 }
104 ],
105 "data": [
106 [
107 8453,
108 "morpho-blue",
109 "0x9103c3b4e834476c9a62ea009ba2c884ee42e94e6e314a26f04d312434191836",
110 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
111 "USDC",
112 "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
113 "cbBTC",
114 100458158.20195952,
115 -156010642.7421751,
116 92812723.07832785,
117 0.9238943331186562,
118 1000000000,
119 0.86,
120 671191501.280885,
121 826997073.896487,
122 -155805572.61560202,
123 65150162.131034,
124 -64096660.69064093,
125 0,
126 0.04522070865011682,
127 0.04522070865011682,
128 0,
129 0.0527604800362427,
130 0.8571408030538932,
131 "2026-11-18T12:42:28+00:00"
132 ],
133 [
134 8453,
135 "morpho-blue",
136 "0x8793cf302b8ffd655ab97bd1c695dbd967807e8367a65cb2f4edaf1380ba1bda",
137 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
138 "USDC",
139 "0x4200000000000000000000000000000000000006",
140 "WETH",
141 100458158.20195952,
142 -13184959.069332004,
143 4701112.229138947,
144 0.04679671928374303,
145 200000000,
146 0.86,
147 64896290.12851699,
148 78149411.250525,
149 -13253121.12200801,
150 7462351.382713,
151 -4174230.8290230036,
152 0,
153 0.045254106276810944,
154 0.045254106276810944,
155 0,
156 0.05285237051778756,
157 0.8562775688834562,
158 "2026-11-18T12:40:06+00:00"
159 ],
160 [
161 8453,
162 "morpho-blue",
163 "0x0ca10126f6c94cbd9cf0a48cc9516ae5e3dec5aa68303e6d988ee37c5149bf0d",
164 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
165 "USDC",
166 "0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22",
167 "cbETH",
168 100458158.20195952,
169 -111063.96228900179,
170 2865776.3995191846,
171 0.02852706490753964,
172 200000000,
173 0.77,
174 19507094.010124996,
175 19797153.401399,
176 -290059.3912740052,
177 2099518.461116,
178 -368484.46838900074,
179 0,
180 0.04589775520863732,
181 0.04589775520863732,
182 0,
183 0.053416923203503774,
184 0.8591917919789575,
185 "2026-11-18T12:40:31+00:00"
186 ],
187 [
188 8453,
189 "morpho-blue",
190 "0x13c42741a359ac4a8aa8287d2be109dcf28344484f91185f9a79bd5a805a55ae",
191 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
192 "USDC",
193 "0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452",
194 "wstETH",
195 100458158.20195952,
196 151491.41167600034,
197 69648.18576255451,
198 0.0006933054219701588,
199 50000000,
200 0.86,
201 4201087.603943,
202 4062700.09905,
203 138387.50489299977,
204 432950.93782600004,
205 -34810.92637999961,
206 0,
207 0.046104985429964905,
208 0.046104985429964905,
209 0,
210 0.053315158078455056,
211 0.8646965487000483,
212 "2026-11-18T11:53:54+00:00"
213 ],
214 [
215 8453,
216 "morpho-blue",
217 "0x1c21c59df9db44bf6f645d854ee710a8ca17b479451447e9f56758aee10a2fad",
218 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
219 "USDC",
220 "0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22",
221 "cbETH",
222 100458158.20195952,
223 16018.454164999886,
224 8898.309210982658,
225 0.000088577268090996,
226 50000000,
227 0.86,
228 3052301.7585199997,
229 3039869.031936,
230 12432.726583999582,
231 120117,
232 -13964.3550440002,
233 0,
234 0.04569536393457155,
235 0.04569536393457155,
236 0,
237 0.0527903163693072,
238 0.8649745913285231,
239 "2026-11-18T12:35:57+00:00"
240 ]
241 ],
242 "rows": 5
243 }
244]
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": "FixedString(66)"
15 },
16 {
17 "name": "loanAddress",
18 "type": "FixedString(42)"
19 },
20 {
21 "name": "loanSymbol",
22 "type": "String"
23 },
24 {
25 "name": "collateralAddress",
26 "type": "FixedString(42)"
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": "allocationUsd",
42 "type": "Float64"
43 },
44 {
45 "name": "allocationShare",
46 "type": "Float64"
47 },
48 {
49 "name": "supplyCapUsd",
50 "type": "Float64"
51 },
52 {
53 "name": "lltv",
54 "type": "Float64"
55 },
56 {
57 "name": "depositsUsd",
58 "type": "Float64"
59 },
60 {
61 "name": "withdrawalsUsd",
62 "type": "Float64"
63 },
64 {
65 "name": "netFlowUsd",
66 "type": "Float64"
67 },
68 {
69 "name": "borrowsUsd",
70 "type": "Float64"
71 },
72 {
73 "name": "availableLiquidityChangeUsd",
74 "type": "Float64"
75 },
76 {
77 "name": "sharePriceChange",
78 "type": "Float64"
79 },
80 {
81 "name": "supplyApy",
82 "type": "Float64"
83 },
84 {
85 "name": "supplyBaseApy",
86 "type": "Float64"
87 },
88 {
89 "name": "supplyExtraRewardsApy",
90 "type": "Float64"
91 },
92 {
93 "name": "borrowApy",
94 "type": "Float64"
95 },
96 {
97 "name": "utilizationRate",
98 "type": "Float64"
99 },
100 {
101 "name": "updatedAt",
102 "type": "DateTime('UTC')"
103 }
104 ],
105 "data": [
106 [
107 8453,
108 "morpho-blue",
109 "0x9103c3b4e834476c9a62ea009ba2c884ee42e94e6e314a26f04d312434191836",
110 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
111 "USDC",
112 "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
113 "cbBTC",
114 100458158.20195952,
115 -156010642.7421751,
116 92812723.07832785,
117 0.9238943331186562,
118 1000000000,
119 0.86,
120 671191501.280885,
121 826997073.896487,
122 -155805572.61560202,
123 65150162.131034,
124 -64096660.69064093,
125 0,
126 0.04522070865011682,
127 0.04522070865011682,
128 0,
129 0.0527604800362427,
130 0.8571408030538932,
131 "2026-11-18T12:42:28+00:00"
132 ],
133 [
134 8453,
135 "morpho-blue",
136 "0x8793cf302b8ffd655ab97bd1c695dbd967807e8367a65cb2f4edaf1380ba1bda",
137 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
138 "USDC",
139 "0x4200000000000000000000000000000000000006",
140 "WETH",
141 100458158.20195952,
142 -13184959.069332004,
143 4701112.229138947,
144 0.04679671928374303,
145 200000000,
146 0.86,
147 64896290.12851699,
148 78149411.250525,
149 -13253121.12200801,
150 7462351.382713,
151 -4174230.8290230036,
152 0,
153 0.045254106276810944,
154 0.045254106276810944,
155 0,
156 0.05285237051778756,
157 0.8562775688834562,
158 "2026-11-18T12:40:06+00:00"
159 ],
160 [
161 8453,
162 "morpho-blue",
163 "0x0ca10126f6c94cbd9cf0a48cc9516ae5e3dec5aa68303e6d988ee37c5149bf0d",
164 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
165 "USDC",
166 "0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22",
167 "cbETH",
168 100458158.20195952,
169 -111063.96228900179,
170 2865776.3995191846,
171 0.02852706490753964,
172 200000000,
173 0.77,
174 19507094.010124996,
175 19797153.401399,
176 -290059.3912740052,
177 2099518.461116,
178 -368484.46838900074,
179 0,
180 0.04589775520863732,
181 0.04589775520863732,
182 0,
183 0.053416923203503774,
184 0.8591917919789575,
185 "2026-11-18T12:40:31+00:00"
186 ],
187 [
188 8453,
189 "morpho-blue",
190 "0x13c42741a359ac4a8aa8287d2be109dcf28344484f91185f9a79bd5a805a55ae",
191 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
192 "USDC",
193 "0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452",
194 "wstETH",
195 100458158.20195952,
196 151491.41167600034,
197 69648.18576255451,
198 0.0006933054219701588,
199 50000000,
200 0.86,
201 4201087.603943,
202 4062700.09905,
203 138387.50489299977,
204 432950.93782600004,
205 -34810.92637999961,
206 0,
207 0.046104985429964905,
208 0.046104985429964905,
209 0,
210 0.053315158078455056,
211 0.8646965487000483,
212 "2026-11-18T11:53:54+00:00"
213 ],
214 [
215 8453,
216 "morpho-blue",
217 "0x1c21c59df9db44bf6f645d854ee710a8ca17b479451447e9f56758aee10a2fad",
218 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
219 "USDC",
220 "0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22",
221 "cbETH",
222 100458158.20195952,
223 16018.454164999886,
224 8898.309210982658,
225 0.000088577268090996,
226 50000000,
227 0.86,
228 3052301.7585199997,
229 3039869.031936,
230 12432.726583999582,
231 120117,
232 -13964.3550440002,
233 0,
234 0.04569536393457155,
235 0.04569536393457155,
236 0,
237 0.0527903163693072,
238 0.8649745913285231,
239 "2026-11-18T12:35:57+00:00"
240 ]
241 ],
242 "rows": 5
243 }
244]
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/morpho/v1/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/morpho/v1/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/morpho/v1/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/morpho/v1/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