Aller au contenu
GET /v1/meta

Usage notes

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/bitcoin-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/bitcoin-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitcoin-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitcoin-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/bitcoin-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": "The Bitcoin blockchain. /v1/fees = recommended fee rates (sat/vB) + projected next blocks; /v1/mempool = current mempool size & fee histogram; /v1/blocks (?height= to start lower) = recent blocks with mining pool & fees; /v1/block?id=700000 (height or hash) = one block; /v1/address?address=bc1... (&txs=true) = balance, totals & recent transactions; /v1/tx?txid=... = a transaction's inputs, outputs, fee & confirmation; /v1/difficulty = the difficulty adjustment & network hashrate; /v1/price = the BTC price in major currencies. All amounts in satoshis (1 BTC = 100,000,000 sats). For coin market prices use the Crypto API; for DeFi TVL the DeFi API.",
        "source": "mempool.space",
        "endpoints": [
            "/v1/fees",
            "/v1/mempool",
            "/v1/blocks",
            "/v1/block",
            "/v1/address",
            "/v1/tx",
            "/v1/difficulty",
            "/v1/price",
            "/v1/meta"
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T00:03:53.013Z",
        "request_id": "c0611d09-559a-478f-a297-b45d6a9b108a"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}