POST
/
v1
/
wallets
/
{walletId}
/
swaps
/
quote
curl --request POST \
  --url https://api.blockradar.co/v1/wallets/{walletId}/swaps/quote \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "amount": "1000",
  "fromAssetId": "eda105b9-9471-4149-adb3-7dbf285ec0ab",
  "toAssetId": "84c8ad33-1450-4d61-9f8f-f0505039f2ec"
}'
{
  "data": {
    "amount": "0.409419",
    "estimatedArrivalTime": 3,
    "networkFee": "0.000119374",
    "rate": "0.818838"
  },
  "message": "Swap quote fetched successfully",
  "statusCode": 200
}

Authorizations

x-api-key
string
header
required

Path Parameters

walletId
string
required
Example:

"YOUR_WALLET_ID"

Body

application/json
amount
string
Example:

"1000"

fromAssetId
string
Example:

"eda105b9-9471-4149-adb3-7dbf285ec0ab"

toAssetId
string
Example:

"84c8ad33-1450-4d61-9f8f-f0505039f2ec"

Response

200 - application/json
200 - External Recipient Address / 200 - Recipient Master Wallet
data
object
message
string
Example:

"Swap quote fetched successfully"

statusCode
number
Example:

200