Skip to content
Esc
↑↓navigate↵open⌘Jpreview

List a building's consumption per year and carrier

Early access: request API access for your workspace at https://bauhow.com/support before using this endpoint.

Only while the Gebäudesteckbrief (building profile) is enabled for the key’s member; otherwise 403.

GET/v1/buildings/{id}/consumptions
Authorization
AuthorizationBearer token · headerrequired

Workspace API key (bh_…).

Path parameters
idstringrequired
min length 1
Responses
200

OK

dataobject[]required
Show properties
Array of object
idstringrequired
yearintegerrequired
min -9007199254740991 · max 9007199254740991
carrierstringrequired
amountKwhnumberrequired
readingobject | nullrequired
Show properties
Any of:
object
valuenumberrequired
unitstringrequired
kwhPerUnitnumberrequired
factorSourcestringrequired
null
null
periodobject | nullrequired
Show properties
Any of:
object
startstringrequired
endstringrequired
null
null
meterNumberstring | nullrequired
Show properties
Any of:
string
string
null
null
sourceTypestringrequired
sourceDocumentobject | nullrequired
Show properties
Any of:
object
idstringrequired
titlestringrequired
null
null
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://app.bauhow.com/api/v1/buildings/string/consumptions' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "data": [
    {
      "id": "string",
      "year": -9007199254740991,
      "carrier": "string",
      "amountKwh": 0,
      "reading": {
        "value": 0,
        "unit": "string",
        "kwhPerUnit": 0,
        "factorSource": "string"
      },
      "period": {
        "start": "string",
        "end": "string"
      },
      "meterNumber": "string",
      "sourceType": "string",
      "sourceDocument": {
        "id": "string",
        "title": "string"
      }
    }
  ]
}