Markets

ticker

GET https://api-gw.quantadex.com/mainnet/api/ticker

Retrieves summary information for each currency pair listed on the exchange.

{
  "ETH/BTC": {
    "time": "2019-07-25T23:45:52",
    "base": "ETH",
    "quote": "BTC",
    "latest": "45.1944444444444444444",
    "lowest_ask": "0",
    "highest_bid": "45.4375",
    "percent_change": "0",
    "base_volume": "0",
    "quote_volume": "0"
  },
  "LTC/BTC": {
    "time": "2019-07-25T23:45:52",
    "base": "LTC",
    "quote": "BTC",
    "latest": "76.2388818297331639135",
    "lowest_ask": "76.2388818297331639135",
    "highest_bid": "0",
    "percent_change": "0",
    "base_volume": "0",
    "quote_volume": "0"
  },
...

24hvolume

GET https://api-gw.quantadex.com/mainnet/api/24hvolume

Returns the 24-hour volume for all markets as well as totals for primary currencies.

{
  "ETH/BTC": {
    "ETH": "0",
    "BTC": "0"
  },
  "LTC/BTC": {
    "LTC": "0",
    "BTC": "0"
  },
...

orderbook

GET https://api-gw.quantadex.com/mainnet/api/orderbook?currencyPair=QDEX_ETH&depth=50

Returns the order book for a given market. You may set currencyPair to "all" to get the order books of all markets.

Query Parameters

{
  "QDEX/ETH": {
    "bids": [
      [
        "0.0000005",
        "500000"
      ],
      [
        "0.000001",
        "80000"
      ],
...
      [
        "0.00000201",
        "15000"
      ],
      [
        "0.0000301100000225559",
        "0.33211"
      ]
    ],
    "asks": [
      [
        "0.000266533185314408",
        "504.44000"
      ],
      [
        "0.0002665848214285714",
        "434.94600"
      ],
...

tradehistory

GET https://api-gw.quantadex.com/mainnet/api/tradehistory?currencyPair=QDEX_BTC

Returns the past 100 trades for a given market.

Request Body

[
  {
    "date": "2019-07-21T12:38:28.000Z",
    "type": "sell",
    "price": 0.00003011,
    "amount": 1673.8625,
    "total": 0.050399999875000004
  },
  {
    "date": "2019-07-19T00:24:38.000Z",
    "type": "sell",
    "price": 0.00003011,
    "amount": 2270.00996,
    "total": 0.0683499998956
  },
...

chartdata

GET https://api-gw.quantadex.com/mainnet/api/chartdata?currencyPair=QDEX_ETH&period=86400&start=2019-04-08T00:00:00&end=2019-07-01T00:00:00

Returns candlestick chart data.

Query Parameters

[
  {
    "time": 1554768000000,
    "open": 0.0001,
    "high": 0.0001,
    "low": 0.0001,
    "close": 0.0001,
    "volume": 30
  },
  {
    "time": 1556064000000,
    "open": 0.00007539772298876575,
    "high": 0.00009165230780511054,
    "low": 0.00007539772298876575,
    "close": 0.00009165230780511054,
    "volume": 0.67817
  },
...

Last updated