---
title: "Calculate residual load (consumption minus generation)"
method: POST
path: "/api/forecast-engine/residual"
tags: ["Forecast (Prognostik)"]
---

# Calculate residual load (consumption minus generation)

`POST /api/forecast-engine/residual`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/forecast-engine/residual`
- Auth: none declared

## Query parameters

- `token` string

## Request body

- object
  - `loadForecast` object
  - `generationForecast` object
  - `meloId` string
  - `profileId` string
  - `annualConsumptionKwh` number
  - `postleitzahl` string
  - `date` 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)
