Octopus Energy · Capability

Octopus Energy Public API — Consumption Readings

Octopus Energy Half-Hourly Smart Meter Consumption. 2 operations: List Electricity Consumption, List Gas Consumption.

Octopus Energy Public API — Consumption Readings is a Naftiko capability published by Octopus Energy, one of 12 capabilities the APIs.io network indexes for this provider. It bundles 2 operations.

The capability includes 2 read-only operations. Lead operation: List half-hourly electricity smart-meter consumption. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Octopus Energy, Consumption, Smart Meter, and Half Hourly.

Run with Naftiko Octopus EnergyConsumptionSmart MeterHalf Hourly

MCP Tools

octopus-list-electricity-consumption

List half-hourly electricity smart-meter consumption

read-only idempotent
octopus-list-gas-consumption

List half-hourly gas smart-meter consumption

read-only idempotent

Capability Spec

consumption-readings.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Octopus Energy Public API — Consumption Readings
  description: 'Octopus Energy Half-Hourly Smart Meter Consumption. 2 operations: List Electricity Consumption, List Gas Consumption.'
  tags: [Octopus Energy, Consumption, Smart Meter, Half Hourly]
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    OCTOPUS_API_KEY: OCTOPUS_API_KEY
capability:
  consumes:
  - type: http
    namespace: consumption-readings
    baseUri: https://api.octopus.energy/v1
    description: Half-hourly smart-meter consumption pulls for electricity and gas.
    resources:
    - name: electricity-consumption
      path: /electricity-meter-points/{mpan}/meters/{serial_number}/consumption/
      operations:
      - name: listelectricityconsumption
        method: GET
        description: List Electricity Consumption
        outputRawFormat: json
        outputParameters:
        - {name: result, type: object, value: $.}
    - name: gas-consumption
      path: /gas-meter-points/{mprn}/meters/{serial_number}/consumption/
      operations:
      - name: listgasconsumption
        method: GET
        description: List Gas Consumption
        outputRawFormat: json
        outputParameters:
        - {name: result, type: object, value: $.}
    authentication:
      type: basic
      username: '{{env.OCTOPUS_API_KEY}}'
      password: ''
  exposes:
  - type: mcp
    namespace: consumption-readings-mcp
    port: 9090
    transport: http
    description: MCP adapter for Octopus Energy Consumption Readings.
    tools:
    - name: octopus-list-electricity-consumption
      description: List half-hourly electricity smart-meter consumption
      hints: {readOnly: true, destructive: false, idempotent: true}
      call: consumption-readings.listelectricityconsumption
      outputParameters: [{type: object, mapping: $.}]
    - name: octopus-list-gas-consumption
      description: List half-hourly gas smart-meter consumption
      hints: {readOnly: true, destructive: false, idempotent: true}
      call: consumption-readings.listgasconsumption
      outputParameters: [{type: object, mapping: $.}]