Lending
Lending Morpho Market Windows endpoint
Changed onget/evm/lending/morpho/markets/windows
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
timeframe'7d' | '30d' | '90d' | '365d' required
Example:7d
Trailing window for historical data results. One of 7d, 30d, 90d, 365d.
market_idstring
Example:0x9103c3b4e834476c9a62ea009ba2c884ee42e94e6e314a26f04d312434191836
ID of the Morpho Blue market
loan_addressstring
Example:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
Loan token address. See tokens for valid addresses.
collateral_addressstring
Example:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
Collateral token address. See tokens for valid addresses.
chain_id1 | 8453 | 42161 | 4663
Example:8453
EVM chain ID.
min_tvl_usdinteger
Example:1000000
Minimum current TVL in USD of the market, 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
Changes
- info
endpoint added
- info