Asset Lens

This API retrieves information about all of the actions that occurred for a specific asset on the protocol within a certain timespan.

🚧

Time Range Limit

The maximum time range (difference between endDate and startDate) is 60 days.

📘

Not specifying startDate and endDate

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

RESPONSE DATA

Understanding Actions in Lending Protocols

There are many different types of actions in lending protocols, as you'll see in the action property for each item of the payload.data array. The guide below will help you understand the possible actions

Supported Actions Per Protocol

Empty cell indicates no support.

Protocol \ Action NameDepositWithdrawLiquidationCallRepayBorrowFlashLoan
aavev2XXXXXX
aavev3XXXXXX
compoundv2XXXXX
makerdaoXXXXX

The guide below will help you understand the possible actions.


Language
Authorization
Header
Click Try It! to start a request and see the response here!