https://borrow.yield.xyz/v1 with an x-api-key header.
Borrow is not Earn’s Lending: Lending supplies an asset to earn yield through the Yield API. Borrow supplies collateral and borrows against it through the Borrow API. A Borrow
supply action and a lending yield are different positions, even on the same protocol.How it works
- Discover markets with
GET /v1/markets, project-scoped by default (scope=enabled). - Inspect a market’s collateral and rate data before you build an action.
- Request an action with
POST /v1/actions, such assupplyorborrow. - Sign each returned transaction in order and submit it.
- Poll the action until it settles, then track the position with
GET /v1/positions.
Next steps
Core concepts
Markets, positions, and actions: the model behind every integration.
Coverage
The protocols, market types, and networks the Borrow API integrates today.
Monetization
Fee behavior on Morpho Blue markets configured for your project.

