/v1/power
Country generation mix by source + renewable share
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/electricity-api/v1/power" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/electricity-api/v1/power", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/electricity-api/v1/power");
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/power",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"time": "2026-06-11T06:30:00.000Z",
"source": "Energy-Charts (Fraunhofer ISE)",
"country": "de",
"sources": [
{
"mw": 19111,
"source": "Solar",
"share_pct": 39.07
},
{
"mw": 6662,
"source": "Fossil brown coal / lignite",
"share_pct": 13.62
},
{
"mw": 6347.1,
"source": "Fossil gas",
"share_pct": 12.98
},
{
"mw": 4016.2,
"source": "Biomass",
"share_pct": 8.21
},
{
"mw": 3800.8,
"source": "Wind onshore",
"share_pct": 7.77
},
{
"mw": 2696.4,
"source": "Fossil hard coal",
"share_pct": 5.51
},
{
"mw": 2479,
"source": "Hydro Run-of-River",
"share_pct": 5.07
},
{
"mw": 1218,
"source": "Hydro pumped storage",
"share_pct": 2.49
},
{
"mw": 1078.4,
"source": "Waste",
"share_pct": 2.2
},
{
"mw": 413.2,
"source": "Fossil coal-derived gas",
"share_pct": 0.84
},
{
"mw": 374.5,
"source": "Fossil oil",
"share_pct": 0.77
},
{
"mw": 303.1,
"source": "Hydro water reservoir",
"share_pct": 0.62
},
{
"mw": 202.3,
"source": "Wind offshore",
"share_pct": 0.41
},
{
"mw": 134.7,
"source": "Others",
"share_pct": 0.28
},
{
"mw": 61.7,
"source": "Renewable share of generation",
"share_pct": 0.13
},
{
"mw": 13.6,
"source": "Geothermal",
"share_pct": 0.03
}
],
"renewable_share_pct": 63.67,
"total_generation_mw": 48912
},
"meta": {
"timestamp": "2026-06-11T07:51:01.965Z",
"request_id": "cd6feec6-4668-45cd-bb20-3b78d4552ed7"
},
"status": "ok",
"message": "Power mix retrieved successfully",
"success": true
}