Skip to content
SwapWalletDocs
فارسیGet an API key

Build on SwapWallet

Run your SwapWallet account from your own code: read prices and balances, swap tokens, send crypto and Toman withdrawals, and catch every deposit the moment it lands.

Base URL
https://swapwallet.app/api
Authentication
Authorization: Bearer apikey-…
curl https://swapwallet.app/api/v2/user/balance/USDT \
  -H "Authorization: Bearer $SWAPWALLET_API_KEY"
200 OKResponse
{
  "status": "OK",
  "result": {
    "token": "USDT",
    "amount": { "number": "1149.5", "unit": "USDT" }
  }
}

What you can do with the API

Guides

Stay in the loop