/v1/meta
Totals, capacity & fuel breakdown
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/powerplants-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/powerplants-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/powerplants-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/powerplants-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "id = WRI/GPPD identifier. Capacity in megawatts (MW).",
"fuels": [
{
"fuel": "Solar",
"count": 10665
},
{
"fuel": "Hydro",
"count": 7156
},
{
"fuel": "Wind",
"count": 5344
},
{
"fuel": "Gas",
"count": 3998
},
{
"fuel": "Coal",
"count": 2330
},
{
"fuel": "Oil",
"count": 2320
},
{
"fuel": "Biomass",
"count": 1430
},
{
"fuel": "Waste",
"count": 1068
},
{
"fuel": "Nuclear",
"count": 195
},
{
"fuel": "Geothermal",
"count": 189
},
{
"fuel": "Storage",
"count": 135
},
{
"fuel": "Other",
"count": 43
},
{
"fuel": "Cogeneration",
"count": 41
},
{
"fuel": "Petcoke",
"count": 12
},
{
"fuel": "Wave and Tidal",
"count": 10
}
],
"total": 34936,
"fields": [
"id",
"name",
"country",
"country_name",
"capacity_mw",
"fuel",
"latitude",
"longitude",
"commissioning_year",
"owner"
],
"source": "WRI Global Power Plant Database (CC-BY 4.0)",
"countries": 167,
"total_capacity_mw": 5706975
},
"meta": {
"timestamp": "2026-05-31T03:47:07.417Z",
"request_id": "edaf7a5a-5e99-4219-9857-8b3955d2fda9"
},
"status": "ok",
"message": "Meta retrieved",
"success": true
}