The Stabyl API lets your team automate the same money movement and trading workflows you already perform inside Stabyl. Use it for backend jobs, internal tools, reconciliation systems, and trading automation that operate on your own Stabyl account.Documentation Index
Fetch the complete documentation index at: https://stabyl.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
What You Can Automate
| Area | What the API gives you |
|---|---|
| Wallet discovery | Supported wallet currencies, stablecoin rails, and blockchain routes |
| Deposits | Fiat deposit account details and one crypto deposit address per requested chain |
| Balances | NGN and USD wallet balances, including available and locked amounts |
| Recipients | Saved fiat and crypto recipient records used by Stabyl Pro workflows |
| Transactions | Cursor-paginated wallet activity for deposits, fees, adjustments, refunds, and web-initiated withdrawals |
| Market data | Markets, tickers, order books, candles, trades, and fills |
| Orders | Create, list, read, cancel, and replace exchange orders |
| Sandbox | Non-production simulation endpoints for testing deposits, withdrawal records, KYB state, and notifications |
Base URLs
| Environment | URL |
|---|---|
| Production | https://api.stabyl.com/v1 |
| Staging | https://api-staging.stabyl.com/v1 |
API Conventions
All requests use HTTPS. JSON writes requireContent-Type: application/json. Authenticated routes require X-Api-Key.
Successful JSON responses use a response envelope:
USDT, USDC) are settlement rails for the USD wallet, not separate wallet currencies.
Design Principles
- Keep API keys server-side and grant each key only the access it needs.
- Discover wallet routes from the API instead of hardcoding chain availability.
- Treat order writes as asynchronous; read the order after submission for canonical status.
- Use
Idempotency-Keyon create, cancel, and replace order requests. - Reconcile from transaction and order reads, not from manual exports or UI state.
- Remove simulation calls from production code paths.