Developers
SwapNow API
A REST API for embedding non-custodial swaps into your wallet, dApp, or terminal. JSON in, JSON out.
Quick start
Create a free account, generate an API key in your dashboard, then call the/v1/exchangeendpoint to spin up a deposit address.
POST https://api.swapnow.example/v1/exchange
Authorization: Bearer <api_key>
Content-Type: application/json
{
"from": "BTC",
"to": "ETH",
"amount": 0.05,
"address": "0x...",
"refund_address": "bc1...",
"rate_type": "floating"
}GET
/v1/currenciesList all supported assets and networks.
GET
/v1/pairsDiscover available swap pairs.
GET
/v1/rateFetch floating or fixed rate for a pair.
POST
/v1/exchangeCreate a swap and receive a deposit address.
GET
/v1/exchange/:idCheck the status of an in-flight swap.
POST
/v1/webhooksRegister a webhook for status updates.