
KaspaZ Public API
A listing of public API endpoints for retrieving KaspaZ coin data from the network without the need for a local wallet
API Documentation

API Calls
Return data from coind
- getdifficultyReturns the current difficulty.explorer.kaspaz.org/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.explorer.kaspaz.org/api/getconnectioncount
- getblockcountReturns the current block index.explorer.kaspaz.org/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.explorer.kaspaz.org/api/getblockhash?index=2000
- getblock [hash]Returns information about the block with the given hash.explorer.kaspaz.org/api/getblock?hash=000000ed0db0e5b51720d67ae692e128041186fd2c04848e13f62ed81e66fa2a
- 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)explorer.kaspaz.org/api/getnetworkhashps
- getvotelistReturns the current vote list.explorer.kaspaz.org/api/getvotelist
- getmasternodecountReturns the total number of masternodes on the network.explorer.kaspaz.org/api/getmasternodecount
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplyexplorer.kaspaz.org/ext/getmoneysupply
- getdistributionReturns wealth distribution statsexplorer.kaspaz.org/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressexplorer.kaspaz.org/ext/getaddress/RBqi9H5MR7CKYaD7JKFtktAAypdDNQZjqj
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]explorer.kaspaz.org/ext/getaddresstxs/RBqi9H5MR7CKYaD7JKFtktAAypdDNQZjqj/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashexplorer.kaspaz.org/ext/gettx/511d35d69e7e0f6fd04522417fdec083b6dc694a24f3ce9277d07204f93d0f5f
- getbalance (/ext/getbalance/hash)Returns current balance of given addressexplorer.kaspaz.org/ext/getbalance/RBqi9H5MR7CKYaD7JKFtktAAypdDNQZjqj
- 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 priceexplorer.kaspaz.org/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursexplorer.kaspaz.org/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, BTC price, # of masternodesexplorer.kaspaz.org/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 masternodesexplorer.kaspaz.org/ext/getsummary
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)explorer.kaspaz.org/tx/511d35d69e7e0f6fd04522417fdec083b6dc694a24f3ce9277d07204f93d0f5f
- block (/block/hash)explorer.kaspaz.org/block/000000ed0db0e5b51720d67ae692e128041186fd2c04848e13f62ed81e66fa2a
- address (/address/hash)explorer.kaspaz.org/address/RBqi9H5MR7CKYaD7JKFtktAAypdDNQZjqj
- qrcode (/qr/hash)explorer.kaspaz.org/qr/RBqi9H5MR7CKYaD7JKFtktAAypdDNQZjqj