RESTful API for Brane Project.
BraneHub actually retrieves information directly from cryptocurrency exchanges (i.e. Kraken, Bitstamp and BL3P) to compute data. This is however a proof of concept, in the future BraneHub will not compute any data but only forward data computed by Brane's tools (Bitcoin.jl to start with).
HTTP
https://api.brane.cc
/<version>/<callname>/<market>
Version of API (is currently: 0)
<version> = 0
Name of call (for example: "ticker")
<callname> = $callname
Market that the call will be applied to.
<market> = "btceur"
Passing any GET parameters, will result in your request being rejected.
Type | URI | Definition |
---|---|---|
GET | https://api.brane.cc/0/ticker/{currency_pair} | Supported values for currency_pair: any six letter combination supported by one or several of connected exchanges. |
Field | Definition |
---|---|
market | Actual market |
vwap | Volume weighted average price of exchanges' last reported price |
Input:
URL: https://api.brane.cc/0/ticker/btcusd
Result:
{"market":"BTCUSD","vwap":10120.259}
Donate Bitcoin