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

# Quickstart

> Get your Breet API credentials, set up authentication headers, and make your first API request in minutes.

## Prerequisites

* A [Breet Partner Account](https://partners.breet.io/register)
* Your **App ID** and **App Secret** from the dashboard

> [!NOTE]
>
> Don't have API dashboard access? [Fill out this form](https://breet.io/business/book-a-call) to speak with our team and get set up.

## Step 1: Get your credentials

1. Log in to the [Breet API Dashboard](https://partners.breet.io).
2. Go to the **Developer** page and open the **Integration** tab.
3. Create or copy your **App ID** and **App Secret (API Secret Key)**.

![App ID and API Secret Key](https://mintcdn.com/breet/Ox3Udggwfd-toUsT/images/App%20ID%20&%20Secret.png?fit=max\&auto=format\&n=Ox3Udggwfd-toUsT\&q=85\&s=adc83000c5c5e79feb4b02685b46fe94)

App ID and API Secret Key on the Developer page

> [!WARNING]
>
> **Keep your App Secret safe.** Never expose it in frontend code, mobile apps, or public repositories. Store it in environment variables or a secrets manager.

## Step 2: Set required headers

Every API request must include:

| Header | Description |
| - | - |
| `x-app-id` | Your App ID |
| `x-app-secret` | Your App Secret |
| `X-Breet-Env` | `sandbox` or `production` |

## Step 3: Make your first request

**Base URL:** `https://api.breet.io/v1`

Example 1: list supported assets.

```bash theme={null}
curl -X GET "https://api.breet.io/v1/trades/assets" \
  -H "x-app-id: YOUR_APP_ID" \
  -H "x-app-secret: YOUR_APP_SECRET" \
  -H "X-Breet-Env: sandbox"
```

Example 2: generate a deposit wallet address (replace `ASSET_ID` with a valid asset ID from the assets list).

```bash theme={null}
curl -X POST "https://api.breet.io/v1/trades/sell/assets/ASSET_ID/generate-address" \
  -H "x-app-id: YOUR_APP_ID" \
  -H "x-app-secret: YOUR_APP_SECRET" \
  -H "X-Breet-Env: sandbox" \
  -H "Content-Type: application/json" \
  -d '{"label": "user-12345"}'
```

## AI-powered docs

Connect our documentation to your AI coding tools via MCP so your assistant can search the Breet API docs while you build.

> [card] [Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=breet-api\&config=eyJ1cmwiOiJodHRwczovL2RvY3MuYnJlZXQuaW8vbWNwIn0=)
>
> Install in Cursor

> [card] [VS Code](https://vscode.dev/redirect/mcp/install?name=breet-api\&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttps%2Fdocs.breet.io%2Fmcp%22%7D)
>
> Install in VS Code

> [card] [Other tools](https://docs.breet.io/mcp)
>
> Copy MCP URL

> [!TIP]
>
> The Cursor and VS Code buttons open the app directly if installed. For other tools or manual setup, copy the MCP server URL: `https://docs.breet.io/mcp`

## Next steps

* Read the [API overview](https://docs.breet.io/api-reference/introduction.md) for full authentication and security details.
* Explore the [API reference](https://docs.breet.io/api-reference/introduction.md) for all endpoints, request bodies, and responses.
* Enable [auto-settlement](https://docs.breet.io/auto-settlement.md) to automatically convert crypto deposits to local currency and pay out to a bank account.
* Set up [webhooks](https://docs.breet.io/webhooks.md) to receive real-time events when funds arrive or withdrawals complete.
* Learn about [pagination](https://docs.breet.io/pagination.md), [error handling](https://docs.breet.io/errors.md), and [rate limiting](https://docs.breet.io/rate-limiting.md).
* Browse [use cases](https://docs.breet.io/use-cases/fintech.md) to see how teams integrate Breet for fintech, e-commerce, payroll, and more.
* Try the **[API Demo](https://apidemo.breet.io)** to explore and test the API flows in an interactive environment.


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