Aave V2 APIs
  • Introduction
  • aave v2
    • aToken Address
    • Aave Reserve Rates
    • Aave Reserve Configuration
    • User Health
    • Allowance
    • Deposit
    • Withdraw
    • Borrow
    • Repay
    • Switch Interest Type
    • Collateral Setting
Powered by GitBook
On this page

Was this helpful?

  1. aave v2

Aave Reserve Rates

Returns the state and configuration of the reserve of base token. For example - you can use this end point to fetch DAI reserve information (available liquidity, debt, borrowing rate, interest rate)

/aave/rates

POST https://cryptotalk-public-gateway-byeii62k.de.gateway.dev/aave/rates

Query Parameters

Name
Type
Description

key

string

API Key

{
    "isError": false,
    "errorMsg": "OK",
    "data": {
        "AAVE": {
            "availableLiquidity": 1350555.1,
            "totalStableDebt": 0,
            "totalVariableDebt": 0,
            "liquidityRate": 0,
            "variableBorrowRate": 0,
            "stableBorrowRate": 0,
            "averageStableBorrowRate": 0,
            "liquidityIndex": "1000073359460465867562154267",
            "variableBorrowIndex": "1000000000000000000000000000",
            "decimals": 18,
            "spot": 471.650259034
        },
        "BAT": {
            "availableLiquidity": 1898857.03,
            "totalStableDebt": 12963.73,
            "totalVariableDebt": 205527.4,
            "liquidityRate": 0.15,
            "variableBorrowRate": 1.61,
            "stableBorrowRate": 5.29,
            "averageStableBorrowRate": 52391078.88,
            "liquidityIndex": "1001884258157745884305104873",
            "variableBorrowIndex": "1005563688288556002933181676",
            "decimals": 18,
            "spot": 0.620059258
        },
        "BUSD": {
            "availableLiquidity": 1443691.24,
            "totalStableDebt": 0,
            "totalVariableDebt": 10070446.31,
            "liquidityRate": 32.51,
            "variableBorrowRate": 41.31,
            "stableBorrowRate": 0,
            "averageStableBorrowRate": 0,
            "liquidityIndex": "1021615216537156621794177567",
            "variableBorrowIndex": "1028604360231676250224807525",
            "decimals": 18,
            "spot": 1.018267967
        },
        "CRV": {
            "availableLiquidity": 5399563.26,
            "totalStableDebt": 0,
            "totalVariableDebt": 4506858.19,
            "liquidityRate": 4.4,
            "variableBorrowRate": 9.69,
            "stableBorrowRate": 15.69,
            "averageStableBorrowRate": 0,
            "liquidityIndex": "1040086337218276762077212696",
            "variableBorrowIndex": "1044835603384865294584763069",
            "decimals": 18,
            "spot": 3.177252578
        },
        "DAI": {
            "availableLiquidity": 19480781.17,
            "totalStableDebt": 56578682.93,
            "totalVariableDebt": 28549061.62,
            "liquidityRate": 7.68,
            "variableBorrowRate": 9.17,
            "stableBorrowRate": 14.17,
            "averageStableBorrowRate": 111718367.98,
            "liquidityIndex": "1020248656536350809875026192",
            "variableBorrowIndex": "1035080137305930536435003645",
            "decimals": 18,
            "spot": 1.016664711
        },
        "ENJ": {
            "availableLiquidity": 3385674.61,
            "totalStableDebt": 83506.88,
            "totalVariableDebt": 8442.1,
            "liquidityRate": 0.01,
            "variableBorrowRate": 0.41,
            "stableBorrowRate": 0.59,
            "averageStableBorrowRate": 6582639.29,
            "liquidityIndex": "1000403967505186978781672535",
            "variableBorrowIndex": "1001770531663656137375376617",
            "decimals": 18,
            "spot": 0.572963613
        },
        "ETH": {
            "availableLiquidity": 190629.66,
            "totalStableDebt": 1015.5,
            "totalVariableDebt": 25581,
            "liquidityRate": 0.18,
            "variableBorrowRate": 1.51,
            "stableBorrowRate": 4.88,
            "averageStableBorrowRate": 57391400.86,
            "liquidityIndex": "1006659032371470013133383546",
            "variableBorrowIndex": "1003730996276106541813714727",
            "decimals": 18,
            "spot": 2004.07
        },
        "GUSD": {
            "availableLiquidity": 1457814.55,
            "totalStableDebt": 0,
            "totalVariableDebt": 4578652.67,
            "liquidityRate": 2.87,
            "variableBorrowRate": 3.79,
            "stableBorrowRate": 7.79,
            "averageStableBorrowRate": 0,
            "liquidityIndex": "1013327093388832689526772911",
            "variableBorrowIndex": "1015786018983034094926628276",
            "decimals": 2,
            "spot": 1.006243547
        },
        "KNC": {
            "availableLiquidity": 591492.91,
            "totalStableDebt": 0,
            "totalVariableDebt": 134.15,
            "liquidityRate": 0,
            "variableBorrowRate": 0,
            "stableBorrowRate": 3,
            "averageStableBorrowRate": 0,
            "liquidityIndex": "1002373419862860359789953703",
            "variableBorrowIndex": "1006041490643655325462561786",
            "decimals": 18,
            "spot": 2.215699792
        },
        "MANA": {
            "availableLiquidity": 4513102.76,
            "totalStableDebt": 11882.61,
            "totalVariableDebt": 168776.32,
            "liquidityRate": 0.01,
            "variableBorrowRate": 0.6,
            "stableBorrowRate": 3.86,
            "averageStableBorrowRate": 31412439.79,
            "liquidityIndex": "1001195636772758658497425333",
            "variableBorrowIndex": "1003924292544214545647166513",
            "decimals": 18,
            "spot": 0.311632885
        },
        "MKR": {
            "availableLiquidity": 8159.75,
            "totalStableDebt": 0,
            "totalVariableDebt": 92.93,
            "liquidityRate": 0,
            "variableBorrowRate": 0.18,
            "stableBorrowRate": 3.25,
            "averageStableBorrowRate": 34842943.18,
            "liquidityIndex": "1001657540155544424480775649",
            "variableBorrowIndex": "1004566268258531625809204619",
            "decimals": 18,
            "spot": 2836.852871406
        },
        "SNX": {
            "availableLiquidity": 365908.85,
            "totalStableDebt": 0,
            "totalVariableDebt": 112907.31,
            "liquidityRate": 1,
            "variableBorrowRate": 6.54,
            "stableBorrowRate": 0,
            "averageStableBorrowRate": 0,
            "liquidityIndex": "1005094358439936896993465393",
            "variableBorrowIndex": "1018641784567291577040219275",
            "decimals": 18,
            "spot": 24.534826974999998
        },
        "TUSD": {
            "availableLiquidity": 268861.24,
            "totalStableDebt": 4236727.1,
            "totalVariableDebt": 1995838.28,
            "liquidityRate": 23.23,
            "variableBorrowRate": 63.49,
            "stableBorrowRate": 68.49,
            "averageStableBorrowRate": 97040681.64,
            "liquidityIndex": "1021940854939677776336904784",
            "variableBorrowIndex": "1068574126331886800983614250",
            "decimals": 18,
            "spot": 1.002235407
        },
        "UNI": {
            "availableLiquidity": 1015489.41,
            "totalStableDebt": 1.53,
            "totalVariableDebt": 64371.67,
            "liquidityRate": 0.04,
            "variableBorrowRate": 0.93,
            "stableBorrowRate": 1.59,
            "averageStableBorrowRate": 113977.41,
            "liquidityIndex": "1000181442772078634340612503",
            "variableBorrowIndex": "1002150855411957695841225458",
            "decimals": 18,
            "spot": 31.790963224000002
        },
        "USDC": {
            "availableLiquidity": 16258936.77,
            "totalStableDebt": 113469887.32,
            "totalVariableDebt": 78511361.78,
            "liquidityRate": 10.97,
            "variableBorrowRate": 17.15,
            "stableBorrowRate": 22.15,
            "averageStableBorrowRate": 105096611.86,
            "liquidityIndex": "1020147708497733195074388176",
            "variableBorrowIndex": "1031794745444572307009368446",
            "decimals": 6,
            "spot": 1.005842733
        },
        "USDT": {
            "availableLiquidity": 8617734.2,
            "totalStableDebt": 60239682.96,
            "totalVariableDebt": 33996157.04,
            "liquidityRate": 9.39,
            "variableBorrowRate": 13.73,
            "stableBorrowRate": 18.73,
            "averageStableBorrowRate": 100706472.36,
            "liquidityIndex": "1023497273342337163370746631",
            "variableBorrowIndex": "1043667062039995712357872338",
            "decimals": 6,
            "spot": 1.003037035
        },
        "WBTC": {
            "availableLiquidity": 3961.9,
            "totalStableDebt": 49.08,
            "totalVariableDebt": 179.41,
            "liquidityRate": 0.05,
            "variableBorrowRate": 0.67,
            "stableBorrowRate": 3.84,
            "averageStableBorrowRate": 39085191.48,
            "liquidityIndex": "1001105130150210201503091401",
            "variableBorrowIndex": "1003359175989533289594685391",
            "decimals": 8,
            "spot": 56576.986144603
        },
        "YFI": {
            "availableLiquidity": 711.07,
            "totalStableDebt": 0,
            "totalVariableDebt": 21.36,
            "liquidityRate": 0.01,
            "variableBorrowRate": 0.45,
            "stableBorrowRate": 0.65,
            "averageStableBorrowRate": 0,
            "liquidityIndex": "1002036470751380860943216427",
            "variableBorrowIndex": "1006828994398263406634497176",
            "decimals": 18,
            "spot": 45357.163775529
        },
        "ZRX": {
            "availableLiquidity": 882092.05,
            "totalStableDebt": 6048.29,
            "totalVariableDebt": 12855.32,
            "liquidityRate": 0.02,
            "variableBorrowRate": 0.33,
            "stableBorrowRate": 3.47,
            "averageStableBorrowRate": 43117263.72,
            "liquidityIndex": "1000860913231501017726699162",
            "variableBorrowIndex": "1002379617270535527372039247",
            "decimals": 18,
            "spot": 1.572994543
        },
        "sUSD": {
            "availableLiquidity": 1092490.8,
            "totalStableDebt": 0,
            "totalVariableDebt": 5559677.94,
            "liquidityRate": 14.62,
            "variableBorrowRate": 21.88,
            "stableBorrowRate": 0,
            "averageStableBorrowRate": 0,
            "liquidityIndex": "1029236613364533149051501812",
            "variableBorrowIndex": "1041761470155013483188515865",
            "decimals": 18,
            "spot": 1.017265932
        }
    }
}

PreviousaToken AddressNextAave Reserve Configuration

Last updated 4 years ago

Was this helpful?