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/txlookup-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/txlookup-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/txlookup-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/txlookup-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/txlookup-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": {
        "chains": [
            "ethereum",
            "polygon",
            "bsc",
            "arbitrum",
            "optimism",
            "base",
            "avalanche"
        ],
        "source": "Public chain RPC (publicnode) — getTransactionByHash / Receipt / getBlockByNumber (live)",
        "service": "txlookup-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/block": "A block's summary (number=latest or N, chain=): timestamp, tx count, gas, base fee, miner.",
            "GET /v1/receipt": "Just the execution receipt (hash=0x…, chain=): status, gas used, logs, contract created.",
            "GET /v1/transaction": "Full transaction + receipt (hash=0x…, chain=ethereum): parties, value, gas, status, fee, confirmations."
        },
        "description": "Live blockchain transaction, receipt and block lookup read on-chain via public JSON-RPC: a transaction hash returns sender, recipient, value (wei + ETH), gas, nonce, block, success/failure, gas used, effective gas price, fee paid, log count, contract created and confirmations; the receipt endpoint returns just the execution result; the block endpoint returns a block's timestamp, tx count, gas usage, base fee and miner. Across Ethereum, Polygon, BSC, Arbitrum, Optimism, Base and Avalanche. Live, no key. Distinct from balance, token-metadata and name-resolution APIs — this is transaction, receipt and block data read directly from the blockchain.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-09T11:39:54.050Z",
        "request_id": "0fc72da5-34f8-436f-8c3e-96e9a96f6bb0"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}