Authentication
All requests to our API must be authenticated. We use a secure, header-based authentication method built around the following credentials:x-app-idx-app-secret
X-Breet-Env
Accepted values for X-Breet-Env
developmentproduction
The API base URL: https://api.breet.io/v1
Obtaining your credentials
You can generate and manage your API credentials directly from the Developers section of your dashboard:- Log in to your dashboard
- Navigate to Developers → API Credentials
- Generate or copy your:
- App ID
- App Secret
Keeping your credentials secure
To maintain the security of your integration:- Never expose your App Secret in frontend code, mobile applications, GitHub repositories, or client-side logs
- Store secrets in a secure storage system (e.g., environment variables, Vault, AWS Secrets Manager, GCP Secret Manager)
- Rotate your credentials periodically as part of your security best practices
- If you suspect a leak or unauthorized access:
- Immediately regenerate your App Secret from the dashboard.
- The previous secret will be invalidated automatically.
Authentication best practices
- Use server-to-server communication whenever possible
- Avoid logging secrets in plaintext
- Ensure all requests are made over HTTPS
- Always include the correct
X-Breet-Envheader in every request
Response format
All API responses follow a consistent JSON structure:success:truefor successful requests,falsefor errors.message: A human-readable description of the result.data: The response payload (object, array, or empty).meta: Metadata such as pagination info.
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.Cursor
Install in Cursor
VS Code
Install in VS Code
Other tools
Copy MCP URL
Further reading
- Supported assets: See which cryptocurrencies and stablecoins are available for deposits and withdrawals.
- Auto-settlement: Automatically convert crypto deposits to local currency and pay out to a bank account.
- Webhooks: Receive real-time notifications for crypto transactions and withdrawal events.
- Pagination: Navigate large result sets with page-based pagination.
- Error handling: Understand the standard response format and common error scenarios.
- Rate limiting: Understand API rate limits and how to handle them.
- Use cases: See real integration examples for fintech, e-commerce, payroll, and more.
- API status: Check real-time uptime and incident history.