Luxor Documentation Hub Logo
Energy/API Documentation/Sites

Get city

Retrieves details about a specific city by its ID including settlement point and ISO information.

GET
/api/v1/energy/cities/{city_id}

Authorization

AuthorizationRequiredBearer <token>

In: header

Path Parameters

city_idRequiredCity Id

The UUID of the city to retrieve

Format: "uuid"
curl -X GET "https://app.luxor.tech/api/v1/energy/cities/497f6eca-6276-4993-bfeb-53cbbbba6f08" \
  -H "Authorization: Bearer <token>"

Successful Response

{
  "created_at": "2025-01-10T08:00:00Z",
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "iso_name": "ERCOT",
  "name": "Houston",
  "settlement_point_id": "cd8d366c-1946-4c89-8110-4b9cd4403a11",
  "settlement_point_name": "LZ_HOUSTON",
  "updated_at": "2025-01-10T08:00:00Z"
}