LendingMarket
Enriched lending market data as returned by /lending and /pools endpoints. Numeric fields are parsed to number | null.
Protocol identifier
AAVE_V3Pool/vault address or protocol-specific ID
Deposit APR (percent)
Variable borrow APR (percent)
Stable borrow APR (percent)
Intrinsic yield APR from underlying asset (e.g. stETH staking)
Total deposits in token units
Total stable debt in token units
Total variable debt in token units
Available liquidity (totalDeposits - totalDebt) in token units
Total deposits in USD
Total stable debt in USD
Total variable debt in USD
Available liquidity in USD
Utilization ratio (totalDebt / totalDeposits)
underlyingInfo object
Nested asset metadata, oracle prices, and market prices for a lending market.
asset object
Token metadata for an underlying asset.
1Token contract address (lowercase)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48USDCUSD Coin6Canonical asset group (e.g. "USDC", "ETH", "BTC")
USDCprops objectnullable
Protocol-specific asset properties
Protocol-specific asset properties
oraclePrice object
On-chain oracle price data.
Raw on-chain oracle price
Oracle price denominated in USD
prices object
Market prices for an asset with 24h comparison.
Current price in USD
Timestamp of current price
Price 24 hours ago in USD
Timestamp of 24h-ago price
Percentage price change over 24h
caps object
Supply, borrow, and debt ceiling caps for a lending market.
Maximum borrowable amount (token units)
Maximum depositable amount (token units)
Isolation-mode debt ceiling
flags object
Boolean flags describing the operational status of a lending market. Values may be null if unavailable from the protocol.
Whether the market is active
Whether the market is frozen (no new deposits/borrows)
Whether stable-rate borrowing is available
Whether borrowing is enabled
Whether the asset can be used as collateral
rewards object[]
Active reward programs. Defaults to [] when none.
Reward token address
Reward APR on deposits
Reward APR on variable borrows
Reward APR on stable borrows
config object
Risk config keyed by mode/category ID (e.g. "0" for default, "1" for e-mode)
property name* MarketConfigEntry
Risk parameters for a specific e-mode or collateral category.
E-mode category ID
LTV for borrowing (0-1)
0.8Liquidation threshold (0-1)
0.85Borrow factor (typically 1)
1Enriched lending market data as returned by /lending and /pools endpoints. Numeric fields are parsed to number | null.
{
"lenderKey": "AAVE_V3",
"poolId": "string",
"depositRate": 0,
"variableBorrowRate": 0,
"stableBorrowRate": 0,
"intrinsicYield": 0,
"totalDeposits": 0,
"totalDebtStable": 0,
"totalDebt": 0,
"totalLiquidity": 0,
"totalDepositsUsd": 0,
"totalDebtStableUsd": 0,
"totalDebtUsd": 0,
"totalLiquidityUsd": 0,
"utilization": 0,
"decimals": 0,
"underlyingInfo": {
"asset": {
"chainId": "1",
"address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"logoURI": "string",
"assetGroup": "USDC",
"currencyId": "string",
"props": {}
},
"oraclePrice": {
"oraclePrice": 0,
"oraclePriceUsd": 0
},
"prices": {
"priceUsd": 0,
"priceTs": "2024-07-29T15:51:28.071Z",
"priceUsd24h": 0,
"priceTs24h": "2024-07-29T15:51:28.071Z",
"priceChange24h": 0
}
},
"caps": {
"borrowCap": 0,
"supplyCap": 0,
"debtCeiling": "string"
},
"flags": {
"isActive": true,
"isFrozen": true,
"hasStable": true,
"borrowingEnabled": true,
"collateralActive": true
},
"rewards": [
{
"asset": "string",
"depositRate": 0,
"variableBorrowRate": 0,
"stableBorrowRate": 0
}
],
"config": {}
}