API

Public API

All requests go over https protocol, The field 'contentType' in request header should be: 'application/x-www-form-urlencoded'. The root url is: https://api.bithumbsg.com/public In case of any problem, please contact our support team.

Please note that making more than 10 calls per second to the public API, or repeatedly and needlessly fetching excessive amounts of data, can result in your IP being banned. There are public methods, all of which take HTTP GET requests and return output in JSON format:

ticker

Returns the ticker for all markets. Sample output:

{
  "market":
    {
      "BTC_ETH":
        {
          "last":  "0.03752222",
          "ask":  "0.03760001",
          "bid":  "0.03660009",
          "percentChange":  "2.52",
          "volume24h":  "1345.12000000"
        },
      "BTC_ETC":
        {...},
      "BTC_LTC":
        {...}
    }
}

Call: https://api.bithumbsg.com/public/ticker

orderBook

Returns the buy/sell order for all markets, buy/sell:[price,amount,total] Sample output:

{
  "BTC_ETH":
      {
        "buy":
          [
            [0.03199998,129.99,4.15999739],
            [0.03129998,77.12458475,2.41399796],
            [0.03,200,6]
          ],
        "sell":
          [
            [0.032,170.99,12.8],
            [0.041,74.98,3.07418],
            [0.0415,10,0.415],
            [0.08,500,40],
            [0.1,1011,101.1]
          ]
      },
  "BTC_LTC":
      {...}
}

Call: https://api.bithumbsg.com/public/orderbook

tradeHistory

Returns the past 20 trades for a given market Sample output:

{
  "BTC_ETH":
  [
    [179339,"sell",0.03199998,0.01,"2017-08-14 02:22:09",0.00032],
    [179338,"buy",0.032,0.01,"2017-08-14 02:21:48",0.00032],
    [179337,"buy",0.032,0.01,"2017-08-14 02:21:42",0.00032],
    [179336,"buy",0.032,0.01,"2017-08-14 02:21:37",0.00032]
  ],
  "BTC_LTC":
  [
    ...
  ]
}

Call: https://api.bithumbsg.com/public/tradehistory

Private API

coming soon.