Stablecoin Metrics

Definition

The stablecoin lending metrics endpoint allows you to query USDT, USDC, DAI, BUSD and TUSD metrics across all the lending protocols we support on four different chains; Ethereum, Arbitrum, Optimism and Avalanche.


Details

Within all the major lending protocols, stablecoins play an outsized role for users. Arguably the most important assets in a lending protocol, stablecoins are a great way to gauge the health of a lending protocol by looking at the aggregated metrics of one or more of these protocols. For example, if you want to see total amount of USDT deposited, borrowed, repaid, withdrawn, # of flash loans, liquidated $ amounts and more on Aave V2 and V3, this endpoint can do it. This insight can be used to determine if Aave V2 or V3 is a better (safer?) place to interact with. Also, since this data can be queried historically, this is also a great endpoint to research what happened at a given point in time. This historical use case can be used to correlate the data from the endpoint to a macro event. Was there a spike in borrowing after Grayscale won its case against the SEC? Did liquidations across USDC increase during the USDC de-peg event in March 2023? Narrator: They did. These questions and many more can be answered with the data this endpoint provides.


API Endpoints

/defi/stablecoins/{assetSymbol}/lending/metrics/summary


Availability

This endpoint is available via REST API and AWS S3, for USDC and USDT.

This endpoint allows you to query at the hour or day level.


Frequently Asked Questions

Does this endpoint support all of the lending protocols that Amberdata supports?

  • Yes. All of the lending protocols that we support are available for this endpoint including Aave, Maker and Compound

Is support for this endpoint multi-chain?

  • Yes. In addition to Ethereum, this endpoint supports Arbitrum, Optimism and Avalanche.