/v1/optimal
Optimal panel tilt & azimuth
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/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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"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
}