---
title: "Public Power Forecast"
method: GET
path: "/public_power_forecast"
tags: ["power"]
---

# Public Power Forecast

`GET /public_power_forecast`

Returns the forecast of the public net electricity production in Megawatt (MW) for a given country for each production type.
    


    

<b>production_type:</b> Can be solar, wind_onshore, wind_offshore or load
    <br><b>forecast_type:</b> Can be current, intraday or day-ahead
    


    

If no dates are provided, values for today until forecast is available are returned. For load only the forecast type "day-ahead" is available.
    


    

Response schema:
    

 ```json
{
  "unix_seconds": list[int],
  "forecast_values": list[float],
  "production_type": str,
  "forecast_type": str,
  "deprecated": bool
}
```

## Query parameters

- `country` string
- `production_type` string
- `forecast_type` string
- `start` string
- `end` string

## Response `200`

Successful Response

- PublicPowerForecastModel
  - `unix_seconds` integer[], required
  - `forecast_values` number[], required
  - `production_type` string, required
  - `forecast_type` string, required
  - `deprecated` boolean, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/energy-charts/apis/energy-charts-api.md) · [All operations](https://skmtc.net/energy-charts/apis/energy-charts-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/energy-charts/energy-charts-api/revisions/ebf9e22a0925/schema)
