Naar de inhoud
GET /v1/supply

Circulating supply, percent mined, issuance

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/bitcoinhalving-api/v1/supply" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitcoinhalving-api/v1/supply", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitcoinhalving-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/bitcoinhalving-api/v1/supply",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "percent_mined": 95.43,
        "current_height": 952921,
        "max_supply_btc": 21000000,
        "daily_issuance_btc": 400.23,
        "inflation_rate_pct": 0.73,
        "annual_issuance_btc": 146083.32,
        "current_subsidy_btc": 3.125,
        "remaining_to_mine_btc": 959618.75,
        "circulating_supply_btc": 20040381.25
    },
    "meta": {
        "timestamp": "2026-06-09T03:02:15.558Z",
        "request_id": "e2e5a3c4-6675-4d62-baee-92ec774bd981"
    },
    "status": "ok",
    "message": "Supply retrieved successfully",
    "success": true
}