> ## Documentation Index
> Fetch the complete documentation index at: https://yieldxyz.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# DeFi

> Offer third-party lending, vault, liquid staking, restaking, and LP yields through the same Yield API objects and actions.

Offer yields from third-party DeFi protocols (lending markets, vaults, liquid staking, restaking, and liquidity pools) without integrating each protocol yourself. Each opportunity is a yield object in the Yield API: you discover it, request an enter or exit action, and sign the transactions yield.xyz constructs.

## Categories

| Category | What you supply and hold | Public `type` |
| - | - | - |
| [Lending](/documentation/earn/defi/lending/index) | Supply one asset to one lending market; hold a supply position that accrues the variable supply rate | `lending` |
| [Vaults](/documentation/earn/defi/vaults/index) | Deposit into a protocol or curator vault; hold vault shares whose value follows the strategy | `vault` |
| [Liquid staking](/documentation/earn/defi/liquid-staking/index) | Stake a network asset through a protocol; hold a transferable receipt token | `liquid_staking` |
| [Restaking](/documentation/earn/defi/restaking/index) | Restake ETH or a liquid staking token through a restaking protocol; hold its liquid restaking token | `restaking` |
| [LPing](/documentation/earn/defi/lping/index) | Provide liquidity to a DEX pool; hold an LP position | `liquidity_pool`, `concentrated_liquidity_pool` |

Each category index explains what differs for that category and links its protocol pages.

## Discover DeFi yields

Call `GET /v1/yields` with `types` (for example `lending` or `vault`), and narrow by `providers`, `networks`, or `inputTokens`. The response is project-scoped: it returns the yields enabled for your API key's project, not every integration yield.xyz supports. See [Discover](/documentation/earn/core-concepts/discover).

## Coverage

* [Providers](/documentation/earn/defi/coverage/providers): every DeFi protocol yield.xyz integrates, with its categories and networks.
* [Yields](/documentation/earn/defi/coverage/yields): which categories are available on which networks, and how to list the yields enabled for your project.
* [Stablecoins](/documentation/earn/stablecoins): stablecoin strategies across these categories.

## How DeFi relates to other products

| If you want to | Go to |
| - | - |
| Understand actions, balances, and yield fields shared by every yield | [Actions](/documentation/earn/core-concepts/actions), [Balances and positions](/documentation/earn/core-concepts/balances-positions), [Yield metadata](/documentation/earn/core-concepts/yield-metadata) |
| Borrow against collateral | [Borrow](/documentation/borrow/index). A DeFi lending yield only supplies assets; borrowing is a separate product with its own API. |
| Run yield.xyz's own vaults (OAVs, Sentinel Vaults, Meta Vaults) | [Platform › Vaults & OAVs](/documentation/platform/vaults/index). DeFi › Vaults covers third-party protocol vaults only. |
| Understand staking models | [Staking types](/documentation/earn/staking/types) |

## Next steps

<Columns cols={2}>
  <Card title="Providers" icon="list-check" href="/documentation/earn/defi/coverage/providers">
    See which DeFi protocols yield.xyz integrates, by category and network.
  </Card>

  <Card title="Discover yields" icon="magnifying-glass" href="/documentation/earn/core-concepts/discover">
    List the DeFi yields enabled for your project.
  </Card>
</Columns>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.