SWAP.MY

API Documentation

Base URL
/api/v1
Authentication
API Key (X-API-Key header)
Spec Format
OpenAPI 3.0

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. An API 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.
# Example: Get available currencies
curl https://swap.my/api/v1/currencies
# Example: List your orders (explorer links included)
curl -H "X-API-Key: sk_your_key" https://swap.my/api/v1/orders
Loading documentation...