Zum Inhalt springen
GET /v1/basefee

Base fee per gas, blob fee, ETH price

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "chain": "Ethereum",
        "source": "ultrasound.money",
        "base_fee_gwei": 0.3442,
        "eth_price_usd": 1639.67,
        "blob_base_fee_gwei": 0.016535,
        "eth_price_24h_change_pct": -0.12
    },
    "meta": {
        "timestamp": "2026-06-11T16:46:43.458Z",
        "request_id": "7882c7d0-c25e-4e6c-8db8-e9d94b095acf"
    },
    "status": "ok",
    "message": "Base fee retrieved successfully",
    "success": true
}