/c2c/sell/fast

C2C quick sell quote.

This API is Default Quote/Quick Quote.

Parameters

  1. Object - [required] query object

    • assets [required] array of cryptocurrencies, the maximum number of queries allowed is 3. Ranges: USDTBTCETHBUSDBNB

    • fiat [required] Fiat currency name, such as: USDEURAUDGBPJPYCNY and 100+ fiat currencies.

Request

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

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

Response

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

This API refreshes automatically every 1~3 minutes.

Last updated