GET
/
lending
/
protocols
/
information
Information - Lending Protocols
curl --request GET \
  --url https://api.amberdata.com/defi/lending/protocols/information \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": [
    {
      "protocolId": "aavev2",
      "protocolName": "aave",
      "protocolVersion": "v2",
      "blockchain": "ethereum-mainnet",
      "numAssets": 37,
      "totalDepositedUSD": 2450326532.6253276,
      "totalCollateralUSD": 2411068465.347387,
      "totalBorrowedUSD": 601548244.8033507
    }
  ]
}

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,
aave,
aavev2,
aavev3
endDate
string

[Optional] If provided, returns the associated state of this protocol up to the specified date. <BR>[Examples] 2023-01-01

Response

200 - application/json

200

The response is of type object.