curl --request GET \
--url https://api.vaults.fyi/alpha/borrow/markets/{network} \
--header 'x-api-key: <api-key>'{
"markets": [
{
"marketId": "<string>",
"name": "<string>",
"network": {
"name": "mainnet",
"chainId": 123,
"networkCaip": "<string>"
},
"protocol": {
"name": "<string>",
"product": "<string>",
"version": "<string>"
},
"marketRootAddress": "<string>",
"assetsData": [
{
"asset": {
"address": "<string>",
"assetCaip": "<string>",
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"assetGroup": "<string>",
"oraclePriceUsd": 1,
"assetLogo": "<string>",
"assetPriceInUsd": "<string>"
},
"isCollateralEnabled": true,
"supplyRate": 1,
"borrowRate": 1,
"utilizationRate": 1,
"totalSupplied": {
"native": "<string>",
"usd": 1
},
"totalBorrowed": {
"native": "<string>",
"usd": 1
},
"availableLiquidity": {
"native": "<string>",
"usd": 1
},
"assetConfig": {
"isBorrowEnabled": true,
"borrowInterestFeeRate": 0.5,
"borrowCap": "<string>",
"supplyCap": "<string>"
},
"interestRateModel": {
"model": "single-kink",
"baseRate": 1,
"optimalUtilization": 0.5,
"slope1": 1,
"slope2": 1
},
"defaultRiskParameters": {
"maxLtv": 0.5,
"liquidationThreshold": 0.5,
"liquidationPenalty": 0.5
},
"pairwiseRiskParameters": {}
}
]
}
]
}Retrieves supported borrow markets for one network using the canonical network slug.
curl --request GET \
--url https://api.vaults.fyi/alpha/borrow/markets/{network} \
--header 'x-api-key: <api-key>'{
"markets": [
{
"marketId": "<string>",
"name": "<string>",
"network": {
"name": "mainnet",
"chainId": 123,
"networkCaip": "<string>"
},
"protocol": {
"name": "<string>",
"product": "<string>",
"version": "<string>"
},
"marketRootAddress": "<string>",
"assetsData": [
{
"asset": {
"address": "<string>",
"assetCaip": "<string>",
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"assetGroup": "<string>",
"oraclePriceUsd": 1,
"assetLogo": "<string>",
"assetPriceInUsd": "<string>"
},
"isCollateralEnabled": true,
"supplyRate": 1,
"borrowRate": 1,
"utilizationRate": 1,
"totalSupplied": {
"native": "<string>",
"usd": 1
},
"totalBorrowed": {
"native": "<string>",
"usd": 1
},
"availableLiquidity": {
"native": "<string>",
"usd": 1
},
"assetConfig": {
"isBorrowEnabled": true,
"borrowInterestFeeRate": 0.5,
"borrowCap": "<string>",
"supplyCap": "<string>"
},
"interestRateModel": {
"model": "single-kink",
"baseRate": 1,
"optimalUtilization": 0.5,
"slope1": 1,
"slope2": 1
},
"defaultRiskParameters": {
"maxLtv": 0.5,
"liquidationThreshold": 0.5,
"liquidationPenalty": 0.5
},
"pairwiseRiskParameters": {}
}
]
}
]
}Canonical network slug
mainnet, optimism, arbitrum, polygon, gnosis, base, unichain, swellchain, celo, worldchain, berachain, ink, bsc, hyperliquid, plasma, avalanche, katana, linea, mega-eth, monad, etherlink Default Response
Show child attributes