/c2c/sell/manual

A C2C quotation that can specify the transaction quantity to sell.

The API needs to specify the transaction quantity before quoting.

Parameters

  1. Object - [required] query object

    • asset [required] Cryptocurrency name. Ranges: USDT、BTC、ETH、BUSD、BNB 。

    • fiat [required] Fiat currency name, such as: USD、EUR、AUD、GBP、JPY、CNY and 100+ fiat currencies.

    • amount [required] Number of transactions. such as: 500、1000、50000, etc.

Request

  • Please replace YOUR-API-KEY with your API-KEY.

curl https://api.solarpath.io/v1/YOUR-API-KEY/c2c/sell/manual \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"asset": "USDT", "fiat": "USD", "amount": 10000}'

Response

{
  "code": 200,
  "msg": "successful",
  "status": "success",
  "result": {
      "asset": "USDT",   // sell assets
      "fiat": "USD",     // fiat currency name
      "fiatSymbol": "$", // fiat currency symbol
      "price": "1.035",  // quotation
      "tradeType": "SELL"// trade type: BUY or SELL
  }
}

This API refreshes automatically every 1~3 minutes.

Last updated