Cambrian Lending Morpho V2 Vault Markets endpoint API
GET /evm/lending/morpho/v2/vault/markets
Lending Morpho V2 Vault Markets
Overview
Returns the underlying markets allocated to a specific Morpho V2 vault, including per-market supply/borrow APYs, utilization, LLTV, and USD allocation data. Use it to see how a Morpho V2 vault's deposited capital is split across individual lending markets.
Business Value
- Vault Transparency: Shows exactly which lending markets a Morpho V2 vault is exposed to, so depositors can assess the underlying risk.
- Yield Attribution: Breaks down supply and borrow APYs per market to explain the blended yield a vault generates.
- Risk Assessment: Exposes utilization rate and LLTV per market, both inputs for evaluating liquidation and liquidity risk.
- Allocation Analysis: Reports
allocationUsdandallocationShareper market, which show capital concentration and diversification within the vault. - Portfolio Monitoring: Supports automated tracking of vault rebalancing and market exposure changes over time via
updatedAt.
Endpoint Details
URL:
https://api.cambrian.org/evm/lending/morpho/v2/vault/markets
Method: GET
Authentication: Required via X-API-Key header
Query Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| chain_id | integer | No | 8453 | EVM chain ID. Enum: 1, 8453, 42161, 4663. |
| vault_address | string | Yes | - | Morpho V2 vault address. Pattern: ^0x[a-fA-F0-9]{40}$. |
| order_asc | array | No | - | List of column names to order by in ascending order, comma-separated. Leave empty items to combine with descending order. |
| order_desc | array | No | - | List of column names to order by in descending order, comma-separated. Leave empty items to combine with ascending order. |
Response Field Descriptions
| Response Field | Type | Description |
|---|---|---|
| chainId | UInt16 | EVM chain ID the market is on. |
| protocolId | String | Identifier of the lending protocol (e.g. "morpho-blue"). |
| marketId | Nullable(String) | Unique identifier of the underlying Morpho market. |
| loanAddress | String | Contract address of the loan (borrowed) asset. |
| loanSymbol | String | Symbol of the loan asset. |
| collateralAddress | Nullable(String) | Contract address of the collateral asset. |
| collateralSymbol | Nullable(String) | Symbol of the collateral asset. |
| supplyApy | Float64 | Current supply APY for the market. |
| borrowApy | Float64 | Current borrow APY for the market. |
| utilizationRate | Float64 | Current utilization rate of the market (borrowed / supplied). |
| lltv | Nullable(Float64) | Liquidation loan-to-value ratio for the market. |
| allocationUsd | Float64 | USD value the vault has allocated to this market. |
| allocationShare | Float64 | Share of the vault's total allocation represented by this market. |
| supplyCapUsd | Nullable(Float64) | USD-denominated supply cap for the vault in this market, if set. |
| updatedAt | DateTime('UTC') | Timestamp of the last data update for this market record. |
Examples
1. Fetch Market Allocations for a Morpho V2 Vault
Retrieves all markets a specific Morpho V2 vault (on Base, chain ID 8453) allocates capital to, including per-market APYs, utilization, and USD allocation.
curl -X GET "https://api.cambrian.org/evm/lending/morpho/v2/vault/markets?vault_address=0xbeeff7aE5E00Aae3Db302e4B0d8C883810a58100" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json"
Response:
[
{
"columns": [
{
"name": "chainId",
"type": "UInt16"
},
{
"name": "protocolId",
"type": "String"
},
{
"name": "marketId",
"type": "Nullable(String)"
},
{
"name": "loanAddress",
"type": "String"
},
{
"name": "loanSymbol",
"type": "String"
},
{
"name": "collateralAddress",
"type": "Nullable(String)"
},
{
"name": "collateralSymbol",
"type": "Nullable(String)"
},
{
"name": "supplyApy",
"type": "Float64"
},
{
"name": "borrowApy",
"type": "Float64"
},
{
"name": "utilizationRate",
"type": "Float64"
},
{
"name": "lltv",
"type": "Nullable(Float64)"
},
{
"name": "allocationUsd",
"type": "Float64"
},
{
"name": "allocationShare",
"type": "Float64"
},
{
"name": "supplyCapUsd",
"type": "Nullable(Float64)"
},
{
"name": "updatedAt",
"type": "DateTime('UTC')"
}
],
"data": [
[
8453,
"morpho-blue",
"0x99f294c452edc091c988688d501dca78a06ba559065c242b19653452e6affc7a",
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"USDC",
"0x83db73ef5192de4b6a4c92bd0141ba1a0dc87c65",
"cUSDO",
0.3183811916658803,
0.9123138514592943,
0.3489820867639056,
0.915,
8.59547387147551e-07,
2.7384514051014023e-14,
null,
"2026-10-23T21:57:21+00:00"
],
[
8453,
"morpho-blue",
"0xdaa04f6819210b11fe4e3b65300c725c32e55755e3598671559b9ae3bac453d7",
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"USDC",
"0x940181a94a35a4569e4529a3cdfb74e38fd98631",
"AERO",
0.21391941150424296,
0.22525882501875616,
0.949660513795324,
0.625,
8.126146183244449e-07,
2.5889272384868726e-14,
null,
"2026-10-23T21:57:21+00:00"
],
[
8453,
"morpho-blue",
"0xae1a30486234bf7e7ac166c7c03d9bc5f2cd8a39be2c48e73c665ac7148c3c28",
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"USDC",
"0xb200000000000000000000c2e324d24d7eecd1fb",
"AAPL",
0.1053432080663743,
0.12081401124291657,
0.871945289976047,
0.625,
8.317241254438598e-10,
2.6498086481734496e-17,
null,
"2026-10-23T21:57:21+00:00"
],
[
8453,
"morpho-blue",
"0xe458a501c1103ca3b256f2bcb45d223263fb34b6349d82675494ce3a94ce1327",
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"USDC",
"0xb2000000000000000000008501b13360000cb2ec",
"cbZEC",
0.062184517522532866,
0.068480039330435,
0.9080677834087607,
0.625,
249723.79871071942,
0.007956006820473736,
null,
"2026-10-23T21:57:21+00:00"
],
[
8453,
"morpho-blue",
"0x76629002c9fdb20fb2092053a4f22c5c65e04a81887218b9546f2a2d82b4c0a8",
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"USDC",
"0xb200000000000000000000451d033a5000cb479e",
"cbHYPE",
0.05887369243083852,
0.06456554236076917,
0.9118438454659511,
0.625,
73041.88484422561,
0.0023270578815521256,
null,
"2026-10-23T21:57:21+00:00"
],
[
8453,
"morpho-blue",
"0x73527ddd796e6d4f48387adaae36f6f3d49d606d7f2a15eb0c931416a58875d8",
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"USDC",
"0xcbd06e5a2b0c65597161de254aa074e489deb510",
"CBDOGE",
0.05844364485775444,
0.06520788652344267,
0.8962665096766104,
0.625,
972317.7472829605,
0.030977290386376106,
null,
"2026-10-23T21:57:21+00:00"
],
[
8453,
"morpho-blue",
"0xd7520ad198b497b6eb75bc690268f4597630dbc12e305e9d4105843bab36e41d",
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"USDC",
"0xcbada732173e39521cdbe8bf59a6dc85a9fc7b8c",
"CBADA",
0.058431298683325666,
0.06488620796379863,
0.900519548251698,
0.625,
860800.3749806822,
0.02742443327296175,
null,
"2026-10-23T21:57:21+00:00"
],
[
8453,
"morpho-blue",
"0x9125d0fa03c3137166df68bcc72283477830de2a4a5536512374c573ad4583c3",
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"USDC",
"0xcb17c9db87b595717c857a08468793f5bab6445f",
"CBLTC",
0.058411209675399534,
0.06557472737739611,
0.890757949159757,
0.625,
386037.53998558066,
0.012298857045026784,
null,
"2026-10-23T21:59:17+00:00"
],
[
8453,
"morpho-blue",
"0xd4a903dc6d949519060c7707f9604fdc9772c046e05c2e3a8fce0bd7196e4109",
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"USDC",
"0xcb585250f852c6c6bf90434ab21a00f02833a4af",
"CBXRP",
0.05840892504128984,
0.06485701635377938,
0.9005798959773795,
0.625,
25248068.765026562,
0.8043839166928333,
null,
"2026-10-23T22:04:05+00:00"
],
[
8453,
"morpho-blue",
"0xce983b9ee6344e16ebbcc66812f23caafc63ae83fcc14fa29b66c7e69e9cecf6",
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"USDC",
"0xb2000000000000000000007b9fcbd005511acbd5",
"SPCXc",
0.05267545294538465,
0.05267545821660624,
0.9999998999302185,
0.625,
1182.7870559819544,
3.768267955695062e-05,
null,
"2026-10-23T21:57:21+00:00"
]
],
"rows": 31
}
]
Result collections are limited to 10 items, so the response shows 10 of 31 total markets (rows: 31) this Morpho V2 vault on Base allocates to. All are denominated in USDC as the loan asset, with varying collateral assets, APYs, and USD allocations.
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.
Quick Start (TypeScript)
npm install @x402/fetch @x402/evm viem
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const signer = privateKeyToAccount(process.env.EVM_PRIVATE_KEY as `0x${string}`);
const client = new x402Client();
client.register("eip155:*", new ExactEvmScheme(signer));
const fetchWithPayment = wrapFetchWithPayment(fetch, client);
const response = await fetchWithPayment(
"https://x402.cambrian.org/evm/lending/morpho/v2/vault/markets"
);
const data = await response.json();
Quick Start (Python)
pip install "x402[httpx]"
import asyncio, os
from eth_account import Account
from x402 import x402Client
from x402.http.clients import x402HttpxClient
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
async def main():
client = x402Client()
account = Account.from_key(os.getenv("EVM_PRIVATE_KEY"))
register_exact_evm_client(client, EthAccountSigner(account))
async with x402HttpxClient(client) as http:
response = await http.get("https://x402.cambrian.org/evm/lending/morpho/v2/vault/markets")
print(response.json())
asyncio.run(main())
Payment Flow
- Send a normal request to the endpoint (no API key needed)
- Server returns
402 Payment Requiredwith 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 to 5 automatically.
Network: Base (chain ID 8453) | Currency: USDC | Price: $0.05 per request