/v1/supply
Bitcoin supply, issuance, block reward and next halving
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/bitcoinstats-api/v1/supply" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitcoinstats-api/v1/supply", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitcoinstats-api/v1/supply");
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/bitcoinstats-api/v1/supply",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"source": "blockchain.com",
"block_height": 953110,
"halving_epoch": 4,
"percent_mined": 95.4332,
"remaining_btc": 959031.25,
"max_supply_btc": 21000000,
"total_mined_btc": 20040968.75,
"next_halving_height": 1050000,
"blocks_to_next_halving": 96890,
"current_block_reward_btc": 3.125,
"est_days_to_next_halving": 672.8
},
"meta": {
"timestamp": "2026-06-10T14:00:07.506Z",
"request_id": "e33c2564-ecd7-4c20-8891-abbd4d417a8d"
},
"status": "ok",
"message": "Supply retrieved successfully",
"success": true
}