Fluid Borrow Vaults
Retrieves Fluid protocol borrow vaults on supported EVM chains, including loan and collateral token pairs, supply/borrow amounts, utilization, APYs, and liquidation loan-to-value (LLTV). Results can be filtered by vault address, loan/collateral token, chain, and minimum TVL, and sorted on any available column.
GET
https://api.cambrian.org/evm/lending/fluid/borrow
Parameters
address (string)
Fluid borrow vault address
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 TVL Usd of the lending pool/vault
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": "address",
"type": "String"
},
{
"name": "loanAddress",
"type": "FixedString(42)"
},
{
"name": "loanSymbol",
"type": "Nullable(String)"
},
{
"name": "collateralAddress",
"type": "FixedString(42)"
},
{
"name": "collateralSymbol",
"type": "Nullable(String)"
},
{
"name": "supply",
"type": "Float64"
},
{
"name": "supplyUsd",
"type": "Float64"
},
{
"name": "borrow",
"type": "Float64"
},
{
"name": "borrowUsd",
"type": "Float64"
},
{
"name": "tvlUsd",
"type": "Float64"
},
{
"name": "availableLiquidityUsd",
"type": "Float64"
},
{
"name": "supplyApy",
"type": "Nullable(Float64)"
},
{
"name": "borrowApy",
"type": "Nullable(Float64)"
},
{
"name": "utilizationRate",
"type": "Float64"
},
{
"name": "lltv",
"type": "Nullable(Float64)"
},
{
"name": "updatedAt",
"type": "DateTime('UTC')"
}
],
"data": [
[
8453,
"fluid-borrow",
"0xa0f83fc5885cebc0420ce7c7b139adc80c4f4d91",
"0x4200000000000000000000000000000000000006",
"WETH",
"0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452",
"wstETH",
1255.6527840370086,
4018932.092626926,
1393.4572086643132,
3574762.6042951345,
4018932.092626926,
444169.4883317915,
0.0008068335455547938,
0.0178,
0.8894807182369022,
0.95,
"2026-10-06T15:41:29+00:00"
],
[
8453,
"fluid-borrow",
"0xbec491fef7b4f666b270f9d5e5c3f443cbf20991",
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"USDC",
"0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452",
"wstETH",
1250.9639389174338,
4003924.639636752,
1353529.6731575918,
1353529.6731575918,
4003924.639636752,
2650394.9664791604,
0.0008068335455547938,
0.0771,
0.3380507364595124,
0.85,
"2026-10-07T03:49:51+00:00"
],
[
8453,
"fluid-borrow",
"0xeabbfca72f8a8bf14c4ac59e69ecb2eb69f0811c",
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"USDC",
"0x4200000000000000000000000000000000000006",
"WETH",
1539.039733804517,
3948238.7063771673,
1505537.3141414537,
1505537.3141414537,
3948238.7063771673,
2442701.3922357135,
0.008577419343403213,
0.0771,
0.381318716041591,
0.88,
"2026-10-07T13:50:01+00:00"
],
[
8453,
"fluid-borrow",
"0x01f0d07fde184614216e76782c6b7df663f5375e",
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"USDC",
"0x0b2b2b2076d95dda7817e785989fe353fe955ef9",
"sUSDai",
3299905.7725404366,
3619286.7235190338,
3198606.3966114977,
3198606.3966114977,
3619286.7235190338,
420680.326907536,
0,
0.0771,
0.8837670626718105,
0.9,
"2026-10-07T07:38:19+00:00"
],
[
8453,
"fluid-borrow",
"0x4045720a33193b4fe66c94dfbc8d37b0b4d9b469",
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"USDC",
"0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
"cbBTC",
42.30819847462415,
3521963.5333859697,
1609865.5082469445,
1609865.5082469445,
3521963.5333859697,
1912098.0251390252,
0.000002439591433487019,
0.0771,
0.4570931791276217,
0.85,
"2026-10-07T10:49:25+00:00"
],
[
8453,
"fluid-borrow",
"0xbfadea65591235f38809076e14803ac84acf3f97",
"0x60a3e35cc302bfa44cb288bc5a4f316fdb1adb42",
"EURC",
"0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
"cbBTC",
15.641832668737516,
1302110.8494529978,
520365.0317864878,
582084.2467045955,
1302110.8494529978,
720026.6027484023,
0.000002439591433487019,
0.0439,
0.44703125463482823,
0.85,
"2026-10-07T06:03:57+00:00"
],
[
8453,
"fluid-borrow",
"0x991416539e9da46db233bccbaea38c4f852776d4",
"0x6bb7a212910682dcfdbd5bcbb3e28fb4e8da10ee",
"GHO",
"0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
"cbBTC",
5.329205863481213,
443631.95290258125,
214544.25247886873,
214343.3505230846,
443631.95290258125,
229288.60237949665,
0.000002439591433487019,
0.0573,
0.4831557986765508,
0.85,
"2026-10-06T18:36:29+00:00"
],
[
8453,
"fluid-borrow",
"0x82b27fa821419f5689381b565a8b0786aa2548de",
"0x4200000000000000000000000000000000000006",
"WETH",
"0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
"cbBTC",
4.748086892275921,
395256.4630700048,
110.85496931035826,
284386.342348327,
395256.4630700048,
110870.12072167778,
0.000002439591433487019,
0.0178,
0.7194982724367461,
0.9,
"2026-10-04T20:28:37+00:00"
],
[
8453,
"fluid-borrow",
"0x03271c337c86a6fd89625a2820e48621dc2a128b",
"0x6bb7a212910682dcfdbd5bcbb3e28fb4e8da10ee",
"GHO",
"0x4200000000000000000000000000000000000006",
"WETH",
96.00403601456773,
246287.89149201327,
94931.14131195453,
94842.24658867935,
246287.89149201327,
151445.64490333392,
0.008577419343403213,
0.0573,
0.3850869241444415,
0.88,
"2026-10-07T12:39:49+00:00"
],
[
8453,
"fluid-borrow",
"0xdf16adaf80584b2723f3ba1eb7a601338ba18c4e",
"0x60a3e35cc302bfa44cb288bc5a4f316fdb1adb42",
"EURC",
"0x4200000000000000000000000000000000000006",
"WETH",
76.93708591309343,
197373.70899907133,
70298.81446053284,
78636.78371892463,
197373.70899907133,
118736.9252801467,
0.008577419343403213,
0.0439,
0.3984156963848444,
0.85,
"2026-09-14T03:00:31+00:00"
]
],
"rows": 10
}
]
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. List Fluid Borrow Vaults on Base
Retrieves the most recent Fluid borrow vaults on Base (default chain), limited to 10 results.
curl
curl -X GET "https://api.cambrian.org/evm/lending/fluid/borrow?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": "address",
14 "type": "String"
15 },
16 {
17 "name": "loanAddress",
18 "type": "FixedString(42)"
19 },
20 {
21 "name": "loanSymbol",
22 "type": "Nullable(String)"
23 },
24 {
25 "name": "collateralAddress",
26 "type": "FixedString(42)"
27 },
28 {
29 "name": "collateralSymbol",
30 "type": "Nullable(String)"
31 },
32 {
33 "name": "supply",
34 "type": "Float64"
35 },
36 {
37 "name": "supplyUsd",
38 "type": "Float64"
39 },
40 {
41 "name": "borrow",
42 "type": "Float64"
43 },
44 {
45 "name": "borrowUsd",
46 "type": "Float64"
47 },
48 {
49 "name": "tvlUsd",
50 "type": "Float64"
51 },
52 {
53 "name": "availableLiquidityUsd",
54 "type": "Float64"
55 },
56 {
57 "name": "supplyApy",
58 "type": "Nullable(Float64)"
59 },
60 {
61 "name": "borrowApy",
62 "type": "Nullable(Float64)"
63 },
64 {
65 "name": "utilizationRate",
66 "type": "Float64"
67 },
68 {
69 "name": "lltv",
70 "type": "Nullable(Float64)"
71 },
72 {
73 "name": "updatedAt",
74 "type": "DateTime('UTC')"
75 }
76 ],
77 "data": [
78 [
79 8453,
80 "fluid-borrow",
81 "0xa0f83fc5885cebc0420ce7c7b139adc80c4f4d91",
82 "0x4200000000000000000000000000000000000006",
83 "WETH",
84 "0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452",
85 "wstETH",
86 1255.6527840370086,
87 4018932.092626926,
88 1393.4572086643132,
89 3574762.6042951345,
90 4018932.092626926,
91 444169.4883317915,
92 0.0008068335455547938,
93 0.0178,
94 0.8894807182369022,
95 0.95,
96 "2026-10-06T15:41:29+00:00"
97 ],
98 [
99 8453,
100 "fluid-borrow",
101 "0xbec491fef7b4f666b270f9d5e5c3f443cbf20991",
102 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
103 "USDC",
104 "0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452",
105 "wstETH",
106 1250.9639389174338,
107 4003924.639636752,
108 1353529.6731575918,
109 1353529.6731575918,
110 4003924.639636752,
111 2650394.9664791604,
112 0.0008068335455547938,
113 0.0771,
114 0.3380507364595124,
115 0.85,
116 "2026-10-07T03:49:51+00:00"
117 ],
118 [
119 8453,
120 "fluid-borrow",
121 "0xeabbfca72f8a8bf14c4ac59e69ecb2eb69f0811c",
122 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
123 "USDC",
124 "0x4200000000000000000000000000000000000006",
125 "WETH",
126 1539.039733804517,
127 3948238.7063771673,
128 1505537.3141414537,
129 1505537.3141414537,
130 3948238.7063771673,
131 2442701.3922357135,
132 0.008577419343403213,
133 0.0771,
134 0.381318716041591,
135 0.88,
136 "2026-10-07T13:50:01+00:00"
137 ],
138 [
139 8453,
140 "fluid-borrow",
141 "0x01f0d07fde184614216e76782c6b7df663f5375e",
142 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
143 "USDC",
144 "0x0b2b2b2076d95dda7817e785989fe353fe955ef9",
145 "sUSDai",
146 3299905.7725404366,
147 3619286.7235190338,
148 3198606.3966114977,
149 3198606.3966114977,
150 3619286.7235190338,
151 420680.326907536,
152 0,
153 0.0771,
154 0.8837670626718105,
155 0.9,
156 "2026-10-07T07:38:19+00:00"
157 ],
158 [
159 8453,
160 "fluid-borrow",
161 "0x4045720a33193b4fe66c94dfbc8d37b0b4d9b469",
162 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
163 "USDC",
164 "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
165 "cbBTC",
166 42.30819847462415,
167 3521963.5333859697,
168 1609865.5082469445,
169 1609865.5082469445,
170 3521963.5333859697,
171 1912098.0251390252,
172 0.000002439591433487019,
173 0.0771,
174 0.4570931791276217,
175 0.85,
176 "2026-10-07T10:49:25+00:00"
177 ],
178 [
179 8453,
180 "fluid-borrow",
181 "0xbfadea65591235f38809076e14803ac84acf3f97",
182 "0x60a3e35cc302bfa44cb288bc5a4f316fdb1adb42",
183 "EURC",
184 "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
185 "cbBTC",
186 15.641832668737516,
187 1302110.8494529978,
188 520365.0317864878,
189 582084.2467045955,
190 1302110.8494529978,
191 720026.6027484023,
192 0.000002439591433487019,
193 0.0439,
194 0.44703125463482823,
195 0.85,
196 "2026-10-07T06:03:57+00:00"
197 ],
198 [
199 8453,
200 "fluid-borrow",
201 "0x991416539e9da46db233bccbaea38c4f852776d4",
202 "0x6bb7a212910682dcfdbd5bcbb3e28fb4e8da10ee",
203 "GHO",
204 "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
205 "cbBTC",
206 5.329205863481213,
207 443631.95290258125,
208 214544.25247886873,
209 214343.3505230846,
210 443631.95290258125,
211 229288.60237949665,
212 0.000002439591433487019,
213 0.0573,
214 0.4831557986765508,
215 0.85,
216 "2026-10-06T18:36:29+00:00"
217 ],
218 [
219 8453,
220 "fluid-borrow",
221 "0x82b27fa821419f5689381b565a8b0786aa2548de",
222 "0x4200000000000000000000000000000000000006",
223 "WETH",
224 "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
225 "cbBTC",
226 4.748086892275921,
227 395256.4630700048,
228 110.85496931035826,
229 284386.342348327,
230 395256.4630700048,
231 110870.12072167778,
232 0.000002439591433487019,
233 0.0178,
234 0.7194982724367461,
235 0.9,
236 "2026-10-04T20:28:37+00:00"
237 ],
238 [
239 8453,
240 "fluid-borrow",
241 "0x03271c337c86a6fd89625a2820e48621dc2a128b",
242 "0x6bb7a212910682dcfdbd5bcbb3e28fb4e8da10ee",
243 "GHO",
244 "0x4200000000000000000000000000000000000006",
245 "WETH",
246 96.00403601456773,
247 246287.89149201327,
248 94931.14131195453,
249 94842.24658867935,
250 246287.89149201327,
251 151445.64490333392,
252 0.008577419343403213,
253 0.0573,
254 0.3850869241444415,
255 0.88,
256 "2026-10-07T12:39:49+00:00"
257 ],
258 [
259 8453,
260 "fluid-borrow",
261 "0xdf16adaf80584b2723f3ba1eb7a601338ba18c4e",
262 "0x60a3e35cc302bfa44cb288bc5a4f316fdb1adb42",
263 "EURC",
264 "0x4200000000000000000000000000000000000006",
265 "WETH",
266 76.93708591309343,
267 197373.70899907133,
268 70298.81446053284,
269 78636.78371892463,
270 197373.70899907133,
271 118736.9252801467,
272 0.008577419343403213,
273 0.0439,
274 0.3984156963848444,
275 0.85,
276 "2026-09-14T03:00:31+00:00"
277 ]
278 ],
279 "rows": 10
280 }
281]
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": "loanAddress",
18 "type": "FixedString(42)"
19 },
20 {
21 "name": "loanSymbol",
22 "type": "Nullable(String)"
23 },
24 {
25 "name": "collateralAddress",
26 "type": "FixedString(42)"
27 },
28 {
29 "name": "collateralSymbol",
30 "type": "Nullable(String)"
31 },
32 {
33 "name": "supply",
34 "type": "Float64"
35 },
36 {
37 "name": "supplyUsd",
38 "type": "Float64"
39 },
40 {
41 "name": "borrow",
42 "type": "Float64"
43 },
44 {
45 "name": "borrowUsd",
46 "type": "Float64"
47 },
48 {
49 "name": "tvlUsd",
50 "type": "Float64"
51 },
52 {
53 "name": "availableLiquidityUsd",
54 "type": "Float64"
55 },
56 {
57 "name": "supplyApy",
58 "type": "Nullable(Float64)"
59 },
60 {
61 "name": "borrowApy",
62 "type": "Nullable(Float64)"
63 },
64 {
65 "name": "utilizationRate",
66 "type": "Float64"
67 },
68 {
69 "name": "lltv",
70 "type": "Nullable(Float64)"
71 },
72 {
73 "name": "updatedAt",
74 "type": "DateTime('UTC')"
75 }
76 ],
77 "data": [
78 [
79 8453,
80 "fluid-borrow",
81 "0xa0f83fc5885cebc0420ce7c7b139adc80c4f4d91",
82 "0x4200000000000000000000000000000000000006",
83 "WETH",
84 "0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452",
85 "wstETH",
86 1255.6527840370086,
87 4018932.092626926,
88 1393.4572086643132,
89 3574762.6042951345,
90 4018932.092626926,
91 444169.4883317915,
92 0.0008068335455547938,
93 0.0178,
94 0.8894807182369022,
95 0.95,
96 "2026-10-06T15:41:29+00:00"
97 ],
98 [
99 8453,
100 "fluid-borrow",
101 "0xbec491fef7b4f666b270f9d5e5c3f443cbf20991",
102 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
103 "USDC",
104 "0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452",
105 "wstETH",
106 1250.9639389174338,
107 4003924.639636752,
108 1353529.6731575918,
109 1353529.6731575918,
110 4003924.639636752,
111 2650394.9664791604,
112 0.0008068335455547938,
113 0.0771,
114 0.3380507364595124,
115 0.85,
116 "2026-10-07T03:49:51+00:00"
117 ],
118 [
119 8453,
120 "fluid-borrow",
121 "0xeabbfca72f8a8bf14c4ac59e69ecb2eb69f0811c",
122 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
123 "USDC",
124 "0x4200000000000000000000000000000000000006",
125 "WETH",
126 1539.039733804517,
127 3948238.7063771673,
128 1505537.3141414537,
129 1505537.3141414537,
130 3948238.7063771673,
131 2442701.3922357135,
132 0.008577419343403213,
133 0.0771,
134 0.381318716041591,
135 0.88,
136 "2026-10-07T13:50:01+00:00"
137 ],
138 [
139 8453,
140 "fluid-borrow",
141 "0x01f0d07fde184614216e76782c6b7df663f5375e",
142 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
143 "USDC",
144 "0x0b2b2b2076d95dda7817e785989fe353fe955ef9",
145 "sUSDai",
146 3299905.7725404366,
147 3619286.7235190338,
148 3198606.3966114977,
149 3198606.3966114977,
150 3619286.7235190338,
151 420680.326907536,
152 0,
153 0.0771,
154 0.8837670626718105,
155 0.9,
156 "2026-10-07T07:38:19+00:00"
157 ],
158 [
159 8453,
160 "fluid-borrow",
161 "0x4045720a33193b4fe66c94dfbc8d37b0b4d9b469",
162 "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
163 "USDC",
164 "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
165 "cbBTC",
166 42.30819847462415,
167 3521963.5333859697,
168 1609865.5082469445,
169 1609865.5082469445,
170 3521963.5333859697,
171 1912098.0251390252,
172 0.000002439591433487019,
173 0.0771,
174 0.4570931791276217,
175 0.85,
176 "2026-10-07T10:49:25+00:00"
177 ],
178 [
179 8453,
180 "fluid-borrow",
181 "0xbfadea65591235f38809076e14803ac84acf3f97",
182 "0x60a3e35cc302bfa44cb288bc5a4f316fdb1adb42",
183 "EURC",
184 "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
185 "cbBTC",
186 15.641832668737516,
187 1302110.8494529978,
188 520365.0317864878,
189 582084.2467045955,
190 1302110.8494529978,
191 720026.6027484023,
192 0.000002439591433487019,
193 0.0439,
194 0.44703125463482823,
195 0.85,
196 "2026-10-07T06:03:57+00:00"
197 ],
198 [
199 8453,
200 "fluid-borrow",
201 "0x991416539e9da46db233bccbaea38c4f852776d4",
202 "0x6bb7a212910682dcfdbd5bcbb3e28fb4e8da10ee",
203 "GHO",
204 "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
205 "cbBTC",
206 5.329205863481213,
207 443631.95290258125,
208 214544.25247886873,
209 214343.3505230846,
210 443631.95290258125,
211 229288.60237949665,
212 0.000002439591433487019,
213 0.0573,
214 0.4831557986765508,
215 0.85,
216 "2026-10-06T18:36:29+00:00"
217 ],
218 [
219 8453,
220 "fluid-borrow",
221 "0x82b27fa821419f5689381b565a8b0786aa2548de",
222 "0x4200000000000000000000000000000000000006",
223 "WETH",
224 "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
225 "cbBTC",
226 4.748086892275921,
227 395256.4630700048,
228 110.85496931035826,
229 284386.342348327,
230 395256.4630700048,
231 110870.12072167778,
232 0.000002439591433487019,
233 0.0178,
234 0.7194982724367461,
235 0.9,
236 "2026-10-04T20:28:37+00:00"
237 ],
238 [
239 8453,
240 "fluid-borrow",
241 "0x03271c337c86a6fd89625a2820e48621dc2a128b",
242 "0x6bb7a212910682dcfdbd5bcbb3e28fb4e8da10ee",
243 "GHO",
244 "0x4200000000000000000000000000000000000006",
245 "WETH",
246 96.00403601456773,
247 246287.89149201327,
248 94931.14131195453,
249 94842.24658867935,
250 246287.89149201327,
251 151445.64490333392,
252 0.008577419343403213,
253 0.0573,
254 0.3850869241444415,
255 0.88,
256 "2026-10-07T12:39:49+00:00"
257 ],
258 [
259 8453,
260 "fluid-borrow",
261 "0xdf16adaf80584b2723f3ba1eb7a601338ba18c4e",
262 "0x60a3e35cc302bfa44cb288bc5a4f316fdb1adb42",
263 "EURC",
264 "0x4200000000000000000000000000000000000006",
265 "WETH",
266 76.93708591309343,
267 197373.70899907133,
268 70298.81446053284,
269 78636.78371892463,
270 197373.70899907133,
271 118736.9252801467,
272 0.008577419343403213,
273 0.0439,
274 0.3984156963848444,
275 0.85,
276 "2026-09-14T03:00:31+00:00"
277 ]
278 ],
279 "rows": 10
280 }
281]
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/fluid/borrow"
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/fluid/borrow"
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/fluid/borrow")
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/fluid/borrow")
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