Solar Shading Estimator API
Sites

List all sites

Retrieves all stored sites with their configurations.

GET
/sites

Retrieves all stored sites with their configurations.

Response Body

application/json

curl -X GET "https://example.com/sites"
{  "statusCode": 200,  "message": "Sites retrieved successfully",  "data": [    {      "id": "clx...",      "name": "Makati Roof",      "latitude": 14.59,      "longitude": 121.03,      "panelTilt": 30,      "panelAzimuth": 180,      "systemSize": 5,      "horizonProfile": [        {          "direction": "S",          "heightAngle": 30        }      ],      "createdAt": "2026-07-04T00:00:00.000Z",      "updatedAt": "2026-07-04T00:00:00.000Z"    }  ]}