GET /v2/order-book/bito_usdt HTTP/1.1
Accept-Encoding: gzip, deflate
Host: api.bitopro.com
User-Agent: Python-urllib/3.7
Connection: close
HTTP/1.1 200 OK
Date: Tue, 30 Apr 2019 14:45:15 GMT
Content-Type: application/json; charset=UTF-8
Connection: close
Vary: Origin
Content-Length: 3848
{
"bids": [
{
"price": "0.0161",
"amount": "70900.62111801",
"count": 1,
"total": "70900.62111801"
},
<.. SNIPPED ..>
],
"asks": [
{
"price": "0.0284",
"amount": "10000",
"count": 1,
"total": "10000"
},
<.. SNIPPED ..>
]
}
GET /v2/tickers HTTP/1.1
Accept-Encoding: gzip, deflate
Host: api.bitopro.com
User-Agent: Python-urllib/3.7
Connection: close
HTTP/1.1 200 OK
Date: Tue, 30 Apr 2019 14:47:11 GMT
Content-Type: application/json; charset=UTF-8
Connection: close
Vary: Origin
Content-Length: 8459
{
"data": [
{
"pair": "xem_btc",
"lastPrice": "0.00000098",
"isBuyer": false,
"priceChange24hr": "0",
"volume24hr": "0.00000000",
"high24hr": "0.00000098",
"low24hr": "0.00000098"
},
{
"pair": "bch_eth",
"lastPrice": "0.60010000",
"isBuyer": false,
"priceChange24hr": "0",
"volume24hr": "0.00000000",
"high24hr": "0.60010000",
"low24hr": "0.60010000"
},
{
"pair": "eth_usdt",
"lastPrice": "158.96000000",
"isBuyer": true,
"priceChange24hr": "2.5",
"volume24hr": "58.77322900",
"high24hr": "159.13000000",
"low24hr": "155.00000000"
},
<.. SNIPPED ..>
]
}
Get tickers (Single Pair)
GET /v2/tickers/bito_usdt HTTP/1.1
Accept-Encoding: gzip, deflate
Host: api.bitopro.com
User-Agent: Python-urllib/3.7
Connection: close
HTTP/1.1 200 OK
Date: Tue, 30 Apr 2019 14:48:57 GMT
Content-Type: application/json; charset=UTF-8
Content-Length: 203
Connection: close
Vary: Origin
{
"data": {
"pair": "bito_usdt",
"lastPrice": "0.02780000",
"isBuyer": false,
"priceChange24hr": "0",
"volume24hr": "6559.21855899",
"high24hr": "0.02780000",
"low24hr": "0.02780000"
}
}
GET /v2/trades/bito_usdt HTTP/1.1
Accept-Encoding: gzip, deflate
Host: api.bitopro.com
User-Agent: Python-urllib/3.7
Connection: close
HTTP/1.1 200 OK
Date: Tue, 30 Apr 2019 15:03:40 GMT
Content-Type: application/json; charset=UTF-8
Connection: close
Vary: Origin
Content-Length: 11225
{
"data": [
{
"timestamp": 1556602186,
"price": "0.02780000",
"amount": "3000.00000000",
"isBuyer": false
},
{
"timestamp": 1556590493,
"price": "0.02780000",
"amount": "3559.21855899",
"isBuyer": false
},
{
"timestamp": 1556531644,
"price": "0.02780000",
"amount": "560.43165467",
"isBuyer": true
},
<.. SNIPPED ..>
]
}
GET /v2/accounts/balance HTTP/1.1
Accept-Encoding: gzip, deflate
Host: api.bitopro.com
User-Agent: Python-urllib/3.7
X-Bitopro-Apikey: 0123456789abcdef0123456789abcdef
X-Bitopro-Payload: eyJpZGVudGl0eSI6ICJqb2huLmRvZUBnbWFpbC5jb20iLCAibm9uY2UiOiAxNTU2NjM1ODQ4NzcwfQ==
X-Bitopro-Signature: 87edf256a21c346df87af4933ef612e33fa3953af3c9c7dbeaff1cb77287e3383b6f4d67f35ec2ac185ee833ce36d67a
Connection: close
HTTP/1.1 200 OK
Date: Tue, 30 Apr 2019 14:50:49 GMT
Content-Type: application/json; charset=UTF-8
Content-Length: 2012
Connection: close
Vary: Origin
{
"data": [
{
"currency": "btc",
"amount": "0",
"available": "0",
"stake": "0"
},
{
"currency": "bito",
"amount": "0",
"available": "0",
"stake": "0"
},
{
"currency": "usdt",
"amount": "1000",
"available": "980",
"stake": "0"
},
<.. SNIPPED ..>
]
}
GET /v2/orders/history HTTP/1.1
Accept-Encoding: gzip, deflate
Host: api.bitopro.com
User-Agent: Python-urllib/3.7
X-Bitopro-Apikey: 0123456789abcdef0123456789abcdef
X-Bitopro-Payload: eyJpZGVudGl0eSI6ICJqb2huLmRvZUBnbWFpbC5jb20iLCAibm9uY2UiOiAxNTU2NjM1ODQ4NzcwfQ==
X-Bitopro-Signature: bd8ba1dd83216f07e16e8e5ed2f0277502a66dc1c22ab92699bca0359dc0abf13cc4383945f768734517c8a9ce0d5fac
Connection: close
HTTP/1.1 200 OK
Date: Tue, 30 Apr 2019 14:53:48 GMT
Content-Type: application/json; charset=UTF-8
Content-Length: 3
Connection: close
Vary: Origin
{}
GET /v2/orders/bito_usdt?page=1&active=True HTTP/1.1
Accept-Encoding: gzip, deflate
Host: api.bitopro.com
User-Agent: Python-urllib/3.7
X-Bitopro-Apikey: 0123456789abcdef0123456789abcdef
X-Bitopro-Payload: eyJpZGVudGl0eSI6ICJqb2huLmRvZUBnbWFpbC5jb20iLCAibm9uY2UiOiAxNTU2NjM1ODQ4NzcwfQ==
X-Bitopro-Signature: 810b5ed9cace65d33b8aa5dbabaf148e854123a75a964fbc72e8fec91350fea9ca0e51518f7f44a303a36d0d7e29c018
Connection: close
HTTP/1.1 200 OK
Date: Tue, 30 Apr 2019 14:55:27 GMT
Content-Type: application/json; charset=UTF-8
Content-Length: 445
Connection: close
Vary: Origin
{
"data": [
{
"id": "1642149392",
"pair": "bito_usdt",
"price": "0.00010000",
"avgExecutionPrice": "0.00000000",
"action": "buy",
"type": "limit",
"timestamp": 1556634038000,
"status": 0,
"originalAmount": "200000.00000000",
"remainingAmount": "200000.00000000",
"executedAmount": "0.00000000",
"fee": "0.00000000",
"feeSymbol": "BITO",
"bitoFee": "0.00000000"
}
],
"page": 1,
"totalPages": 1
}
POST /v2/orders/bito_usdt HTTP/1.1
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 101
Host: api.bitopro.com
User-Agent: Python-urllib/3.7
X-Bitopro-Apikey: 0123456789abcdef0123456789abcdef
X-Bitopro-Payload: eyJhY3Rpb24iOiAiYnV5IiwgImFtb3VudCI6ICIyMDAwMDAiLCAicHJpY2UiOiAiMC4wMDAxIiwgInRpbWVzdGFtcCI6IDE1NTY2MzYzNjI4NzEsICJ0eXBlIjogImxpbWl0In0=
X-Bitopro-Signature: d66f40a2768bc215bb939b11bed8c32eccce7334d97f08e891d3791b31b496df9ca2bc0e53100a4eea1a7740031ccc62
Connection: close
{"action": "buy", "amount": "200000", "price": "0.0001", "timestamp": 1556636362871, "type": "limit"}
HTTP/1.1 200 OK
Date: Tue, 30 Apr 2019 14:59:23 GMT
Content-Type: application/json; charset=UTF-8
Content-Length: 117
Connection: close
Vary: Origin
{
"orderId": "6519007786",
"timestamp": 1556636363000,
"action": "BUY",
"amount": "200000",
"price": "0.0001"
}
DELETE /v2/orders/bito_usdt/6519007786 HTTP/1.1
Accept-Encoding: gzip, deflate
Host: api.bitopro.com
User-Agent: Python-urllib/3.7
X-Bitopro-Apikey: 0123456789abcdef0123456789abcdef
X-Bitopro-Payload: eyJpZGVudGl0eSI6ICJqb2huLmRvZUBnbWFpbC5jb20iLCAibm9uY2UiOiAxNTU2NjM1ODQ4NzcwfQ==
X-Bitopro-Signature: f042f701f4c4384ef0beff3a437ba174dbab04a10915ac33fd56471867126344b7e8fc2ae10abb5d90a53be7efd4a7c6
Connection: close
HTTP/1.1 200 OK
Date: Tue, 30 Apr 2019 15:06:14 GMT
Content-Type: application/json; charset=UTF-8
Content-Length: 117
Connection: close
Vary: Origin
{
"orderId": "6519007786",
"action": "BUY",
"timestamp": 1556636774000,
"price": "0.0001",
"amount": "200000"
}
GET /v2/orders/bito_usdt/6519007786 HTTP/1.1
Accept-Encoding: gzip, deflate
Host: api.bitopro.com
User-Agent: Python-urllib/3.7
X-Bitopro-Apikey: 0123456789abcdef0123456789abcdef
X-Bitopro-Payload: eyJpZGVudGl0eSI6ICJqb2huLmRvZUBnbWFpbC5jb20iLCAibm9uY2UiOiAxNTU2NjM1ODQ4NzcwfQ==
X-Bitopro-Signature: 2337cc3c500aed7662b309b56abb49743bc0c1b70629514cffdf2b53940d2e7ca42a9a083799fd2d9fbfccf4c8f592b3
Connection: close
HTTP/1.1 200 OK
Date: Tue, 30 Apr 2019 15:07:54 GMT
Content-Type: application/json; charset=UTF-8
Content-Length: 365
Connection: close
Vary: Origin
{
"id": "6519007786",
"pair": "bito_usdt",
"price": "0.00010000",
"avgExecutionPrice": "0.00000000",
"action": "buy",
"type": "limit",
"timestamp": 1556636775000,
"status": 4,
"originalAmount": "200000.00000000",
"remainingAmount": "200000.00000000",
"executedAmount": "0.00000000",
"fee": "0.00000000",
"feeSymbol": "BITO",
"bitoFee": "0.00000000"
}