Zum Inhalt springen
GET /v1/meta

Service metadata

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "note": "Prices in EUR/MWh (day-ahead auction); power in MW. Data: Bundesnetzagentur | SMARD.de, CC BY 4.0.",
        "source": "Energy-Charts (api.energy-charts.info, Fraunhofer ISE, live)",
        "service": "electricity-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/power": "A country's current generation mix by source with renewable share (country=de).",
            "GET /v1/price": "A zone's day-ahead price now plus day min/max/average (zone=DE-LU).",
            "GET /v1/zones": "All supported bidding zones.",
            "GET /v1/prices": "The full hourly day-ahead price curve for a zone (zone=FR)."
        },
        "description": "Live European wholesale (day-ahead) electricity prices and the live power-generation mix, from the Fraunhofer ISE Energy-Charts public data. Electricity is one of Europe's largest traded commodities: each bidding zone (Germany, France, the Nordics, Iberia, Italy …) clears a day-ahead auction priced in EUR/MWh. The price endpoint returns a zone's day-ahead price right now plus the day's min/max/average; the prices endpoint returns the full hourly day-ahead curve; the zones endpoint lists the supported bidding zones; the power endpoint returns a country's current generation mix by source with the renewable share. Live, no key, nothing stored. Distinct from fuel/metal commodity feeds and from FX or equity APIs — this is Europe's own wholesale-electricity price and generation layer.",
        "upstream_status": "ok",
        "de_lu_price_eur_mwh": 140.56
    },
    "meta": {
        "timestamp": "2026-06-10T22:57:05.543Z",
        "request_id": "7c2a68c5-69d4-4a95-9ceb-6312c37bbe1f"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}