Octopus Energy · Capability

Octopus Energy Kraken GraphQL API — Accounts

Kraken GraphQL account, ledger, and billing surface exposed at /v1/graphql/. Queries and mutations are grouped into API Collections in the developer portal.

Octopus Energy Kraken GraphQL API — Accounts is a Naftiko capability published by Octopus Energy, one of 12 capabilities the APIs.io network indexes for this provider. It bundles 1 operation.

The capability includes 1 state-changing operation. Lead operation: Execute a Kraken GraphQL query or mutation against the accounts/ledger/billing surface. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Octopus Energy, Kraken, GraphQL, and Accounts.

Run with Naftiko Octopus EnergyKrakenGraphQLAccounts

MCP Tools

kraken-graphql-accounts

Execute a Kraken GraphQL query or mutation against the accounts/ledger/billing surface.

Capability Spec

graphql-accounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Octopus Energy Kraken GraphQL API — Accounts
  description: Kraken GraphQL account, ledger, and billing surface exposed at /v1/graphql/. Queries and mutations are grouped into API Collections in the developer portal.
  tags: [Octopus Energy, Kraken, GraphQL, Accounts]
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    KRAKEN_GRAPHQL_TOKEN: KRAKEN_GRAPHQL_TOKEN
capability:
  consumes:
  - type: http
    namespace: graphql-accounts
    baseUri: https://api.octopus.energy/v1
    description: Kraken GraphQL endpoint used for account, ledger, and billing operations.
    resources:
    - name: graphql
      path: /graphql/
      operations:
      - name: queryaccounts
        method: POST
        description: Query Kraken account, ledger, and billing data via GraphQL.
        outputRawFormat: json
        outputParameters:
        - {name: result, type: object, value: $.}
        inputParameters:
        - {name: body, in: body, type: object, description: GraphQL request body with query and variables., required: true}
    authentication:
      type: bearer
      token: '{{env.KRAKEN_GRAPHQL_TOKEN}}'
  exposes:
  - type: mcp
    namespace: graphql-accounts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Kraken GraphQL account operations.
    tools:
    - name: kraken-graphql-accounts
      description: Execute a Kraken GraphQL query or mutation against the accounts/ledger/billing surface.
      hints: {readOnly: false, destructive: false, idempotent: false}
      call: graphql-accounts.queryaccounts
      with: {body: tools.body}
      outputParameters: [{type: object, mapping: $.}]