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/currencies

List all supported assets and networks.

GET/v1/pairs

Discover available swap pairs.

GET/v1/rate

Fetch floating or fixed rate for a pair.

POST/v1/exchange

Create a swap and receive a deposit address.

GET/v1/exchange/:id

Check the status of an in-flight swap.

POST/v1/webhooks

Register a webhook for status updates.