Skip to content
GET /v1/energy

Energy produced over time

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/windpower-api

It works. Grab an API key and use it in your project.

Get an API key

Code 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_..."}
)

Example response

A real response from this endpoint, captured by the latest 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
}