Skip to main content
GET
/
locations
List Locations
curl --request GET \
  --url https://api.example.com/locations

GET /locations

Returns all locations belonging to the authenticated workspace. Use this to enumerate project sites before creating weather data or running energy models.

Notes

  • Requires a valid JWT (any role).
  • Pass ?includeweatherdata=true to embed linked weather data metadata in each location response. Without this flag, weather data fields are omitted.
  • Each location includes auto-detected timeZone (UTC offset) and timeZoneName (IANA identifier) computed from its coordinates.
  • See POST /locations to create a new location.
  • See GET /weatherdata to list weather data records independently.