Solar Shading Estimator API
Analysis

Run a full shading-adjusted production analysis

Combines a PVWatts baseline with shading analysis to produce a realistic, shading-adjusted annual energy production estimate.

POST
/sites/{id}/analysis

Combines a PVWatts baseline with shading analysis to produce a realistic, shading-adjusted annual energy production estimate.

x-api-key<token>

API key for write access. Request one from the API administrator.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/sites/string/analysis"
{  "statusCode": 200,  "message": "Analysis completed successfully",  "data": {    "siteId": "clx...",    "siteName": "Makati Roof",    "baseline": {      "ac_annual": 6200,      "ac_monthly": [        450,        480,        520,        550,        600,        620,        630,        610,        580,        530,        470,        420      ],      "capacity_factor": 0.18,      "kwh_per_kw": 1400,      "station_info": {}    },    "shading": {      "sampleDays": [        {          "name": "Spring Equinox",          "date": "2026-03-20",          "daylightHours": 12,          "shadedHours": 3,          "percentShaded": 25        }      ],      "averageShadingLoss": 18.75    },    "adjusted": {      "adjustedAnnual": 5040,      "adjustedMonthly": [        366,        390,        423,        448,        488,        504,        512,        496,        472,        431,        382,        342      ]    }  }}