Skip to main content
GET
Calculate crypto transfer fee

Request

string
required
Active production API key.

Query Parameters

number
required
The transfer amount for which to calculate the fee. Must be a positive number (minimum 0.01).
string
required
The asset to calculate fees for: sol, usdc, usdt, or xlm (case-insensitive). Solana supports SOL/USDC/USDT; Stellar supports XLM/USDC.
string
solana or stellar. Specify network=stellar for Stellar USDC. If omitted, XLM selects Stellar and other assets select Solana.

Request Example

This endpoint uses GET with query parameters, not a JSON body. When using curl in a shell, wrap the full URL in quotes (or use curl -g) so & between query parameters is not treated as a background operator.

Response

In the current crypto transfer flow, the submitted transfer amount is gross and the fee is deducted before the recipient transfer. Use the quote to calculate the expected net recipient amount; do not interpret data.total as the amount debited by that transfer flow.

Validation errors

Authorizations

x-api-key
string
header
required

Query Parameters

amount
number
required
currency
enum<string>
required
Available options:
usdc,
usdt,
sol,
xlm
network
enum<string>

Specify stellar for Stellar USDC. Defaults to stellar for XLM and solana for other assets.

Available options:
solana,
stellar

Response

Transfer fee calculated successfully

status
boolean
required
statusCode
integer
required
message
string
required
data
object
required