![](/img/page-title-img.png)
AiBlockChain Public API
A listing of public API endpoints for retrieving AiBlockChain coin data from the network without the need for a local wallet
API Documentation
![](/img/logo.png)
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.aibcexplorer.net/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.aibcexplorer.net/api/getconnectioncount
- getblockcountReturns the current block index.aibcexplorer.net/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.aibcexplorer.net/api/getblockhash?index=71
- getblock [hash]Returns information about the block with the given hash.aibcexplorer.net/api/getblock?hash=b91efd34895e8fdefc5d58cb376cb29b9d6da9838df1735b5ce135fdcfdd3644
- 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)aibcexplorer.net/api/getnetworkhashps
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplyaibcexplorer.net/ext/getmoneysupply
- getdistributionReturns wealth distribution statsaibcexplorer.net/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressaibcexplorer.net/ext/getaddress/aibc1qngha6xm0y45969juz20h4vswvx05rtqfpsv6er
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]aibcexplorer.net/ext/getaddresstxs/aibc1qngha6xm0y45969juz20h4vswvx05rtqfpsv6er/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashaibcexplorer.net/ext/gettx/d17cf235841d4d7dda93b690cf6625592ebcc6a2de14519fa7870cb3ae8c7f6a
- getbalance (/ext/getbalance/hash)Returns current balance of given addressaibcexplorer.net/ext/getbalance/aibc1qngha6xm0y45969juz20h4vswvx05rtqfpsv6er
- 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 priceaibcexplorer.net/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursaibcexplorer.net/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, USDT priceaibcexplorer.net/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, USDT price, network connection count, block countaibcexplorer.net/ext/getsummary
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)aibcexplorer.net/tx/d17cf235841d4d7dda93b690cf6625592ebcc6a2de14519fa7870cb3ae8c7f6a
- block (/block/hash)aibcexplorer.net/block/b91efd34895e8fdefc5d58cb376cb29b9d6da9838df1735b5ce135fdcfdd3644
- address (/address/hash)aibcexplorer.net/address/aibc1qngha6xm0y45969juz20h4vswvx05rtqfpsv6er
- qrcode (/qr/hash)aibcexplorer.net/qr/aibc1qngha6xm0y45969juz20h4vswvx05rtqfpsv6er