Exchange Rates / Coin List

API POST Fields (in addition to the Main Fields described in the Introduction)

Field NameDescriptionRequired?
Exchange Rates / Coin List
cmdratesYes
shortIf set to 1, the response won't include the full coin names and number of confirms needed to save bandwidth.No
acceptedIf set to 1, the response will include if you have the coin enabled for acceptance on your Coin Acceptance Settings page.No

API Response

A successful call to this command will give you a result similar to this (JSON):
{
  "error": "ok",
  "result": {
    "BTC": {
      "is_fiat": 0,
      "rate_btc": "1.000000000000000000000000",
      "last_update": "1375473661",
      "tx_fee": "0.00100000",
      "status": "online",
      "name": "Bitcoin",
      "confirms": "2",
      "capabilities": [
        "payments",
        "wallet",
        "transfers",
        "convert"
      ]
    },
    "LTC": {
      "is_fiat": 0,
      "rate_btc": "0.018343387500000000000000",
      "last_update": "1518463609",
      "tx_fee": "0.00100000",
      "status": "online",
      "name": "Litecoin",
      "confirms": "3",
      "capabilities": [
        "payments",
        "wallet",
        "transfers",
        "convert"
      ]
    },
    "USD": {
      "is_fiat": 1,
      "rate_btc": "0.000114884285404190000000",
      "last_update": "1518463609",
      "tx_fee": "0.00000000",
      "status": "online",
      "name": "United States Dollar",
      "confirms": "1",
      "capabilities": []
    },
    "CAD": {
      "is_fiat": 1,
      "rate_btc": "0.000091601308947890000000",
      "last_update": "1518463609",
      "tx_fee": "0.00000000",
      "status": "online",
      "name": "Canadian Dollar",
      "confirms": "1",
      "capabilities": []
    },
    "MAID": {
      "is_fiat": 0,
      "rate_btc": "0.000049810000000000000000",
      "last_update": "1518463609",
      "tx_fee": "0.00000000",
      "status": "online",
      "name": "MaidSafeCoin",
      "confirms": "2",
      "capabilities": [
        "payments",
        "wallet"
      ]
    },
    "XMR": {
      "is_fiat": 0,
      "rate_btc": "0.028198593333333000000000",
      "last_update": "1518463609",
      "tx_fee": "0.01000000",
      "status": "online",
      "name": "Monero",
      "confirms": "3",
      "capabilities": [
        "payments",
        "wallet",
        "transfers",
        "dest_tag"
      ]
    },
   "LTCT": {
      "is_fiat": 0,
      "rate_btc": "1.000000000000000000000000",
      "last_update": "1375473661",
      "tx_fee": "0.00100000",
      "status": "online",
      "name": "Litecoin Testnet",
      "confirms": "0",
      "capabilities": [
        "payments",
        "wallet",
        "transfers"
      ]
    }
  }
}

Capabilities

The 'capabilities' field for each coin will have 0 or more of these values:

"payments" - You can accept payments in this coin via buttons and the 'create_transaction' API.
"wallet" - CoinPayments Wallet service is available (deposit & callback addresses and withdrawals.)
"transfers" - You can make free off-blockchain transfers using the 'create_transfer' API.
"convert" - You can convert to/from this currency using the 'convert' API.
"dest_tag" - This coin uses an extra parameter such as Destination Tags in Ripple and Payment IDs in XMR/BCN.