
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

API Calls
Return data from coind
- getdifficultyReturns the current difficulty.bitcoinpurple-explorer.online/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.bitcoinpurple-explorer.online/api/getconnectioncount
- getblockcountReturns the current block index.bitcoinpurple-explorer.online/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.bitcoinpurple-explorer.online/api/getblockhash?index=64152
- getblock [hash]Returns information about the block with the given hash.bitcoinpurple-explorer.online/api/getblock?hash=000000000000014e4077aabd5b4e1fc4a1b1d07690544c449607f92c3656ea03
- 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)bitcoinpurple-explorer.online/api/getnetworkhashps
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplybitcoinpurple-explorer.online/ext/getmoneysupply
- getdistributionReturns wealth distribution statsbitcoinpurple-explorer.online/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressbitcoinpurple-explorer.online/ext/getaddress/btcp1qt98nxxqmyl3dtnxtwjsclpntvfh0mw8fhmrw6k
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]bitcoinpurple-explorer.online/ext/getaddresstxs/btcp1qt98nxxqmyl3dtnxtwjsclpntvfh0mw8fhmrw6k/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashbitcoinpurple-explorer.online/ext/gettx/dddbec51590b7535d0489fc95eb46db5f5884599137cf1ef791a7198b73ec508
- getbalance (/ext/getbalance/hash)Returns current balance of given addressbitcoinpurple-explorer.online/ext/getbalance/btcp1qt98nxxqmyl3dtnxtwjsclpntvfh0mw8fhmrw6k
- 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 pricebitcoinpurple-explorer.online/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursbitcoinpurple-explorer.online/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, BTC pricebitcoinpurple-explorer.online/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, BTC price, USD price, network connection count, block countbitcoinpurple-explorer.online/ext/getsummary
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)bitcoinpurple-explorer.online/tx/dddbec51590b7535d0489fc95eb46db5f5884599137cf1ef791a7198b73ec508
- block (/block/hash)bitcoinpurple-explorer.online/block/000000000000014e4077aabd5b4e1fc4a1b1d07690544c449607f92c3656ea03
- address (/address/hash)bitcoinpurple-explorer.online/address/btcp1qt98nxxqmyl3dtnxtwjsclpntvfh0mw8fhmrw6k
- qrcode (/qr/hash)bitcoinpurple-explorer.online/qr/btcp1qt98nxxqmyl3dtnxtwjsclpntvfh0mw8fhmrw6k