Lending Protocol Summary Metrics

This API provides aggregated insights into the lending protocols.

📘

Not specifying startDate and endDate

If the startDate and endDate query parameters are not provided, the API will return the data from the previous 60 days.

👍

Protocols Supported

This endpoint supports Aave v2, Aave v3, MakerDAO and Compound v2.

These aggregations are multi-chain across the networks we support excluding Polygon.

Potential Use-Cases

You can use the aggregate data to analyze the health and activity of a lending protocol.

Sample Visualization

The responses from this endpoint can be visualized like this

Response Data

The table below described properties that are found under payload.data in the response.

FieldTypeDescription
metrics[index].timestampnumber | stringThe timestamp indicating the end of the day.
metrics[index].totalDepositedUSDnumberThe US dollar value of the deposited assets in the protocol at the end of this day.
metrics[index].totalBorrowedUSDnumberThe US dollar value of the borrowed assets in the protocol at the end of this day.
metrics[index].cumulativeLiquidatedUSDnumberSum of the liquidated value each day since the protocol's inception.
metrics[index].cumulativeProtocolRevenueUSDnumberSum of the revenue earned each day since the protocol's inception.
metrics[index].cumulativeInterestAccumulatedUSDnumberSum of the interest accumulated each day since the protocol's inception.
metrics[index].intervalProtocolRevenueUSDnumberThe intra-day US dollar value of the revenue earned by the protocol.
metrics[index].intervalInterestAccumulatedUSDnumberThe intra-day US dollar value of the interest accumulated within the protocol.
metrics[index].intervalNumberOfDepositsnumberThe intra-day number of deposits.
metrics[index].intervalNumberOfWithdrawsnumberThe intra-day number of withdraws.
metrics[index].intervalNumberOfRepaysnumberThe intra-day number of repays.
metrics[index].intervalNumberOfBorrowsnumberThe intra-day number of borrows.
metrics[index].intervalNumberOfLiquidationsCallsnumberThe intra-day number of liquidation calls.
metrics[index].intervalNumberOfUsersnumberThe intra-day number of users (EOA's participating in the protocol).
metrics[index].intervalDepositsUSDnumberThe intra-day US dollar value of deposits.
metrics[index].intervalWithdrawsUSDnumberThe intra-day US dollar value of withdraws.
metrics[index].intervalBorrowsUSDnumberThe intra-day US dollar value of borrows.
metrics[index].intervalLiquidationCallsUSDnumberThe intra-day US dollar value of liquidation calls.
metrics[index].intervalFlashLoansUSDnumberThe intra-day US dollar value of flash loans.
Language
Authentication
Header
Click Try It! to start a request and see the response here!