Morpho
Get Vault
Aave V3
Aerodrome Slipstream
Morpho
Uniswap V3
Universal
Transaction Batching
Smart Account
Morpho
Get Vault
Get data & metrics for a specific Morpho vault.
GET
/
v0
/
morpho
/
vault
from compass_api_sdk import CompassAPI, models
with CompassAPI(
api_key_auth="<YOUR_API_KEY_HERE>",
) as compass_api:
res = compass_api.morpho.vault(chain=models.MorphoVaultChain.ETHEREUM_MAINNET, vault_address="0xbEef047a543E45807105E51A8BBEFCc5950fcfBa")
# Handle response
print(res)
{
"name": "<string>",
"symbol": "<string>",
"whitelisted": true,
"state": {
"apy": "<string>",
"netApy": "<string>",
"dailyApy": "<string>",
"dailyNetApy": "<string>",
"weeklyApy": "<string>",
"weeklyNetApy": "<string>",
"monthlyApy": "<string>",
"monthlyNetApy": "<string>",
"yearlyApy": "<string>",
"yearlyNetApy": "<string>",
"allTimeApy": "<string>",
"allTimeNetApy": "<string>",
"totalAssets": "<string>",
"totalAssetsUsd": "<string>"
},
"liquidity": {
"underlying": "<string>",
"usd": "<string>"
},
"asset": {
"address": "<string>",
"symbol": "<string>",
"name": "<string>",
"decimals": 123,
"priceUsd": "<string>",
"logoURI": "<string>"
},
"metadata": {
"description": "<string>",
"image": "<string>",
"forumLink": "<string>",
"curators": [
{
"name": "<string>",
"verified": true,
"url": "<string>",
"image": "<string>"
}
]
}
}
Query Parameters
Available options:
ethereum:mainnet
, base:mainnet
The vault address of the desired vault data & metrics.
Response
200
application/json
Successful Response
The response is of type object
.
Was this page helpful?
from compass_api_sdk import CompassAPI, models
with CompassAPI(
api_key_auth="<YOUR_API_KEY_HERE>",
) as compass_api:
res = compass_api.morpho.vault(chain=models.MorphoVaultChain.ETHEREUM_MAINNET, vault_address="0xbEef047a543E45807105E51A8BBEFCc5950fcfBa")
# Handle response
print(res)
{
"name": "<string>",
"symbol": "<string>",
"whitelisted": true,
"state": {
"apy": "<string>",
"netApy": "<string>",
"dailyApy": "<string>",
"dailyNetApy": "<string>",
"weeklyApy": "<string>",
"weeklyNetApy": "<string>",
"monthlyApy": "<string>",
"monthlyNetApy": "<string>",
"yearlyApy": "<string>",
"yearlyNetApy": "<string>",
"allTimeApy": "<string>",
"allTimeNetApy": "<string>",
"totalAssets": "<string>",
"totalAssetsUsd": "<string>"
},
"liquidity": {
"underlying": "<string>",
"usd": "<string>"
},
"asset": {
"address": "<string>",
"symbol": "<string>",
"name": "<string>",
"decimals": 123,
"priceUsd": "<string>",
"logoURI": "<string>"
},
"metadata": {
"description": "<string>",
"image": "<string>",
"forumLink": "<string>",
"curators": [
{
"name": "<string>",
"verified": true,
"url": "<string>",
"image": "<string>"
}
]
}
}