![](/img/btcp_logo_48.png)
BitcoinPurple Public API
A listing of public API endpoints for retrieving BitcoinPurple coin data from the network without the need for a local wallet
API Documentation
![](/img/btcp_logo_128.png)
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.btcp-explorer.pool.sexy/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.btcp-explorer.pool.sexy/api/getconnectioncount
- getblockcountReturns the current block index.btcp-explorer.pool.sexy/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.btcp-explorer.pool.sexy/api/getblockhash?index=10100
- getblock [hash]Returns information about the block with the given hash.btcp-explorer.pool.sexy/api/getblock?hash=0000000000000019c1508e1264d0fd431042f6ee159cf38cf9081b73e6016041
- 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)btcp-explorer.pool.sexy/api/getnetworkhashps
- getvotelistReturns the current vote list.btcp-explorer.pool.sexy/api/getvotelist
- getmasternodecountReturns the total number of masternodes on the network.btcp-explorer.pool.sexy/api/getmasternodecount
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplybtcp-explorer.pool.sexy/ext/getmoneysupply
- getdistributionReturns wealth distribution statsbtcp-explorer.pool.sexy/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressbtcp-explorer.pool.sexy/ext/getaddress/btcp1qq0fj4nw32lnjxxldyt0wl0acaw5jhrephqyhf9
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]btcp-explorer.pool.sexy/ext/getaddresstxs/btcp1qq0fj4nw32lnjxxldyt0wl0acaw5jhrephqyhf9/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashbtcp-explorer.pool.sexy/ext/gettx/4d15372d327807302af9ad49d7fcb76acf4781c035e0bf4c0403a913544e76ca
- getbalance (/ext/getbalance/hash)Returns current balance of given addressbtcp-explorer.pool.sexy/ext/getbalance/btcp1qq0fj4nw32lnjxxldyt0wl0acaw5jhrephqyhf9
- 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 pricebtcp-explorer.pool.sexy/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursbtcp-explorer.pool.sexy/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, BTC price, # of masternodesbtcp-explorer.pool.sexy/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 masternodesbtcp-explorer.pool.sexy/ext/getsummary
- getmasternodelistReturns the complete list of masternodes on the network.btcp-explorer.pool.sexy/ext/getmasternodelist
- getmasternoderewards (/ext/getmasternoderewards/hash/since)Returns a list of masternode reward transactions for address [hash] that arrived after block height [since]btcp-explorer.pool.sexy/ext/getmasternoderewards/btcp1qq0fj4nw32lnjxxldyt0wl0acaw5jhrephqyhf9/10100
- getmasternoderewardstotal (/ext/getmasternoderewardstotal/hash/since)Returns the total number of coins earned in masternode rewards for address [hash] that arrived after block height [since]btcp-explorer.pool.sexy/ext/getmasternoderewardstotal/btcp1qq0fj4nw32lnjxxldyt0wl0acaw5jhrephqyhf9/10100
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)btcp-explorer.pool.sexy/tx/4d15372d327807302af9ad49d7fcb76acf4781c035e0bf4c0403a913544e76ca
- block (/block/hash)btcp-explorer.pool.sexy/block/0000000000000019c1508e1264d0fd431042f6ee159cf38cf9081b73e6016041
- address (/address/hash)btcp-explorer.pool.sexy/address/btcp1qq0fj4nw32lnjxxldyt0wl0acaw5jhrephqyhf9
- qrcode (/qr/hash)btcp-explorer.pool.sexy/qr/btcp1qq0fj4nw32lnjxxldyt0wl0acaw5jhrephqyhf9