API documentation
Quotes, orders and currencies over plain HTTP. Build bots, terminals, wallets and dapps on top of swap.my.
Base URL
/api/v1Authentication
API key in the
X-API-Key headerSpec format
OpenAPI 3.0
Raw spec
Quick start
- 1
Create an account at /account/register
- 2
Generate an API key from your account dashboard
- 3
Include your key in requests:
X-API-Key: sk_your_key_here - 4
A key is required for POST /quote and POST /orders from scripts and backends, and raises your rate limits (orders 3→15/min, quotes 30→60/min). GET endpoints work without one.
# Get available currencies
curl https://swap.my/api/v1/currencies
# List your orders (explorer links included)
curl -H "X-API-Key: sk_your_key" https://swap.my/api/v1/ordersLoading documentation...