Back

#halving

2 APIs with this tag

Bitcoin Hashrate & Difficulty API

Bitcoin's network-security and mining-economics layer, live and keyless, powered by mempool.space — hashrate, mining difficulty, the difficulty-adjustment countdown, the halving countdown and per-window block-reward economics. These are the numbers that describe how hard Bitcoin is to mine and how secure the chain is, not a price and not a block explorer. The difficulty endpoint is the flagship: the current mining difficulty plus the live adjustment countdown — how far through the current 2016-block epoch we are, the projected size of the next adjustment (Bitcoin retargets every two weeks so blocks stay ~10 minutes apart), the blocks remaining to the retarget, the estimated retarget date and the realised average block time. The hashrate endpoint returns the current network hashrate in EH/s plus a historical hashrate-and-difficulty timeseries over a chosen window (1m to all). The halving endpoint is the countdown to the next block-subsidy halving — the current block height, the current subsidy in BTC, the next halving block and how many blocks and days remain. The rewards endpoint returns block-reward economics over a recent window: the total miner reward, the fee share, and the per-block averages, all in BTC. This is the Bitcoin difficulty / hashrate / halving cut — distinct from the Bitcoin block-explorer feed (mempool, fees, blocks, addresses, transactions), the mining-pool-distribution feed (who finds the blocks and how centralised), and the multi-coin mining-profitability feed. Hashrate in EH/s, difficulty raw and in trillions, rewards in BTC, times in UTC. No key, nothing stored.

api.oanor.com/hashrate-api

Bitcoin Halving API

Live Bitcoin halving countdown and supply schedule as an API, computed from the on-chain block height (mempool.space). Bitcoin's block subsidy halves every 210,000 blocks (~four years); this returns the current subsidy in BTC, the halving epoch, the next halving's block height, how many blocks and roughly how long remain (using the network's recent average block time), and the estimated date. It also computes the circulating supply mined to date from the issuance schedule, the percent of the 21-million cap already mined, the daily and annual new issuance and the inflation rate, plus the full halving schedule. The Bitcoin issuance-and-halving layer for crypto, dashboard and countdown apps. Live, no key, no cache. Distinct from fee and mempool Bitcoin APIs — this is the supply and halving schedule.

api.oanor.com/bitcoinhalving-api