Skip to content
GET /v1/supply

Bitcoin supply, issuance, block reward and next halving

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/bitcoinstats-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest 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
}