/v1/meta
Service metadata
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/bitcoinhalving-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitcoinhalving-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitcoinhalving-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/bitcoinhalving-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"source": "mempool.space block height + difficulty adjustment (live)",
"service": "bitcoinhalving-api",
"constants": {
"max_supply_btc": 21000000,
"initial_subsidy_btc": 50,
"halving_interval_blocks": 210000
},
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/supply": "Circulating supply, percent mined, daily issuance and inflation rate.",
"GET /v1/halving": "Countdown to the next halving (subsidy, epoch, blocks/days remaining, date).",
"GET /v1/schedule": "The full halving schedule (epoch, start block, subsidy, approx year)."
},
"description": "Live Bitcoin halving countdown and supply schedule from the on-chain block height (mempool.space): current block subsidy and halving epoch, the next halving's block height with blocks/time remaining and estimated date (using the network's recent average block time), the circulating supply mined to date, percent of the 21M cap mined, daily/annual new issuance and the inflation rate, plus the full halving schedule. Live, no key. Distinct from fee/mempool Bitcoin APIs — this is the supply and halving layer.",
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-09T03:02:15.754Z",
"request_id": "accf0adb-8dcf-41c5-ae4d-36817ee23c15"
},
"status": "ok",
"message": "Meta",
"success": true
}