API
API
- Trade Pairs (GET)
- Return all pairs available in the site
- https://bitrota.com/api/available_pairs
- Response Example
{ "status": "1", "message": "Success", "combinations": ["EER_TRY","GNC_TRY","XMD_ETH","XMD_BTC","XMD_TRY","ETH_TRY","BTC_ETH","BTC_TRY"] }
- Tickers (GET)
- Returns the latest ticker indicators for all available pairs
- https://bitrota.com/api/tickers
- Response Example
{ "status": "1", "message": "Success", "combinations": { "XMD_ETH": { "pair": "XMD_ETH", "last": "0.00011355", "lowestAsk": "0.0001268", "highestBid": "0.00011355", "percentChange": "11.32", "base24hrVolume": "185567.51500098", "quote24hrVolume": "21.61545699", "low24hr": "0.00011351", "high24hr": "0.0001264" }, "XMD_TRY": { "pair": "XMD_TRY", "last": "0.18", "lowestAsk": "0.19", "highestBid": "0.18", "percentChange": "5.56", "base24hrVolume": "4306832.09812532", "quote24hrVolume": "826459.52", "low24hr": "0.18", "high24hr": "0.2" } } }
- Ticker (GET)
- Returns the latest ticker indicators for requested pair
- https://bitrota.com/api/ticker/{pair}
- Available Tickers
- https://bitrota.com/api/ticker/XRP_USDT
- https://bitrota.com/api/ticker/BTC_USDT
- https://bitrota.com/api/ticker/ETH_USDT
- https://bitrota.com/api/ticker/DOGE_USDT
- https://bitrota.com/api/ticker/TLNT_TRX
- https://bitrota.com/api/ticker/ZERO_USDT
- https://bitrota.com/api/ticker/TRX_TRY
- https://bitrota.com/api/ticker/TLNT_BTC
- https://bitrota.com/api/ticker/ROTA_USDT
- https://bitrota.com/api/ticker/TLNT_USDT
- https://bitrota.com/api/ticker/MAXI_ETH
- https://bitrota.com/api/ticker/TLNT_ETH
- https://bitrota.com/api/ticker/BTC_ETH
- Response Example
{ "status": "1", "message": "Success", "combinations": { "pair": "XMD_ETH", "last": "0.00011355", "lowestAsk": "0.0001268", "highestBid": "0.00011355", "percentChange": "11.32", "base24hrVolume": "185567.51500098", "quote24hrVolume": "21.61545699", "low24hr": "0.00011351", "high24hr": "0.0001264" } }
- 24 Hr Volume (GET)
- Returns the latest ticker indicators for requested pairx
- https://bitrota.com/api/volume24
- Response Example
{ "status": "1", "message": "Success", "combinations": { "XMD_BTC": { "XMD": "0.00000000", "BTC": "0.00000000" }, "XMD_TRY": { "XMD": "4306832.09812532", "TRY": "826459.52" } } }
- Order Book (GET)
- Returns a list of the top bids and asks in the order book
- https://bitrota.com/api/order_book/{pair}
- Available Pairs
- https://bitrota.com/api/order_book/XRP_USDT
- https://bitrota.com/api/order_book/BTC_USDT
- https://bitrota.com/api/order_book/ETH_USDT
- https://bitrota.com/api/order_book/DOGE_USDT
- https://bitrota.com/api/order_book/TLNT_TRX
- https://bitrota.com/api/order_book/ZERO_USDT
- https://bitrota.com/api/order_book/TRX_TRY
- https://bitrota.com/api/order_book/TLNT_BTC
- https://bitrota.com/api/order_book/ROTA_USDT
- https://bitrota.com/api/order_book/TLNT_USDT
- https://bitrota.com/api/order_book/MAXI_ETH
- https://bitrota.com/api/order_book/TLNT_ETH
- https://bitrota.com/api/order_book/BTC_ETH
- Response Example
{ "status": "1", "message": "Success", "asks": [ [ "545328.92818861", "0.18" ], [ "541740.71331730", "0.17" ] ], "bids": [ [ "467528.81508465", "0.19" ], [ "989134.12544743", "0.2" ] ] }
- Trade History (GET)
- Returns a list of the most recent trades. At most 500 results are returned per call
- https://bitrota.com/api/trade_history/{pair}
- Available Pairs
- https://bitrota.com/api/trade_history/XRP_USDT
- https://bitrota.com/api/trade_history/BTC_USDT
- https://bitrota.com/api/trade_history/ETH_USDT
- https://bitrota.com/api/trade_history/DOGE_USDT
- https://bitrota.com/api/trade_history/TLNT_TRX
- https://bitrota.com/api/trade_history/ZERO_USDT
- https://bitrota.com/api/trade_history/TRX_TRY
- https://bitrota.com/api/trade_history/TLNT_BTC
- https://bitrota.com/api/trade_history/ROTA_USDT
- https://bitrota.com/api/trade_history/TLNT_USDT
- https://bitrota.com/api/trade_history/MAXI_ETH
- https://bitrota.com/api/trade_history/TLNT_ETH
- https://bitrota.com/api/trade_history/BTC_ETH
- Response Example
{ "status": "1", "message": "Success", "trade_history": [ { "date": "2020-06-19 12:54:16", "type": "Sell", "rate": "0.00011355", "amount": "60000", "total": 6.813 }, { "date": "2020-06-19 10:36:39", "type": "Sell", "rate": "0.00012199", "amount": "25377", "total": 3.09574023 }, { "date": "2020-06-19 10:32:49", "type": "Buy", "rate": "0.000121", "amount": "8000", "total": 0.968 } ] }