Lending

Lending overview windows endpoint

Changed on

Trailing window overview of pools and vaults for Aave v3, Morpho v1, Morpho v2, and Euler v2

get/evm/lending/overview/windows

Request

Query parameters

timeframe'7d' | '30d' | '90d' | '365d' required
Example:7d

Trailing window for historical data results. One of 7d, 30d, 90d, 365d.

protocol_idstring

Filter by protocol ID. Ex: aave-v3, morpho-v1, morpho-v2, euler-lend, etc.

addressstring
Example:0x0f359fd18bda75e9c49bc027e7da59a4b01bf32a

Address of the lending pool / vault

underlying_addressstring
Example:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48

Underlying token address. See tokens for valid addresses.

chain_id1 | 8453 | 42161 | 4663 | 56
Example:8453

EVM chain ID.

min_tvl_usdnumber
Example:1000000

Minimum current TVL in USD of the lending pool/vault, not the window average.

limitinteger

Limit the number of results.

offsetinteger

Offset the results, allows you to skip a number of rows before starting to return rows.

order_ascstring[]

List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order

order_descstring[]

List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order

Response

Successful response

rowsinteger

Number of rows returned

Changes

    • breaking

      removed the enum value aave-v3 from the query request parameter protocol_id

    • breaking

      removed the enum value euler-lend from the query request parameter protocol_id

    • breaking

      removed the enum value morpho-v1 from the query request parameter protocol_id

    • breaking

      removed the enum value morpho-v2 from the query request parameter protocol_id

    • breaking

      removed the enum value sparklend from the query request parameter protocol_id

    • info

      endpoint added