/v1/price
A zone's day-ahead price now + day stats
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}