Vai al contenuto
GET /v1/meta

Service metadata

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/gasfees-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "chains": [
            "ethereum",
            "polygon",
            "bsc",
            "arbitrum",
            "optimism",
            "base",
            "avalanche"
        ],
        "source": "Public chain RPC (publicnode) eth_feeHistory + eth_gasPrice (live)",
        "service": "gasfees-api",
        "endpoints": {
            "GET /v1/gas": "Gas estimate for a chain (chain=ethereum|polygon|bsc|arbitrum|optimism|base|avalanche): base fee + slow/standard/fast tiers in gwei.",
            "GET /v1/meta": "This document.",
            "GET /v1/chains": "List supported chains and aliases.",
            "GET /v1/estimate": "Transaction cost in native coin (chain, gas_limit default 21000, tier=slow|standard|fast)."
        },
        "description": "Live multi-chain EVM gas-fee oracle from each network's public JSON-RPC: next-block base fee plus slow / standard / fast tiers (priority fee, suggested max fee, total gas price) in gwei, and a transaction cost estimate in the native coin. Supports Ethereum, Polygon, BSC, Arbitrum, Optimism, Base and Avalanche. Live, no key. The gas estimate every wallet, bridge and dApp needs.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-09T03:02:39.162Z",
        "request_id": "ad9f34d4-0de1-4dfc-9934-d7143122178d"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}