Estimate Price Query


You can retrieve the estimated fiat amount you need to pay or the crypto amount you can receive through this API. However, please note that this API does not facilitate order creation.

Test environment

Prod environment

❗️This API can only be invoked on the server side.

Http method

  • POST

Http Header

ElementMandatoryData TypeRemarks
appidYstringPartner unique ID, Once a merchant has been on-boarded with Alchemy Pay, the merchant will be provided with the credentials with appId and appSecret
timestampYstringUTC time with 13 digits represents time in milliseconds, expiration period is 5 minutes.
signYstringSign the appId, timeStamp, and requested parameters alphabetically, the sign method can refer here

Body Parameter

ElementMandatoryData TypeRemarks
sideYstringPass value: BUY, SELL
fiatAmountCstringThe amount of fiat currency
fiatCurrencyCstringFiat code, USD/EUR, etc.
cryptoQuantityCstringThe number of digits
cryptoCurrencyCstringCrypto name. example: USDT
networkCstringCrypto acquiring network: e.g.: ETH/BSC/BTC, etc.
payWayCodeCstringPayment method code: For the specific value.


Request Parameters

Request Header Parameters:

Request Body Parameters:

    "side": "BUY",
    "fiatAmount": "100",
    "fiatCurrency": "USD",
    "cryptoCurrency": "USDT",
    "network": "ETH"

Response Parameters

    "success": true,
    "returnCode": "0000",
    "returnMsg": "SUCCESS",
    "extend": "",
    "data": {
        "cryptoPrice": "1.005",
        "side": "BUY",
        "fiatAmount": "100",
        "cryptoQuantity": "79.90432835",
        "rampFee": "4.39",
        "networkFee": "15.30",
        "fiat": "USD",
        "crypto": "USDT",
        "payWayCode": "701",
        "cryptoNetworkFee": "15.24"
    "traceId": "65eadc4a50f165555d4536bc80ebb0b8"