Tibber · Arazzo Workflow

Tibber Consumption Report

Version 1.0.0

Discover the viewer's homes over GraphQL, then pull the most recent hourly consumption nodes with cost for the chosen home.

1 workflow 1 source API 1 provider
View Spec View on GitHub EnergySmart HomeSmart MeterElectricityPricingElectric Vehicle ChargingHeatPumpSolarInverterHome BatteryGraphQLAuthenticationNordicArazzoWorkflows

Provider

tibber

Workflows

consumption-report
Resolve a home and pull its most recent hourly consumption nodes with cost.
Runs a viewer/homes discovery query to capture a home id, then runs an hourly consumption query to return the most recent consumption nodes, each with consumption, unit, cost, and currency.
2 steps inputs: accessToken outputs: homeId, nodes
1
discoverHomes
executeGraphQL
Resolve the authenticated viewer and the list of homes, capturing the first home id for context.
2
getConsumption
executeGraphQL
Pull the most recent hourly consumption nodes for the viewer's home, including consumption, unit, cost, and currency.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Tibber Consumption Report
  summary: Discover the viewer's homes over GraphQL, then pull the most recent hourly consumption nodes with cost for the chosen home.
  description: >-
    Two chained GraphQL operations against Tibber's legacy /gql endpoint. The
    first resolves the authenticated viewer and the list of homes, capturing a
    home id; the second pulls the most recent hourly consumption time series for
    the viewer, returning per-node consumption, unit, cost, and currency. Because
    the GraphQL API exposes a single POST operation, every step reuses the
    executeGraphQL operation with a distinct documented query payload. Each step
    spells out its request inline so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: tibberGraphqlApi
  url: ../openapi/tibber-graphql-api-openapi.yml
  type: openapi
workflows:
- workflowId: consumption-report
  summary: Resolve a home and pull its most recent hourly consumption nodes with cost.
  description: >-
    Runs a viewer/homes discovery query to capture a home id, then runs an
    hourly consumption query to return the most recent consumption nodes,
    each with consumption, unit, cost, and currency.
  inputs:
    type: object
    required:
    - accessToken
    properties:
      accessToken:
        type: string
        description: Tibber personal access token (bearer) issued at developer.tibber.com.
  steps:
  - stepId: discoverHomes
    description: >-
      Resolve the authenticated viewer and the list of homes, capturing the
      first home id for context.
    operationId: executeGraphQL
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    requestBody:
      contentType: application/json
      payload:
        query: "{ viewer { homes { id appNickname } } }"
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      homeId: $response.body#/data/viewer/homes/0/id
  - stepId: getConsumption
    description: >-
      Pull the most recent hourly consumption nodes for the viewer's home,
      including consumption, unit, cost, and currency.
    operationId: executeGraphQL
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    requestBody:
      contentType: application/json
      payload:
        query: "{ viewer { homes { consumption(resolution: HOURLY, last: 24) { nodes { from to consumption consumptionUnit cost currency } } } } }"
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      nodes: $response.body#/data/viewer/homes/0/consumption/nodes
  outputs:
    homeId: $steps.discoverHomes.outputs.homeId
    nodes: $steps.getConsumption.outputs.nodes

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/tibber-consumption-report-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.