Luxor Documentation Hub Logo
Mining Pool/API Documentation/V2/Workspaces

Get sites

Returns a list of all sites with details organized by product (energy, pool) based on user permissions.

GET
/v2/workspace/sites

Authorization

authorization<token>

Use your API key here.

In: header

curl -X GET "https://app.luxor.tech/api/v2/workspace/sites" \
  -H "authorization: <token>"

Default Response

{
  "sites": [
    {
      "id": "b0a5fad8-0e09-4f10-ac20-ccd80fb2d138",
      "name": "My Site",
      "country": "USA",
      "energy": {
        "base_load_kw": 100,
        "max_load_kw": 1000,
        "min_load_kw": 0,
        "settlement_point_id": "123e4567-e89b-12d3-a456-426614174000",
        "settlement_point_name": "LZ_NORTH",
        "power_market": "ERCOT"
      },
      "pool": {
        "subaccounts": [
          {
            "id": 0,
            "name": "my_subaccount"
          }
        ]
      }
    }
  ]
}