---
title: "Calculate balance for a Bilanzkreis over a time period"
method: POST
path: "/api/bilanzkreis/:id/calculate"
tags: ["Settlement (Abrechnung)"]
---

# Calculate balance for a Bilanzkreis over a time period

`POST /api/bilanzkreis/:id/calculate`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/bilanzkreis/:id/calculate`
- Auth: none declared

Loads timeseries for all participants from EDM, calculates saldo per 15-min interval, and returns summary with self-consumption and autarky rates.

## Query parameters

- `token` string

## Request body

- object
  - `id` string, required
  - `from` string, required
  - `to` string, required
  - `token` string: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

## Response `200`

Successful response

- object

---

[API](https://skmtc.dev/cernion/apis/cernion-energy-tools-api.md) · [All operations](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/revisions/cdb94473b538?raw)
