Skip to main content
POST
/
exchange
/
calculate
curl --request POST \
  --url https://app.cryptoprocessing.com/api/v2/exchange/calculate \
  --header 'Content-Type: application/json' \
  --header 'X-Processing-Key: <api-key>' \
  --header 'X-Processing-Signature: <x-processing-signature>' \
  --data '
{
  "sender_currency": "BTC",
  "receiver_currency": "EUR",
  "sender_amount": 0.02
}
'
{
  "data": {
    "sender_currency": "BTC",
    "sender_amount": "0.02000000",
    "receiver_currency": "EUR",
    "receiver_amount": "1546.28528889",
    "fee_currency": "BTC",
    "fee_amount": "0.00100000",
    "price": "77314.26444450",
    "ts_fixed": 1775172819,
    "ts_release": 1775172879,
    "fix_period": 60
  }
}

Authorizations

X-Processing-Key
string
header
required

Your API key.

Headers

X-Processing-Signature
string
required

Hex-encoded HMAC-SHA512 signature of the request body, generated using your secret key.

Body

application/json
sender_currency
string
required

Currency to exchange from. For a list of all available currencies, see API currency codes.

receiver_currency
string
required

Currency to exchange to. For a list of all available currencies, see API currency codes.

sender_amount
number

Amount to send. You must include either this parameter or receiver_amount.

receiver_amount
number

Amount to receive. You must include either this parameter or sender_amount.

Response

OK

data
object
Last modified on April 28, 2026