Aller au contenu
GET /v1/meta

Spec

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/miningpools-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "note": "timespan is 24hours, 3days, 4days (default), 5days, 7days or 10days. 'Unknown' is blocks not attributed to a named pool; centralisation metrics are computed over known pools and report the unknown share separately. Estimated per-pool hash rate = block share x network hash rate (EH/s).",
        "source": "blockchain.com (api.blockchain.info/pools + /q/hashrate, live)",
        "service": "miningpools-api",
        "top_pool": "AntPool",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/pool": "A single pool's blocks, share and rank (pool=AntPool).",
            "GET /v1/distribution": "Pools ranked by blocks with share & estimated hash rate (timespan=4days).",
            "GET /v1/centralization": "Mining-decentralisation metrics incl. Nakamoto coefficient & HHI (timespan=4days)."
        },
        "description": "Who actually mines Bitcoin's blocks, from blockchain.com. distribution ranks mining pools by blocks found over a window with each pool's block share and estimated hash-rate share; centralization turns that into decentralisation metrics — top pool / top-3 / top-5 share, the Nakamoto coefficient (fewest pools controlling >50% of blocks), the Herfindahl concentration index, and the unattributed share; pool looks up a single pool's blocks, share and rank. Live, no key, nothing stored. The mining-pool / hash-rate-distribution and centralisation data-cut — distinct from the mempool-snapshot, on-chain-metrics and price-feed APIs.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-12T01:41:30.938Z",
        "request_id": "8ab4d93f-2b9e-4ec9-a4e8-84811951c990"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}