Solar Shading Estimator API
Sites

Get a site by ID

Retrieves a single site by its unique ID.

GET
/sites/{id}

Retrieves a single site by its unique ID.

Path Parameters

id*string

Response Body

application/json

application/json

curl -X GET "https://example.com/sites/string"
{  "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"  }}