/v1/hashrate
Current network hashrate and difficulty plus history
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/hashrate" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mining-api/v1/hashrate", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mining-api/v1/hashrate");
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/hashrate",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"period": "1m",
"points": 31,
"source": "mempool.space",
"hashrate_history": [
{
"date": "2026-05-11T00:00:00.000Z",
"hashrate_ehs": 993.9411
},
{
"date": "2026-05-12T00:00:00.000Z",
"hashrate_ehs": 1107.9023
},
{
"date": "2026-05-13T00:00:00.000Z",
"hashrate_ehs": 864.9438
},
{
"date": "2026-05-14T00:00:00.000Z",
"hashrate_ehs": 916.314
},
{
"date": "2026-05-15T00:00:00.000Z",
"hashrate_ehs": 987.446
},
{
"date": "2026-05-16T00:00:00.000Z",
"hashrate_ehs": 968.6996
},
{
"date": "2026-05-17T00:00:00.000Z",
"hashrate_ehs": 1029.7729
},
{
"date": "2026-05-18T00:00:00.000Z",
"hashrate_ehs": 960.3486
},
{
"date": "2026-05-19T00:00:00.000Z",
"hashrate_ehs": 936.4806
},
{
"date": "2026-05-20T00:00:00.000Z",
"hashrate_ehs": 962.9338
},
{
"date": "2026-05-21T00:00:00.000Z",
"hashrate_ehs": 1042.2743
},
{
"date": "2026-05-22T00:00:00.000Z",
"hashrate_ehs": 853.8633
},
{
"date": "2026-05-23T00:00:00.000Z",
"hashrate_ehs": 1063.8837
},
{
"date": "2026-05-24T00:00:00.000Z",
"hashrate_ehs": 1112.3522
},
{
"date": "2026-05-25T00:00:00.000Z",
"hashrate_ehs": 886.353
},
{
"date": "2026-05-26T00:00:00.000Z",
"hashrate_ehs": 1130.3989
},
{
"date": "2026-05-27T00:00:00.000Z",
"hashrate_ehs": 940.3621
},
{
"date": "2026-05-28T00:00:00.000Z",
"hashrate_ehs": 949.1191
},
{
"date": "2026-05-29T00:00:00.000Z",
"hashrate_ehs": 1101.448
},
{
"date": "2026-05-30T00:00:00.000Z",
"hashrate_ehs": 959.2063
},
{
"date": "2026-05-31T00:00:00.000Z",
"hashrate_ehs": 977.2729
},
{
"date": "2026-06-01T00:00:00.000Z",
"hashrate_ehs": 1007.689
},
{
"date": "2026-06-02T00:00:00.000Z",
"hashrate_ehs": 922.2064
},
{
"date": "2026-06-03T00:00:00.000Z"
…