/v1/price
A zone's day-ahead price now + day stats
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/electricity-api/v1/price" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/electricity-api/v1/price", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/electricity-api/v1/price");
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/price",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"unit": "EUR / MWh",
"zone": "DE-LU",
"points": 96,
"source": "Energy-Charts (Fraunhofer ISE)",
"day_avg": 122.51,
"day_max": 239.68,
"day_min": 64,
"zone_name": "Germany / Luxembourg",
"current_time": "2026-06-10T21:45:00.000Z",
"current_price": 140.56
},
"meta": {
"timestamp": "2026-06-10T22:57:04.346Z",
"request_id": "b059dd27-a31a-4d99-895b-4c294cc8e087"
},
"status": "ok",
"message": "Price retrieved successfully",
"success": true
}