Skip to content
Delta Exchange API Documentation
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md

README.md

Delta Exchange Public Rest API

You can use Delta Exchange API to build tickers, price comparison apps, or anything that helps the crypto community.

General Information

  1. Base API Endpoint: https://publicapi.deltaexchange.io
  2. All public api will return either JSON or Array object.

Public API Endpoints

  1. MARKET STATUS

    GET /v1/market-status Live link

    "Market Status" will give your an overview of markets and assets. This is helpful when you want to track the configuration of our markets, track fees or status of withdrawal deposit, market configuration and more. This response is not recommended for price polling because accurate realtime price is not guaranteed as there could be some delays. We recommend using price ticker API for all price tracking activity.

    Response object will have 2 keys markets(all market related configs will be in this key) and assets(all assets related configs will be here).

    Response:

    {
        "markets": [
            {
                "baseMarket": "BTC",
                "quoteMarket": "USDT",
                "fee": 0.01,
                "basePrecision": 7,
                "quotePrecision": 7,
                "low": "9693.6717629",
                "high": "10431.4637213",
                "last": "9999.2529977",
                "open": "10295.4978845",
                "volume": "4732.7484362",
                "sell": "9999.2563541",
                "buy": "9999.2529977",
                "type": "SPOT",
                "Status": "active",
                "at": 1568486791
            },
            ...
        ],
        "assets": [
            {
                "type": "BTC",
                "name": "Bitcoin",
                "withdrawFee": "0.1",
                "minWithdrawAmount": "0.002",
                "deposit": "enabled",
                "withdrawal": "enabled"   
            },
            ...
        ]
    }
    
    1. markets key has multiple market related configuration, and description of every field in market is as below:

      1. baseMarket: ticker code of base asset
      2. quoteMarket: ticker code of quote asset
      3. fee: JSON Object consists of bid and ask order's maker-taker fee percentage
      4. basePrecision: Maximum precision of base asset, this the decimal point.
      5. quotePrecision: Maximum precision of quote asset
      6. low: 24 hrs lowest price of base asset
      7. high: 24 hrs highest price of base asset
      8. last: Last traded price in current market
      9. open: Market Open price 24hrs ago
      10. volume: Last 24hrs traded volume
      11. sell: Top ask order price
      12. buy: Top bid order price
      13. type: This defines the type of market, currently we have SPOT and P2P
      14. status: This defines the current state of the market. This can be active or suspended
      15. at: Last timestamp
    2. assets key have multiple asset related configuration as described below:

      1. type: asset code
      2. name: Display name of asset
      3. withdrawFee: Withdrawal fee of asset
      4. minWithdrawAmount: Minimum withdrawal amount in a single transaction
      5. deposit: Denotes whether deposit is enabled or disabled
      6. withdrawal: Denotes whether withdrawal is enabled or disabled
  2. MARKET TICKER

    GET /v1/tickers Live link

    Get the latest market heart-beat for all the markets for the last 24hrs.

    Returns JSON response which has active market data with all ticker related values.

    Response:

    {
        "BTCUSDT": {
            "base_unit": "BTC",
            "quote_unit": "USDT",
            "low": "9693.6717629",
            "high": "10431.4637213",
            "last": "10008.4163763",
            "type": "SPOT",
            "open": "10295.9579369",
            "volume": "4737.8742200",
            "sell": "10017.9712866",
            "buy": "10008.4163763",
            "at": "1568486940",
            "name": "BTC/USDT"
        },
        ...
    }
    

    Response has multiple key which denotes market data, this is in JSON. Find all the fields below:

    1. base_unit: ticker code of base market
    2. quote_unit: ticker code of quote asset
    3. low: 24 hrs lowest price of base asset
    4. high: 24 hrs highest price of base asset
    5. last: Last traded price in current market
    6. open: Market Open price 24hrs ago
    7. volume: Last 24hrs traded volume
    8. sell: Top ask order price
    9. buy: Top bid order price
    10. at: Timestamp when ticker information is fetched
    11. name: Display text of market
  3. MARKET DEPTH

    GET /v1/depth Live link

    Get market orderbook of any market

    Returns JSON response which has order book of a perticular market

    Response:

    {
    "timestamp":1559561187,
    "asks":[
               ["9999.2563541","0.0000520"],
               ["9999.3111512","0.0001795"]
           ],
    "bids":[
               ["9936.5872237","0.0001540"],
               ["9936.5866086","0.0000863"]
           ]
    }
    
    1. ["9999.2563541","0.0000520"] : [ PRICE, VOLUME ]
    2. URL param market=BTCUSDT : Replace this with any market to get the desired order book.
  4. MARKET TRADE HISTORY

    GET /v1/trades Live link

    Get trade history of a market

    Returns JSON response which has trade history of a perticular market

    Response:

    [
      {
          "price": "10017.6818188",
          "volume": "0.0001450",
          "funds": "1.4525639",
          "market": "BTCUSDT",
          "created_at": "2019-09-21T16:18:31.000Z"
       }  
    ...
    ]
    
    1. URL param market=BTCUSDT : Replace this with any market to get the desired order book.

If you have any questions regarding APIs, please reach out to us at support@deltaexchange.io

You can’t perform that action at this time.