Zum Inhalt springen
GET /v1/meta

Service metadata and endpoint catalog

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/mining-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "source": "mempool.space mining API (live)",
        "service": "mining-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/pools": "Mining-pool dominance ranking over a period (period=1w).",
            "GET /v1/rewards": "Block-reward economics over the last N blocks (blocks=144).",
            "GET /v1/hashrate": "Current network hashrate and difficulty plus history (period=1m).",
            "GET /v1/difficulty": "History of difficulty adjustments with change percent (period=3m)."
        },
        "description": "Live Bitcoin mining and hashrate analytics as an API, built on the open mempool.space dataset — the mining layer (who secures Bitcoin and how hard), not address, transaction or mempool data. The pools endpoint ranks mining pools by their share of blocks mined over a period; the hashrate endpoint returns the current network hashrate and difficulty plus history; the difficulty endpoint returns the history of difficulty adjustments with each retarget's change; the rewards endpoint returns block-reward economics over the last N blocks (total and average reward, fees and transactions). Live, no key, nothing stored. Distinct from address/transaction/mempool on-chain APIs and from price feeds — this is Bitcoin's mining economics: pool dominance, hashrate, difficulty and reward stats.",
        "upstream_status": "ok",
        "current_hashrate_ehs": 858.0876
    },
    "meta": {
        "timestamp": "2026-06-10T14:01:29.947Z",
        "request_id": "895ccbf5-cb4d-4a05-8638-03ef4abb6923"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}