What you can build
Borrow market discovery
List supported borrow markets, filter by network, and inspect supplied assets, borrowed assets, rates, utilization, and collateral configuration.
User borrow positions
Show a wallet’s supplied and borrowed balances across supported markets, including position value and market-specific asset balances.
Risk metrics
Surface LTV, liquidation thresholds, health factor, and collateral data so users understand the state of their borrow positions.
Borrow transactions
Generate ready-to-sign supply, withdraw, borrow, and repay payloads after checking balances, limits, and available actions.
Integration flow
Discover markets
List supported borrow markets, optionally scoped to one network. Use market details to render assets, rates, utilization, and collateral parameters in your product.
Fetch the user's positions
Retrieve the wallet’s borrow portfolio to show supplied assets, borrowed assets, position value, and risk metrics across markets.
Check transaction context
Before rendering action buttons, fetch transaction context for the user, market, and asset. The response tells you which actions are available and which inputs are required.
Borrow market data
Borrow markets expose the normalized data needed to build market screens and position pages:- Market identity: network, market ID, protocol, and supported assets
- Rates and utilization
- Supplied and borrowed asset data
- Collateral and liquidation parameters
- Historical market data where available
Positions and events
Borrow portfolio endpoints let you inspect a user’s current positions and market-level history:- Supplied assets and balances
- Borrowed assets and balances
- LTV, health factor, and other risk metrics where available
- Asset-level position views for a specific market
- User events for a market and asset
Transaction support
Borrow transaction endpoints follow the same pattern as vault transaction flows:- Fetch context for the user, market, asset, and network.
- Confirm which action is available.
- Generate the action payload with
amountorall=truewhere required. - Pass the returned transaction to the user’s wallet.

