Information

Definition

Lending in DeFi is very similar to lending in traditional financial markets with the exception of where it takes place; a decentralized entity in place of a centralized one, like a bank. Users will use a protocol like Aave to borrow and lend specific assets with their applicable borrow and lend rates, again, similar to traditional finance. Since there is no centralized entity to determine whether or not a user is allowed to participate in these lending markets, the barrier to entry is considerably lower and more fair. All a user needs is a way to connect with the protocol (like Aave) and a wallet with the necessary funds to borrow or lend in a particular pool.

The Amberdata API Lending endpoints will show all of the important data from every lending protocol that we support including borrow/lend rates, TVL, protocol name and version, borrowStable rate (where applicable) and other parameters. Since we run our own nodes, we’re able to show both the latest data as well as the full history of every pool on all the protocols we support. We currently support the largest lending protocols including Aave (v1, v2 and v3), Compound and others with new protocols being added on a regular basis.


Details

Our DeFi Lending data can be used for multiple use-cases including research (historical data), understanding the current state of borrowing/lending in a protocol or specific pool (latest data), backtesting strategies (historical data) and others.


API Endpoints

[/defi/lending/assets/information]

[/defi/lending/protocol/lens]

[/defi/lending/asset/lens]

[/defi/lending/wallet/lens]

[/defi/lending/governance/lens]


Availability

Our DeFi Lending endpoints are available via REST API for latest and historical (time series) data.
Since we maintain our own nodes we have every event from the Genesis (Ethereum) block forward which enables us to provide the complete historical dataset for all the lending protocols we support.


Frequently Asked Questions

Do you show the Borrow Stable rate for AaveV2 pools?

  • Yes. If the AaveV2 pool has it enabled, we will show the current borrowStable rate in the latest endpoint as well as the historical borrowStable rate in the historical endpoint.