Vai al contenuto
GET /v1/pv

PV system output estimate

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/pvgis-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/pvgis-api/v1/pv" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pvgis-api/v1/pv", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pvgis-api/v1/pv");
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/pv",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "pv": {
            "source": "EU JRC PVGIS",
            "monthly": [
                {
                    "month": 1,
                    "pv_kwh": 50.75,
                    "irradiation_kwh_m2": 57.96
                },
                {
                    "month": 2,
                    "pv_kwh": 70.12,
                    "irradiation_kwh_m2": 81.08
                },
                {
                    "month": 3,
                    "pv_kwh": 106.12,
                    "irradiation_kwh_m2": 127.51
                },
                {
                    "month": 4,
                    "pv_kwh": 132.77,
                    "irradiation_kwh_m2": 166.28
                },
                {
                    "month": 5,
                    "pv_kwh": 130,
                    "irradiation_kwh_m2": 165.56
                },
                {
                    "month": 6,
                    "pv_kwh": 130.21,
                    "irradiation_kwh_m2": 169.97
                },
                {
                    "month": 7,
                    "pv_kwh": 136.95,
                    "irradiation_kwh_m2": 181.13
                },
                {
                    "month": 8,
                    "pv_kwh": 130.92,
                    "irradiation_kwh_m2": 171.78
                },
                {
                    "month": 9,
                    "pv_kwh": 112.42,
                    "irradiation_kwh_m2": 142.33
                },
                {
                    "month": 10,
                    "pv_kwh": 82.97,
                    "irradiation_kwh_m2": 101.87
                },
                {
                    "month": 11,
                    "pv_kwh": 49.64,
                    "irradiation_kwh_m2": 59.01
                },
                {
                    "month": 12,
                    "pv_kwh": 45.38,
                    "irradiation_kwh_m2": 52.81
                }
            ],
            "location": {
                "lat": 48.2,
                "lon": 16.4,
                "elevation_m": 170
            },
            "angle_deg": 39,
            "aspect_deg": -1,
            "losses_pct": {
                "total": -20.24,
                "spectral": null,
                "temperature": -5.97,
                "angle_of_incidence": -2.82
            },
            "peakpower_kwp": 1,
            "yearly_pv_kwh": 1178.25,
            "optimal_angles": true,
            "system_loss_pct": 14,
            "yearly_irradiation_kwh_m2": 1477.29
        }
    },
    "meta": {
        "timestamp": "2026-05-31T15:13:35.533Z",
        "request_id": "70a661d8-e4f8-4a93-88e8-975261df6dad"
    },
    "status": "ok",
    "message": "PV estimate retrieved",
    "success": true
}