Bitrae Public API
A listing of public API endpoints for retrieving Bitrae 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.bitrae.net/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.explorer.bitrae.net/api/getconnectioncount
- getblockcountReturns the current block index.explorer.bitrae.net/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.explorer.bitrae.net/api/getblockhash?index=250
- getblock [hash]Returns information about the block with the given hash.explorer.bitrae.net/api/getblock?hash=f4bb3d1cef9cc3a82c9da6f2be79f10cb10fcbc020bfaa0fbcad6c022be1cbb3
- 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.bitrae.net/api/getnetworkhashps
- getvotelistReturns the current vote list.explorer.bitrae.net/api/getvotelist
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplyexplorer.bitrae.net/ext/getmoneysupply
- getdistributionReturns wealth distribution statsexplorer.bitrae.net/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressexplorer.bitrae.net/ext/getaddress/btre1q4xq8s8g8l2pjkzfxkvmau7nq8wamtzh6xhqlpx
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]explorer.bitrae.net/ext/getaddresstxs/btre1q4xq8s8g8l2pjkzfxkvmau7nq8wamtzh6xhqlpx/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashexplorer.bitrae.net/ext/gettx/8d40065d110acee51258070fefd51ad33c42d2f8ea8db90fbf3c0400d2bb9b6b
- getbalance (/ext/getbalance/hash)Returns current balance of given addressexplorer.bitrae.net/ext/getbalance/btre1q4xq8s8g8l2pjkzfxkvmau7nq8wamtzh6xhqlpx
- 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.bitrae.net/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursexplorer.bitrae.net/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, USDT priceexplorer.bitrae.net/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, USDT price, USD price, network connection count, block countexplorer.bitrae.net/ext/getsummary
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)explorer.bitrae.net/tx/8d40065d110acee51258070fefd51ad33c42d2f8ea8db90fbf3c0400d2bb9b6b
- block (/block/hash)explorer.bitrae.net/block/f4bb3d1cef9cc3a82c9da6f2be79f10cb10fcbc020bfaa0fbcad6c022be1cbb3
- address (/address/hash)explorer.bitrae.net/address/btre1q4xq8s8g8l2pjkzfxkvmau7nq8wamtzh6xhqlpx
- qrcode (/qr/hash)explorer.bitrae.net/qr/btre1q4xq8s8g8l2pjkzfxkvmau7nq8wamtzh6xhqlpx