Lending (Data)
Lending market and pool data
📄️ Get latest lending data
Returns latest lending rate and TVL snapshots for the requested chains.
📄️ Get lending pools
Returns paginated lending pool data with optional filters and sorting.
📄️ Get pools grouped by config
For each (lender, chain, configId) combination, returns which markets are eligible as collateral or borrowable.
📄️ Browse all leverage pairs
Returns raw materialized view rows with all rate and liquidity fields. Supports single-chain address filtering or cross-chain asset-group mode.
📄️ Pairs by collateral
Given one or more collateral assets, returns all borrowing pairs sorted by best rate. Uses computed columns (effective APR, LTV, utilization). Optionally computes max debt amount when `amount` is provided.
📄️ Pairs by debt
Given one or more debt assets, returns all collateral pairs sorted by best rate. Uses computed columns (effective APR, LTV, utilization). Optionally computes min collateral amount when `amount` is provided.
📄️ List e-mode categories
Return the available e-mode categories for the requested lenders and chains.
📄️ E-mode analysis (on-chain)
Evaluate all e-mode switching options for a user. The API fetches the user's current positions and balance data on-chain via multicall — no request body needed.
📄️ E-mode analysis (with body)
Evaluate all e-mode switching options for a user sub-account.
📄️ Max open range
Compute the maximum amount that can be opened in a leverage position.
📄️ Max open range (with body)
Compute the maximum amount that can be opened in a leverage position.
📄️ Get lending snapshots
Returns historical lending data time series for specified markets.