Loader

NickelBot

Cryptocurrency platform in the cloud

Burstcoin Wallet Address:


This is a home of NickelBot. NickelBot wants many homes. NickelBot does stuff with digital currencies. Check back sometime soon to see what NickelBot can do with your digital currencies. NickelBot should have more abilities to share with you! Contact Adam.Cox9@gmail.com with questions. Here this is on https://bitcointalk.org/index.php?topic=1420693.0. NickelBot is always at http://www.nickelbot.com/.

Referral Promos: Coinbase | CEX.IO | LocalBitcoins | gate.io | Changelly | YoBit | Bitshares

Super Trollbox

YoBit
Loading...
r/bitcoin
Loading...

Cryptocurrency API docs

exchanges - an array of all connected exchanges.
<?PHP
foreach( $Adapters as $Adapter ) {
echo get_class( $Adapter ) . "\n<br>";
}
?>
["Bitstamp","Bitfinex","Btce","Coinbase","Poloniex","Bter","Bittrex"]
api/index.php?action=exchanges
load exchanges
get_currencies - an array of all currencies BTC, LTC, BTC-USD, etc...
<?PHP
foreach( $Adapter->get_currencies() as $currency ) {
echo "$currency\n<br>";
}
?>
{"BitfinexAdapter":["USD","BTC","LTC","ETH"]}
api/index.php?exchange=Bitfinex&action=get_currencies
api/index.php?exchange=Bitstamp&action=get_currencies
api/index.php?exchange=Bittrex&action=get_currencies
api/index.php?exchange=Btce&action=get_currencies
api/index.php?exchange=Bter&action=get_currencies
api/index.php?exchange=Coinbase&action=get_currencies
api/index.php?exchange=Poloniex&action=get_currencies
load currencies
get_markets - an array of all markets BTC-LTC, BTC-USD, etc...
Base currency and quote currency - some examples only to clarify:
example 1: (if market is BTC-USD) buying BTC with USD - BTC is base and USD is quote
example 2: (if market is BTC-USD) selling BTC for USD - BTC is base and USD is quote
example 3: (if market is USD-BTC) buying USD with BTC - USD is base and BTC is quote
example 4: (if market is USD-BTC) selling USD for BTC - USD is base and BTC is quote
example 5: (if market is XMR-BTC) buying XMR with BTC - XMR is base and BTC is quote
example 6: (if market is XMR-BTC) selling XMR for BTC - XMR is base and BTC is quote
<?PHP
foreach( $Adapter->get_markets() as $market ) {
echo "$market\n<br>";
}
?>
{"BtceAdapter":["BTC-USD","BTC-RUR","BTC-EUR","LTC-BTC","LTC-USD","LTC-RUR","LTC-EUR","NMC-BTC","NMC-USD","NVC-BTC","NVC-USD","USD-RUR","EUR-USD","EUR-RUR","PPC-BTC","PPC-USD"]}
api/index.php?exchange=Bitfinex&action=get_markets
api/index.php?exchange=Bitstamp&action=get_markets
api/index.php?exchange=Bittrex&action=get_markets
api/index.php?exchange=Btce&action=get_markets
api/index.php?exchange=Bter&action=get_markets
api/index.php?exchange=Coinbase&action=get_markets
api/index.php?exchange=Poloniex&action=get_markets
load markets
deposit_addresses - get deposit addresses for an exchange.
<?PHP
foreach( $Adapter->deposit_addresses() as $deposit_address ) {
echo "$deposit_address\n<br>";
}
?>
{"BitfinexAdapter":[{"currency":"BTC","address":"39Zcne5PpTg7LX5NhgfaQU96RXGpVRRGeb","wallet_type":"exchange"},{"currency":"BTC","address":"3Jv5nUVeqNQwVtJjJg23e2B5NSjSRkZGrQ","wallet_type":"deposit"},{"currency":"BTC","address":"384Lyvm28TkW8zcSv1JwQL4vSomSZ6ckkJ","wallet_type":"trading"},{"currency":"LTC","address":"LaQeH5D6ayTBAEgDdkNUwsojqFkbjLRMrk","wallet_type":"exchange"},{"currency":"LTC","address":"LUjAXwLbV7APXM6SczZrHqvMBZcQNyE6ua","wallet_type":"deposit"},{"currency":"LTC","address":"LhSQnxoh1ieuJfLgaZ1gE2YfTm8ANrxYvg","wallet_type":"trading"},{"currency":"ETH","address":"0x01831c027e269557926b0c376e8fe9ccc069efa3","wallet_type":"exchange"}]}
api/index.php?exchange=Bitfinex&action=deposit_addresses
api/index.php?exchange=Bitstamp&action=deposit_addresses
api/index.php?exchange=Bittrex&action=deposit_addresses
api/index.php?exchange=Btce&action=deposit_addresses
api/index.php?exchange=Bter&action=deposit_addresses
api/index.php?exchange=Coinbase&action=deposit_addresses
api/index.php?exchange=Poloniex&action=deposit_addresses
load deposit addresses
buy - create a buy order.
<?PHP
$Adapter->buy( $pair='LTC-BTC', $amount="0.01", $price="0.01", $type="LIMIT", $opts=array() );
?>
under construction
api/index.php?exchange=Bitfinex&action=buy&market=BTC-USD&price=404&amount=0.011
api/index.php?exchange=Bitstamp&action=buy&market=BTC-USD&price=404&amount=0.011
api/index.php?exchange=Bittrex&action=buy&market=XMR-BTC&price=404&amount=0.011
api/index.php?exchange=Btce&action=buy&market=BTC-USD&price=404&amount=0.011
api/index.php?exchange=Bter&action=buy&market=XMR-BTC&price=404&amount=0.011
api/index.php?exchange=Coinbase&action=buy&market=BTC-USD&price=404&amount=0.011
api/index.php?exchange=Poloniex&action=buy&market=ETH-BTC&price=404&amount=0.011
under construction
sell - create a sell order.
<?PHP
$Adapter->sell( $pair='LTC-BTC', $amount="0.01", $price="1344.23", $type="LIMIT", $opts=array() );
?>
under construction
api/index.php?exchange=Bitfinex&action=sell&market=BTC-USD&price=444&amount=0.011
api/index.php?exchange=Bitstamp&action=sell&market=BTC-USD&price=444&amount=0.011
api/index.php?exchange=Bittrex&action=sell&market=DOGE-BTC&price=444&amount=0.011
api/index.php?exchange=Btce&action=sell&market=BTC-USD&price=444&amount=0.011
api/index.php?exchange=Bter&action=sell&market=XMR-BTC&price=444&amount=0.011
api/index.php?exchange=Coinbase&action=sell&market=BTC-USD&price=444&amount=0.011
api/index.php?exchange=Poloniex&action=sell&market=ETH-BTC&price=444&amount=0.011
under construction
cancel - cancel one order.
<?PHP
$Adapter->cancel( $order_id = 1, $opts = array() );
?>
under construction
api/index.php?exchange=Bitfinex&action=cancel&id=1
api/index.php?exchange=Bitstamp&action=cancel&id=2
api/index.php?exchange=Bittrex&action=cancel&id=3
api/index.php?exchange=Btce&action=cancel&id=4
api/index.php?exchange=Bter&action=cancel&id=5
api/index.php?exchange=Coinbase&action=cancel&id=6
api/index.php?exchange=Poloniex&action=cancel&id=7
load open orders to cancel
cancel_all - cancel all orders.
<?PHP
$Adapter->cancel_all( $order_id = 1, $opts = array() );
?>
{"BitfinexAdapter":{"success":false,"error":true,"message":{"result":"No order cancellations processed"}}}
api/index.php?exchange=Bitfinex&action=cancel_all
api/index.php?exchange=Bitstamp&action=cancel_all
api/index.php?exchange=Bittrex&action=cancel_all
api/index.php?exchange=Btce&action=cancel_all
api/index.php?exchange=Bter&action=cancel_all
api/index.php?exchange=Coinbase&action=cancel_all
api/index.php?exchange=Poloniex&action=cancel_all
click to load exchanges to cancel all
get_open_orders - get all open orders on an exchange.
<?PHP
foreach( $Adapter->get_open_orders() as $open_order ) {
print_r( $open_order );
}
?>
{"BitfinexAdapter":[{"id":698269048,"exchange":"bitfinex","price":"393.0","avg_execution_price":"0.0","side":"buy","type":"exchange limit","is_live":true,"is_cancelled":false,"is_hidden":true,"was_forced":false,"original_amount":"0.011","remaining_amount":"0.011","executed_amount":"0.0","market":"BTC-USD","timestamp_created":"1460889016.0","amount":"0.011"}]}
api/index.php?action=get_open_orders&exchange=Bitstamp&market=BTC-USD
api/index.php?action=get_open_orders&exchange=Bitfinex&market=ETH-BTC
api/index.php?action=get_open_orders&exchange=Bittrex&market=DOGE-BTC
api/index.php?action=get_open_orders&exchange=Btce&market=NVC-BTC
api/index.php?action=get_open_orders&exchange=Bter&market=XMR-BTC
api/index.php?action=get_open_orders&exchange=Coinbase&market=BTC-USD
api/index.php?action=get_open_orders&exchange=Poloniex&market=ETH-BTC
load open orders
get_completed_orders get completed orders for a specific market on an exchange.
<?PHP
foreach( $Adapter->get_completed_orders() as $completed_order ) {
print_r( $completed_order );
}
?>
{"BitfinexAdapter":[{"price":"430.0","amount":"0.0125","timestamp":"1460732016.0","type":"Sell","fee_currency":"USD","fee_amount":"-0.01075","tid":16744291,"order_id":696360565,"market":"BTC-USD","exchange":"bitfinex","id":null,"fee":null,"total":null},{"price":"429.5","amount":"0.0125","timestamp":"1460731419.0","type":"Sell","fee_currency":"USD","fee_amount":"-0.0107375","tid":16744191,"order_id":696353727,"market":"BTC-USD","exchange":"bitfinex","id":null,"fee":null,"total":null}]}
api/index.php?action=get_completed_orders&exchange=Bitfinex&market=ETH-BTC
api/index.php?action=get_completed_orders&exchange=Bitstamp&market=BTC-USD
api/index.php?action=get_completed_orders&exchange=Bittrex&market=XMR-BTC
api/index.php?action=get_completed_orders&exchange=Btce&market=NVC-BTC
api/index.php?action=get_completed_orders&exchange=Bter&market=XMR-BTC
api/index.php?action=get_completed_orders&exchange=Coinbase&market=BTC-USD
api/index.php?action=get_completed_orders&exchange=Poloniex&market=ETH-BTC
load latest completed orders
get_order - get order by id.
<?PHP
print_r( $Adapter->get_order( "1" ) );
?>
under construction
api/index.php?action=get_order&exchange=Bitstamp&id=134432
api/index.php?action=get_order&exchange=Bitfinex&id=134432
api/index.php?action=get_order&exchange=Bittrex&id=134432
api/index.php?action=get_order&exchange=Btce&id=134432
api/index.php?action=get_order&exchange=Bter&id=134432
api/index.php?action=get_order&exchange=Coinbase&id=134432
api/index.php?action=get_order&exchange=Poloniex&id=134432
under construction
get_market_summary - get specific market summary for an exchange.
<?PHP
print_r( $Adapter->get_market_summary( "BTC-USD" ) );
?>
{"PoloniexAdapter":{"ask":"0.02138045","base_volume":"1247270.00827785","bid":"0.02135000","btc_volume":null,"created":null,"display_name":"BTC-ETH","exchange":"poloniex","expiration":null,"frozen":"0","high":"0.02277000","initial_margin":null,"last_price":"0.02135000","low":"0.02090000","market":"BTC-ETH","market_id":null,"maximum_order_size":null,"mid":null,"minimum_margin":null,"minimum_order_size_base":null,"minimum_order_size_quote":"0.00050000","open_buy_orders":null,"open_sell_orders":null,"percent_change":"-0.01443267","price_precision":8,"quote_volume":"27439.54331868","result":true,"timestamp":null,"verified_only":null,"vwap":null}}
api/index.php?exchange=Bitfinex&action=get_market_summary&market=BTC-USD
api/index.php?exchange=Bitstamp&action=get_market_summary&market=BTC-USD
api/index.php?exchange=Bittrex&action=get_market_summary&market=XMR-BTC
api/index.php?exchange=Btce&action=get_market_summary&market=BTC-USD
api/index.php?exchange=Bter&action=get_market_summary&market=DOGE-BTC
api/index.php?exchange=Coinbase&action=get_market_summary&market=BTC-USD
api/index.php?exchange=Poloniex&action=get_market_summary&market=ETH-BTC
under construction
get_market_summaries - get all market summaries for all markets for an exchange.
<?PHP
foreach( $Adapter->get_market_summaries() as $market_summary ) {
print_r( $market_summary );
}
?>
under construction
api/index.php?exchange=Bitfinex&action=get_market_summaries
api/index.php?exchange=Bitstamp&action=get_market_summaries
api/index.php?exchange=Bittrex&action=get_market_summaries
api/index.php?exchange=Btce&action=get_market_summaries
api/index.php?exchange=Bter&action=get_market_summaries
api/index.php?exchange=Coinbase&action=get_market_summaries
api/index.php?exchange=Poloniex&action=get_market_summaries
under construction
get_balance - get balance for a specific currency on an exchange.
<?PHP
print_r( $Adapter->get_balance( "BTC" );
?>
under construction
api/index.php?exchange=Bitfinex&action=get_balance&currency=BTC
api/index.php?exchange=Bitstamp&action=get_balance&currency=BTC
api/index.php?exchange=Bittrex&action=get_balance&currency=BTC
api/index.php?exchange=Btce&action=get_balance&currency=BTC
api/index.php?exchange=Bter&action=get_balance&currency=BTC
api/index.php?exchange=Coinbase&action=get_balance&currency=BTC
api/index.php?exchange=Poloniex&action=get_balance&currency=BTC
under construction
get_balances - get all balances for all currencies on an exchange.
<?PHP
foreach( $Adapter->get_balances() as $balance ) {
print_r( $balance );
}
?>
under construction
api/index.php?exchange=Bitfinex&action=get_balances
api/index.php?exchange=Bitstamp&action=get_balances
api/index.php?exchange=Bittrex&action=get_balances
api/index.php?exchange=Btce&action=get_balances
api/index.php?exchange=Bter&action=get_balances
api/index.php?exchange=Coinbase&action=get_balances
api/index.php?exchange=Poloniex&action=get_balances
under construction
listen to bitcoin transactions
© NickelBot. Customize this website and launch a business with it. You own your customizations! Thank You for not hacking my server!
Valid HTML | Valid CSS