Bittrex API - LabMazurokCom/Blockchain GitHub Wiki

Intro

Website: https://bittrex.com/

Documentation: https://support.bittrex.com/hc/en-us/articles/115003723911-Developer-s-Guide-API

Limits: 500 open orders and 200,000 orders a day

Fee used in bot: 0.25% (maker and taker)

List of symbols

https://bittrex.com/api/v1.1/public/getmarkets

Order book

https://bittrex.com/api/v1.1/public/getorderbook?market=BTC-LTC&type=both

Request keys

Parameter Required Description
market required a string literal for the market (ex: BTC-LTC)
type required buy, sell or both to identify the type of orderbook to return

Response

{
	"success" : true,
	"message" : "",
	"result" : {
		"buy" : [{
				"Quantity" : 12.37000000,
				"Rate" : 0.02525000
			}
		],
		"sell" : [{
				"Quantity" : 32.55412402,
				"Rate" : 0.02540000
			}, {
				"Quantity" : 60.00000000,
				"Rate" : 0.02550000
			}, {
				"Quantity" : 60.00000000,
				"Rate" : 0.02575000
			}, {
				"Quantity" : 84.00000000,
				"Rate" : 0.02600000
			}
		]
	}
}

Ticker

https://bittrex.com/api/v1.1/public/getticker?market=BTC-LTC

Parameter market is required

Response

{
	"success" : true,
	"message" : "",
	"result" : {
		"Bid" : 2.05670368,
		"Ask" : 3.35579531,
		"Last" : 3.35579531
	}
}