---
title: "Generate generation forecast (solar/wind)"
method: POST
path: "/api/forecast/generation"
tags: ["Forecast (Prognostik)"]
---

# Generate generation forecast (solar/wind)

`POST /api/forecast/generation`

## Request

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

Wraps mastr_generation_forecast MCP tool with KRITIS-safe fallback. If MCP unavailable, uses installed capacity × typical capacity factor as estimate.

## Query parameters

- `token` string

## Request body

- object
  - `gridOperatorMastrId` string
  - `postleitzahl` string
  - `installationType` 'solar' | 'wind' | 'all'
  - `date` string, required
  - `forecastDays` number
  - `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)
