API

Key
Created at
Action

CoinDeal provides very useful API, which allows you to automate the trading on our exchange platform.

How to use CoinDeal API:

  • make sure your account is fully verified
  • click button “Create new pair of keys” to generate your keys
  • write down your private key
  • follow the instructions from API documentation

Tips:

Type of Authorization:

Basic Auth

Basic base64_encode(username:password)

Where:

username = public key

password = private key

Example of encoded authorization header:

Key: Authorization

Value: Basic NzY5YTyho0mItMmJlOC00YjYzLW52jk09sFhZmU0MjYyYmU3Mw==

If you have any questions about CoinDeal API, contact our support team.

Limits:

80 requests per second per one IP

* Use only official API not the backend one used by the website - you will be banned if you will abuse this API

Public Data:

  • WebSocket API documentation:

    [PDF]

  • Ticker:

Endpoint: /ticker

Method: GET

Example: https://coinmarketcap.coindeal.com/api/v1/ticker

Description: This function provides public tick data. This information offers high level overview of the current statistics of all markets available at Coindeal exchange.

Returns

Field Data type Description
id integer id of currency pair
last string latest transaction in last 24 hours
lowestAsk string lowest offer of Sell within 24h
highestBid string highest offer of Buy within 24h
percentChange string calculation based on first and last transaction in last 24 hours
baseVolume string volume of trades in base currency
quoteVolume string volume of trades in quote currency
isFrozen string not defined, the value of this fields is set to 0
high24hr string highest transaction in last 24 hours
low24hr string lowest transaction in last 24 hours

On success it returns array with status code 200

On error it returns empty array with status code 500

Sample response


                    
    {
        "LTC_BTC":{
            "id":7,
            "last":"0.00000036",
            "lowestAsk":"0.00000036",
            "highestBid":"0.00000035",
            "percentChange":"-0.02702702",
            "baseVolume":"28.32514384",
            "quoteVolume":"81266117.90724485",
            "isFrozen":"0",
            "high24hr":"0.00000037",
            "low24hr":"0.00000033"
        }
    }