Naar de inhoud
GET /v1/supply

Bitcoin supply, issuance, block reward and next halving

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/bitcoinstats-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}