Bit Public API
A listing of public API endpoints for retrieving Bit coin data from the network without the need for a local wallet
API Documentation
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.bit-explorer.nitopool.fr/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.bit-explorer.nitopool.fr/api/getconnectioncount
- getblockcountReturns the current block index.bit-explorer.nitopool.fr/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.bit-explorer.nitopool.fr/api/getblockhash?index=6786
- getblock [hash]Returns information about the block with the given hash.bit-explorer.nitopool.fr/api/getblock?hash=000000000000015120cabb3e6e165b67958d6195d1ae09ba53752c2197bc7b19
- getrawtransaction [txid] [decrypt]Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
- getnetworkhashpsReturns the current network hashrate. (hash/s)bit-explorer.nitopool.fr/api/getnetworkhashps
- getvotelistReturns the current vote list.bit-explorer.nitopool.fr/api/getvotelist
- getmasternodecountReturns the total number of masternodes on the network.bit-explorer.nitopool.fr/api/getmasternodecount
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplybit-explorer.nitopool.fr/ext/getmoneysupply
- getdistributionReturns wealth distribution statsbit-explorer.nitopool.fr/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressbit-explorer.nitopool.fr/ext/getaddress/bit1qet9ecghv39y72v52k67qwtdaev47mj507w5gcj
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]bit-explorer.nitopool.fr/ext/getaddresstxs/bit1qet9ecghv39y72v52k67qwtdaev47mj507w5gcj/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashbit-explorer.nitopool.fr/ext/gettx/099f440a7b2b81c9b9304fc3a25cbb2fce71b0df001543792094290782d38140
- getbalance (/ext/getbalance/hash)Returns current balance of given addressbit-explorer.nitopool.fr/ext/getbalance/bit1qet9ecghv39y72v52k67qwtdaev47mj507w5gcj
- getlasttxs (/ext/getlasttxs/min/start/length)Returns last [length] transactions greater than [min] coins, starting from offset [start]Note: [length] is limited to returning 100 records per query
- getcurrentpriceReturns last known exchange pricebit-explorer.nitopool.fr/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursbit-explorer.nitopool.fr/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, BTC price, # of masternodesbit-explorer.nitopool.fr/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, BTC price, USD price, network connection count, block count, count of online masternodes, count of offline masternodesbit-explorer.nitopool.fr/ext/getsummary
- getmasternodelistReturns the complete list of masternodes on the network.bit-explorer.nitopool.fr/ext/getmasternodelist
- getmasternoderewards (/ext/getmasternoderewards/hash/since)Returns a list of masternode reward transactions for address [hash] that arrived after block height [since]bit-explorer.nitopool.fr/ext/getmasternoderewards/bit1qet9ecghv39y72v52k67qwtdaev47mj507w5gcj/6786
- getmasternoderewardstotal (/ext/getmasternoderewardstotal/hash/since)Returns the total number of coins earned in masternode rewards for address [hash] that arrived after block height [since]bit-explorer.nitopool.fr/ext/getmasternoderewardstotal/bit1qet9ecghv39y72v52k67qwtdaev47mj507w5gcj/6786
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)bit-explorer.nitopool.fr/tx/099f440a7b2b81c9b9304fc3a25cbb2fce71b0df001543792094290782d38140
- block (/block/hash)bit-explorer.nitopool.fr/block/000000000000015120cabb3e6e165b67958d6195d1ae09ba53752c2197bc7b19
- address (/address/hash)bit-explorer.nitopool.fr/address/bit1qet9ecghv39y72v52k67qwtdaev47mj507w5gcj
- qrcode (/qr/hash)bit-explorer.nitopool.fr/qr/bit1qet9ecghv39y72v52k67qwtdaev47mj507w5gcj