/v1/energy
Energy produced over time
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/windpower-api/v1/energy" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/windpower-api/v1/energy", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/windpower-api/v1/energy");
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/windpower-api/v1/energy",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Energy = power × hours × capacity_factor. capacity_factor defaults to 1 (continuous at this power); real turbines average ~0.25–0.45.",
"hours": 24,
"energy": {
"watt_hours": 27930518.3,
"kilowatt_hours": 27930.518,
"megawatt_hours": 27.930518
},
"derived_from": {
"swept_area_m2": 7853.982,
"power_coefficient": 0.4,
"from_wind_speed_ms": 12
},
"capacity_factor": 0.35,
"rated_power_watts": 3325061.7
},
"meta": {
"timestamp": "2026-06-04T01:59:11.586Z",
"request_id": "8aa12366-f2ce-4959-9e3f-36d610e46c2e"
},
"status": "ok",
"message": "Energy produced over time",
"success": true
}