header header | conn: |

</> APIs

All the databases of PrimeStats.info can be accessed by developers using the following APIs (JSON files). If you are developing an application that will request them frequently, I can gladly tailor an API for your specific needs to limit both your users bandwidth and our own bandwidth's use (combining several databases, limiting them to specific time periods...). Check the "About" section if you need to contact us.

Navigator (blockchain explorer) API
https://primestats.info:3502/navigator-api/hash/:hash Returns the information about any hash (address, Tx, contract...) or block height on the blockchain
https://primestats.info:3502/navigator-api/status Global status and blockchain sync situation of HyperStats nodes
For a full list of API endpoints and the structure of the response, check the Readme.md of the GitHub repository

Daily-updated databases
dbs/activecontracts.json Active contracts count, size and cost
dbs/activehosts.json Number of active hosts
dbs/blockrewarddb.json Real historic block reward + Future estimations
dbs/burn.json Burnt coins (in failed contracts)
dbs/coinsupplydb.json Real historic Coin Supply + Future estimations
dbs/contractsstatus.json Evolution of successful, failed and unused contracts on the network
dbs/historiccontracts.json Total historic contracts count, cost and size
dbs/inflationdb.json Real historic Inflation + Future estimations
dbs/miniactivedb.json Active contracts in the last 30 days (chart in the homepage)
dbs/miningdb.json Mining metrics: Hashrate (TH/s), Difficulty (PH) and Block Time (m)
dbs/newcontractsdb.json Newly formed contracts count, cost and size. Both daily and 7 day ("-7d") averages
dbs/poolsdb.json Mining pools: Number of blocks per pool and percentage ("-per")
dbs/sfdb.json SiaPrimeFunds profitability: Daily, 7day-average daily, monthly and historic
dbs/storage.json Total network storage and used storage
dbs/transactionsdb.json Total historic TXs and Daily TXs
dbs/txfeesdb.json Fees per Tx, Average fees per block, and Total (historical, accumulated) transaction fees
dbs/ussage.json Percentage of network storage used and free
dbs/blockchainsize.json Consensus.db file size (GB), real blockchain size (bytes) and average block size (kB) evolution

Real-Time databases
dbs/hostsRTdb.json Hosts number and storage data every 30 minutes during the last 24 hours
dbs/top100.json Average settings of the top 100 hosts (in scoring terms) of the network
dbs/hostscoordinates.json Hosts geolocation, IP, total storage and used storage
dbs/countriesbyhosts.json Number of hosts on each country
dbs/countriesbytotal.json Amount of total storage of the hosts of each country
dbs/countriesbyused.json Amount of hosted data by hosts of each country
dbs/auxblock.json Stats of current block
dbs/stats24h.json Block database of the previous 24 hours
dbs/stats72h.json Block database of the previous 72 hours
dbs/pools_reported_hashrate.json Hashrates reported by the APIs of each mining pool in the last 72 hours
dbs/pooltable.json Hashrates, blocks and luck of the mining pools in the last 72 hours
dbs/circulating_supply.json Real-time circulating coin supply, in SCP

Mining pools Luck and other stats
dbs/pools/SiaMining.json SiaMining
dbs/pools/SiaPrimeStats.json SiaPrimeStats (This pool is not affiliated with PrimeStats.info)
dbs/pools/IntrepidPool.json IntrepidPool
dbs/pools/HyperPool.json HyperPool
dbs/pools/FluxPool.json FluxPool
dbs/hashratesRT.json Hashrates reported currently by the pools, plus HyperStats estimation of network total