BEEB API


Fetch the latest BlackBytes price:

Request: http://www.beeb-bot.com/API_request.php?f=BB
Returns (in JSON format): [{"id":"BlackBytes","name":"Byteball BlackBytes","symbol":"GBBYTE","volume":2.425,"price_gbyte":0.0347,"timestamp":1505493542}]
Where:
  • price_MB: is the weighted average price in MB of BEEB last 3 trades.
  • volume: is the total volume in MBB of BEEB last 3 trades.
  • timestamp: is the UTC unix timestamp of the last known price.


Fetch the latest traded price and spot market info based upon it:

Request: http://www.beeb-bot.com/API_request.php?f=last
Returns (in JSON format): [{"id":"BlackBytes","name":"Byteball BlackBytes","symbol":"GBBYTE","price_gbyte":0.035,"vol":1,"price_usd":7.9122,"price_btc":0.00234058,"24h_vol":2,"available_supply":1232662.8456,"total_supply":"2111100","market_cap_usd":9753038,"last":"2017-09-14 19:01:26"}]
Where:
  • price_gbyte: is the price in GB of the last trade.
  • volume: is the total volume in GBB of the last trade.
  • last: is the UTC date of the last known price.


Fetch the current best Ask price and volume:

Request: http://www.beeb-bot.com/API_request.php?f=best_ask
Returns (in JSON format): [{"best_ask":0.05,"best_ask_vol":100000}]
Where:
  • best_ask: is the price.
  • best_ask_vol: in MBB.


Fetch the current best Bid price and volume:

Request: http://www.beeb-bot.com/API_request.php?f=best_bid
Returns (in JSON format): [{"best_bid":0.05,"best_ask_vol":200000}]
Where:
  • best_bid: is the price.
  • best_bid_vol: in MBB.


Fetch the full market history:

Request: http://www.beeb-bot.com/API_request.php?f=market_history
Returns the full market history (in JSON format).
Where:
  • p: is the price.
  • v: is the volume (in MBB).
  • t: is the UTC unix timestamp of the trade.