Lending overview windows endpoint
Changed onTrailing window overview of pools and vaults for Aave v3, Morpho v1, Morpho v2, and Euler v2
Request
- Base URLhttps://api.cambrian.org (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Trailing window for historical data results. One of 7d, 30d, 90d, 365d.
Filter by protocol ID. Ex: aave-v3, morpho-v1, morpho-v2, euler-lend, etc.
Address of the lending pool / vault
Underlying token address. See tokens for valid addresses.
EVM chain ID.
Minimum current TVL in USD of the lending pool/vault, not the window average.
Limit the number of results.
Offset the results, allows you to skip a number of rows before starting to return rows.
List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order
List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order
Response
Successful response
Changes
- breaking
removed the enum value
aave-v3from thequeryrequest parameterprotocol_id - breaking
removed the enum value
euler-lendfrom thequeryrequest parameterprotocol_id - breaking
removed the enum value
morpho-v1from thequeryrequest parameterprotocol_id - breaking
removed the enum value
morpho-v2from thequeryrequest parameterprotocol_id - breaking
removed the enum value
sparklendfrom thequeryrequest parameterprotocol_id
- breaking
- info
endpoint added
- info