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

# Introduction

> Sell covered calls and cash-secured puts for firm premiums from Bebop's market makers, then close, roll, or redeem them.

> [!WARNING]
>
> The Options API is in beta. Fields can be added, renamed, or removed.

With the Options API, a wallet sells covered calls and cash-secured puts for a premium in USDC. The wallet locks the collateral, Bebop requests signed quotes from its market makers, and the highest premium wins. Each trade settles in one transaction on Ethereum through the Bebop settlement contract.

The options are [Greek.fi](https://greek.fi) instruments: European calls and puts, each a pair of ERC-20 tokens. Bebop supplies the quotes and the settlement transaction. The Greek contracts hold the collateral and enforce expiry and exercise.

## When to use

* You or your users hold WETH, cbBTC, or USDC and want to **receive a premium** for an option on it.
* You want a **firm premium**: each quote is a signed order that is valid until its `expiry`.
* You want the wallet to **keep custody**: the collateral goes from the wallet into the Greek contracts, not to Bebop.

## At a glance

| | |
| - | - |
| **Transport** | REST |
| **Authentication** | API key with options taker access |
| **Chains** | Ethereum (`ethereum`), Hemi (`hemi`) |
| **Underlyings** | Ethereum: WETH, cbBTC. Hemi: hemiBTC. More coming soon. |
| **Premium token** | USDC |
| **Trades** | Sell-to-open, buy-to-close, roll |
| **Exercise style** | European |
| **Settlement** | Sign and send the `tx` from the quote |
| **Complexity** | Medium: token approvals, a Greek Factory permission, and transaction signing |

## How it works

| Step | Action | You send | You get back |
| - | - | - | - |
| 1 | Find an instrument | Filters | Option token addresses, strikes, and expiries |
| 2 | Prepare the wallet | Collateral allowance and Greek Factory permission | On-chain approvals |
| 3 | Request a quote | Instrument, amount, wallet | Firm premium and a settlement transaction |
| 4 | Send the transaction | Signed transaction | Premium in the wallet, collateral locked |
| 5 | Close, roll, or hold to expiry | Position ID | A close or roll transaction, or a redemption after expiry |

To learn what happens on chain at each step, see [How options settle](https://docs.bebop.xyz/options-api/how-options-settle.md).

## Key endpoints

| Endpoint | Purpose |
| - | - |
| `GET /options/ethereum/v1/instruments` | List the options that Bebop quotes |
| `GET /options/ethereum/v1/quote` | Request a sell-to-open quote |
| `GET /options/ethereum/v1/positions` | List your positions |
| `GET /options/ethereum/v1/positions/{positionId}/quote` | Request a buy-to-close quote |
| `GET /options/ethereum/v1/positions/{positionId}/roll` | Request a roll quote |

## Next steps

> [card] [Quickstart](https://docs.bebop.xyz/options-api/quickstart.md)
>
> Sell your first covered call.

> [card] [How options settle](https://docs.bebop.xyz/options-api/how-options-settle.md)
>
> Learn how collateral, premiums, and expiry work.

> [card] [Guides](https://docs.bebop.xyz/options-api/guides/close-a-position.md)
>
> Close, roll, and redeem a position.

> [card] [Reference](https://docs.bebop.xyz/options-api/reference.md)
>
> Endpoints, fields, approvals, and error codes.


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