CMC Liquid Endpoints

Get Summary

GET /api/v2/summary

Response

{
  "ETH_MCASH": {
      "id": 4000026,
      "last_price": "0.00005966",
      "percent_change": "0.00",
      "base_volume": "0.00000000",
      "quote_volume": "0.00000000",
      "high24h": "0.00000000",
      "low24h": "0.00000000",
      "is_frozen": "0",
      "highest_bid": "0.00005612",
      "lowest_ask": "0.00005989"
  },
  "MAS_MCASH": {
      "id": 3000044,
      "last_price": "3.00001000",
      "percent_change": "0.00",
      "base_volume": "0.00000000",
      "quote_volume": "0.00000000",
      "high24h": "0.00000000",
      "low24h": "0.00000000",
      "is_frozen": "0",
      "highest_bid": "3.00001000",
      "lowest_ask": "3.00267500"
  },
  "BTC_ETH": {
      "id": 1,
      "last_price": "0.10000000",
      "percent_change": "0.00",
      "base_volume": "0.00000000",
      "quote_volume": "0.00000000",
      "high24h": "0.00000000",
      "low24h": "0.00000000",
      "is_frozen": "0",
      "highest_bid": "0.01843500",
      "lowest_ask": "100.50000000"
  },
  "USDT_BTC": {
      "id": 1000003,
      "last_price": "1000.00000000",
      "percent_change": "0.00",
      "base_volume": "0.00000000",
      "quote_volume": "0.00000000",
      "high24h": "0.00000000",
      "low24h": "0.00000000",
      "is_frozen": "0",
      "highest_bid": "800.00000000",
      "lowest_ask": "0.00000000"
  }
}

Get Assets

GET /api/v2/assets

Response

{
  "BTC": {
      "name": "Bitcoin",
      "unified_cryptoasset_id": 1,
      "can_withdraw": "true",
      "can_deposit": "true",
      "min_withdraw": "0.00500000",
      "max_withdraw": "10.00000000",
      "maker_fee": "0",
      "taker_fee": "0"
  },
  "ETH": {
      "name": "Ethereum",
      "unified_cryptoasset_id": 1027,
      "can_withdraw": "true",
      "can_deposit": "true",
      "min_withdraw": "0.05000000",
      "max_withdraw": "575.67739960",
      "maker_fee": "0",
      "taker_fee": "0"
  },
  "MAS": {
      "name": "Midas Protocol",
      "unified_cryptoasset_id": 3352,
      "can_withdraw": "true",
      "can_deposit": "true",
      "min_withdraw": "1000.00000000",
      "max_withdraw": "37037037.03703704",
      "maker_fee": "0",
      "taker_fee": "0"
  },
  "USDT": {
      "name": "TetherUS",
      "unified_cryptoasset_id": 825,
      "can_withdraw": "true",
      "can_deposit": "true",
      "min_withdraw": "20.00000000",
      "max_withdraw": "71885.55819136",
      "maker_fee": "0",
      "taker_fee": "0"
  }
}

Get ticker

GET /api/v2/ticker

Response

{
  "ETH_MCASH": {
      "base_id": 4224,
      "quote_id": 1027,
      "last_price": "0.00005966",
      "base_volume": "0.00000000",
      "quote_volume": "0.00000000",
      "is_frozen": "0"
  },
  "MAS_MCASH": {
      "base_id": 4224,
      "quote_id": 3352,
      "last_price": "3.00001000",
      "base_volume": "0.00000000",
      "quote_volume": "0.00000000",
      "is_frozen": "0"
  },
  "BTC_ETH": {
      "base_id": 1027,
      "quote_id": 1,
      "last_price": "0.10000000",
      "base_volume": "0.00000000",
      "quote_volume": "0.00000000",
      "is_frozen": "0"
  },
  "USDT_BTC": {
      "base_id": 1,
      "quote_id": 825,
      "last_price": "1000.00000000",
      "base_volume": "0.00000000",
      "quote_volume": "0.00000000",
      "is_frozen": "0"
  }
}

Get order book

GET /api/v2/orderbook/<market_pair>

Parameters

Key Mandatory Data type Description Example
market_pair required string market pair symbol BTC_USDT, …
depth optional integer Orders depth quantity: [0, 5, 10, 20, 50, 100, 500]. Not defined or 0 = full order book 10
level optional integer
  • Level 1 – Only the best bid and ask.
  • Level 2 – Arranged by best bids and asks.
  • Level 3 – Complete order book, no aggregation.
1

Response

{
  "timestamp": 1577442611,
  "bids": [
      [
          "2405186.23480000",
          "0.00000062"
      ],
      [
          "8000.00000000",
          "0.00000060"
      ],
      [
          "6433.00000000",
          "0.00000031"
      ],
      [
          "3400.00000000",
          "0.00000030"
      ]
  ],
  "asks": [
      [
          "6270.64710000",
          "0.00000063"
      ],
      [
          "4293.40600000",
          "0.00000064"
      ],
      [
          "10000.00000000",
          "0.00000065"
      ],
      [
          "10000.00000000",
          "0.00000066"
      ]
  ]
}

Get trades

GET /api/v2/trades/<market_pair>

Parameters

Key Mandatory Data type Description Example
market_pair required string market pair symbol BTC_USDT, …
type optional string buy or sell buy

Response

[
  {
      "trade_id": 5628,
      "price": "0.00005966",
      "base_volume": "440.89250000",
      "quote_volume": "0.02630365",
      "trade_timestamp": "1574741045",
      "type": "buy"
  },
  {
      "trade_id": 5627,
      "price": "0.00005750",
      "base_volume": "576.82000000",
      "quote_volume": "0.03316715",
      "trade_timestamp": "1574741045",
      "type": "buy"
  },
  {
      "trade_id": 5626,
      "price": "0.00005734",
      "base_volume": "564.82000000",
      "quote_volume": "0.03238678",
      "trade_timestamp": "1574741045",
      "type": "buy"
  },
  {
      "trade_id": 5623,
      "price": "0.00005728",
      "base_volume": "930.91000000",
      "quote_volume": "0.05332252",
      "trade_timestamp": "1573020397",
      "type": "sell"
  },
  {
      "trade_id": 5622,
      "price": "0.00005728",
      "base_volume": "619.66000000",
      "quote_volume": "0.03549412",
      "trade_timestamp": "1573020095",
      "type": "sell"
  }
]