/v1/rewards
Block-reward economics over the last N blocks
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/mining-api/v1/rewards" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mining-api/v1/rewards", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mining-api/v1/rewards");
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/mining-api/v1/rewards",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"blocks": 144,
"source": "mempool.space",
"total_tx": 666658,
"end_block": 953111,
"avg_fee_btc": 0.02290523,
"start_block": 952968,
"fee_share_pct": 0.7276,
"total_fee_btc": 3.29835244,
"avg_reward_btc": 3.14790523,
"total_reward_btc": 453.29835244
},
"meta": {
"timestamp": "2026-06-10T14:01:29.847Z",
"request_id": "ad616be4-b07c-40c2-b497-52dcd119a999"
},
"status": "ok",
"message": "Rewards retrieved successfully",
"success": true
}