Osmium Public API
API Documentation
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.explorer.osmium.space/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.explorer.osmium.space/api/getconnectioncount
- getblockcountReturns the current block index.explorer.osmium.space/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.explorer.osmium.space/api/getblockhash?index=5
- getblock [hash]Returns information about the block with the given hash.explorer.osmium.space/api/getblock?hash=000007a47e3912a2e5d08e54f6a8455da0cf77e1d6ff10079133309250d58536
- 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.osmium.space/api/getnetworkhashps
- getvotelistReturns the current vote list.explorer.osmium.space/api/getvotelist
- getmasternodecountReturns the total number of masternodes on the network.explorer.osmium.space/api/getmasternodecount
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplyexplorer.osmium.space/ext/getmoneysupply
- getdistributionReturns wealth distribution statsexplorer.osmium.space/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressexplorer.osmium.space/ext/getaddress/Sg7KQD7tm3avmf3q8Cwrq9nGCPao2t3hY5
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]explorer.osmium.space/ext/getaddresstxs/Sg7KQD7tm3avmf3q8Cwrq9nGCPao2t3hY5/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashexplorer.osmium.space/ext/gettx/d295e8aaaa0f191abb59e0908d11591dd6cb4c1038634892009c1e312edc2746
- getbalance (/ext/getbalance/hash)Returns current balance of given addressexplorer.osmium.space/ext/getbalance/Sg7KQD7tm3avmf3q8Cwrq9nGCPao2t3hY5
- 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.osmium.space/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursexplorer.osmium.space/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, USDT price, # of masternodesexplorer.osmium.space/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, USDT price, USD price, network connection count, block count, count of online masternodes, count of offline masternodesexplorer.osmium.space/ext/getsummary
- getmasternodelistReturns the complete list of masternodes on the network.explorer.osmium.space/ext/getmasternodelist
- getmasternoderewards (/ext/getmasternoderewards/hash/since)Returns a list of masternode reward transactions for address [hash] that arrived after block height [since]explorer.osmium.space/ext/getmasternoderewards/Sg7KQD7tm3avmf3q8Cwrq9nGCPao2t3hY5/5
- getmasternoderewardstotal (/ext/getmasternoderewardstotal/hash/since)Returns the total number of coins earned in masternode rewards for address [hash] that arrived after block height [since]explorer.osmium.space/ext/getmasternoderewardstotal/Sg7KQD7tm3avmf3q8Cwrq9nGCPao2t3hY5/5
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)explorer.osmium.space/tx/d295e8aaaa0f191abb59e0908d11591dd6cb4c1038634892009c1e312edc2746
- block (/block/hash)explorer.osmium.space/block/000007a47e3912a2e5d08e54f6a8455da0cf77e1d6ff10079133309250d58536
- address (/address/hash)explorer.osmium.space/address/Sg7KQD7tm3avmf3q8Cwrq9nGCPao2t3hY5
- qrcode (/qr/hash)explorer.osmium.space/qr/Sg7KQD7tm3avmf3q8Cwrq9nGCPao2t3hY5