Fee calculation

Calculates the fee and the recipient amount before creating a withdrawal.

POST/withdrawals/calculate

System information

API key
Required
Rate limit
∞

A quote is valid for 5 minutes. Requesting a quote does not create a withdrawal or reserve the balance.

Body parameters

ParameterTypeRequiredDescription
coinCodestringYesCryptocurrency code, for example USDT.
networkCodestringYesBlockchain network code, for example ethereum.
amountstringYesFull amount debited from the balance, including the fee.
destinationAddressstringYesRecipient address on the chosen network.
curl -X POST "https://api.atomic.wallet/api/v1/withdrawals/calculate" \
  -H "x-api-key: $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "coinCode": "USDT",
  "networkCode": "ethereum",
  "amount": "10.000000",
  "destinationAddress": "0x977e259e69ad9bfd882ceb411afaebb4a66e4020"
}'
{
  "quoteId": "42792728-4d29-4d0a-bcb5-4aed46642fce",
  "coinCode": "USDT",
  "networkCode": "ethereum",
  "address": "0x977e259e69ad9bfd882ceb411afaebb4a66e4020",
  "debitAmount": "10.000000",
  "recipientAmount": "9.900000",
  "networkFee": "0.100000",
  "expiresAt": "2026-10-07T12:05:00.000Z"
}

Response fields

ParameterTypeDescription
quoteIdstringCalculation ID. Pass it to POST /withdrawals.
coinCodestringCryptocurrency code.
networkCodestringBlockchain network code.
addressstringRecipient address.
debitAmountstringAmount debited from the balance.
recipientAmountstringAmount the recipient receives.
networkFeestringNetwork fee.
expiresAtstringCalculation expiry date (ISO 8601).