Skip to main content
GET
/
lending
/
assets
/
information
Information - Assets in Lending Protocols
curl --request GET \
  --url https://api.amberdata.com/defi/lending/assets/information \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": [
    {
      "protocolId": "aavev2",
      "protocolName": "aave",
      "protocolVersion": "v2",
      "blockchain": "ethereum-mainnet",
      "assetId": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
      "assetSymbol": "WBTC",
      "market": "main",
      "decimals": 8,
      "borrowRateStable": 0.04319282678448013,
      "borrowRateVariable": 0.005277130713792051,
      "lendRate": 0.000181012705707908,
      "totalDepositedUSD": 588524548.0301714,
      "totalCollateralUSD": 588062085.8247572,
      "totalBorrowedUSD": 50467940.46065201,
      "totalLiquidationsUSD": 224678377.90751523,
      "loanToValueRatio": 0.72,
      "isActive": true
    }
  ]
}

Authorizations

x-api-key
string
header
default:API_KEY
required

Query Parameters

blockchain
enum<string>

The blockchainId or blockchain slug to filter results by

Available options:
ethereum-mainnet,
polygon-mainnet,
avalanche-mainnet,
arbitrum-mainnet,
optimism-mainnet
protocol
enum<string>

The protocol to filter results by

Available options:
makerdao,
compound,
compoundv2,
compoundv3,
aave,
aavev2,
aavev3
asset
string

The asset id or symbol to filter the results by.

market
string

The market id or name to filter the results by.

endDate
string

[Optional] If provided, returns the associated state of this asset up to the specified date since the first transaction involving this asset.

If not specified, returns the current (now) state of the asset since the first transaction involving the asset.

[Examples] 2023-01-01

Response

200 - application/json

200

status
integer
default:0
Example:

200

title
string
Example:

"OK"

description
string
Example:

"Successful request"

payload
object[]