How it works
1
Discover supported swap chains and coins
Call
GET /conversions/swap-chains and GET /conversions/swap-coins to find what
source/destination pairs are available.2
Check the fee
Call
GET /conversions/fee/{chain}/{coin}/{amount} to get a fee quote and estimated output
before committing. For crypto swaps, pass toChain and toCoin as query params to get a
destination-specific estimate.3
Create the conversion
Call
POST /conversions with the source coin, chain, amount, and destination. The conversion
is queued immediately and processed asynchronously.4
Poll for completion
Call
GET /conversions/{id} to track processingStages until the conversion settles.Prerequisites
Authentication guide
These endpoints use Signed (HMAC) authentication — an HMAC-SHA256 signature is required on every request. See the authentication guide for code examples.
Step 1 — Check the fee
Always fetch a fee quote before creating a conversion so you can show the cost to the user.Step 2 — Create a crypto swap
Step 2 (alt) — Create a fiat conversion
To convert to fiat, supply apayoutAccountId instead of toChain/toCoin.