/v1/optimal
Optimal panel tilt & azimuth
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/pvgis-api/v1/optimal" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pvgis-api/v1/optimal", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pvgis-api/v1/optimal");
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/pvgis-api/v1/optimal",
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": {
"optimal": {
"source": "EU JRC PVGIS",
"location": {
"lat": 48.2,
"lon": 16.4,
"elevation_m": 170
},
"azimuth_note": "0 = facing the equator (south in the N hemisphere); -90 = east, 90 = west",
"peakpower_kwp": 1,
"yearly_pv_kwh": 1178.25,
"optimal_tilt_deg": 39,
"optimal_azimuth_deg": -1,
"yearly_irradiation_kwh_m2": 1477.29
}
},
"meta": {
"timestamp": "2026-05-31T15:13:35.017Z",
"request_id": "23b5a6bb-71a2-45e5-9c10-78ad9daeece5"
},
"status": "ok",
"message": "Optimal angles retrieved",
"success": true
}