openapi: 3.1.0
info:
title: Energy-Charts API
description: "\n \n\n
Timestamp Format Options
\n When specifying\
\ timestamps, you can choose from the following three formats:
\n \n\
\ - ISO 8601 Format:\n
\n \
\ - This format includes the full date and time, with an optional\
\ timezone indicator.
\n - Examples:\n \
\
\n 2025-01-01T17:00Z\
\ (UTC time) \n 2025-01-01T18:00+01:00\
\ (Local time offset by +01:00) \n
\n \
\ \n
\n \n - Daily\
\ Format:\n
\n - This format\
\ specifies only the date.
\n - The start time is assumed\
\ to be at 00:00 on the specified date in the local timezone of the specified\
\ country or bidding zone (bzn).
\n - The end timestamp\
\ is interpreted as the last minute of the specified day in the same local timezone.
\n\
\ - Example:\n
\n \
\ 2025-01-01 (Starts at 00:00 and ends at 23:59\
\ on January 1, 2025, local time) \n
\n \
\ \n
\n \n - UNIX\
\ Timestamp:\n
\n - This format\
\ specifies the time as the number of seconds since the Unix Epoch (January 1st,\
\ 1970, at 00:00 UTC).
\n - Example:\n \
\ \n
\n
\n\
\ \n
\n Default Behavior for Timestamps
\n\
\ If an end timestamp is not explicitly provided, it is assumed to be\
\ the same as the start timestamp. For daily formats, this means that one full\
\ day will be returned. If also no start timestamp is provided, the current day\
\ in the local timezone is used.
\n Discontinuation of endpoints
\n\
\ Endpoint discontinuations will be preceded by an announcement at least\
\ six months in advance, indicated by setting the \"deprecated\" status to true.
\n\
\ Data License
\n Unless stated otherwise, the data provided\
\ by the Energy-Charts API is licensed under the CC BY 4.0 license. Proper attribution to Energy-Charts.info\
\ as the source is required.
\n \n New in\
\ release v1.5 (2025-10-21)
\n \n - \n \
\ Include stricter rate limitations for public API\n (please contact\
\ leonhard.gandhi@ise.fraunhofer.de\
\ for commercial access)\n
\n - Improved load balancing on\
\ concurrent requests
\n
\n \n \n\
\ Older Releases
\n \n\
\ v1.4 (2024-07-08)
\n \n \
\ - Fix bug with wrong timezone for unix timestamps as input
\n \
\
\n \n \n \
\ v1.3 (2024-04-22)
\n \n \
\ - Fix bug which hid most recent data for /cbet and /cbpf
\n \
\ - Inlcude deprecated tag to all active endpoints
\n
\n\
\ \n \n v1.2 (2024-04-16)
\n\
\ \n - Allow also input timestamps in day format and\
\ UNIX timestamp
\n - Inlcude license info for price data available\
\ at /price
\n
\n \n \n\
\ v1.1 (2023-10-20)
\n \n \
\ - Deprecated /ren_share
\n - Deprecated /ren_share_prognosis\
\ and replaced it with /ren_share_forecast
\n - Deprecated\
\ /power and replaced it with /public_power
\n - Deprecated\
\ /price_spot_market and replaced it with /price
\n - Deprecated\
\ /traffic_signal and replaced it with /signal
\n - Added\
\ endpoint for cross-border electricity trading (/cbet)
\n - Added\
\ endpoint for cross-border physical flow (/cbpf)
\n - Changed\
\ response structure of all endpoints to fit with json specification
\n \
\ - Simplified the response json structure
\n \
\ - Removed unnecessary information from responses like names, descriptions\
\ and units
\n - Added typed response schemes to every endpoint
\n\
\ - Added example values and example requests to every endpoint
\n\
\ - Added postal code to /signal, to consider grid state in future\
\ implementations
\n - Responses that return unix timestamps\
\ now all return unix seconds
\n - Added error handling for\
\ false requests and responses
\n - Added a list of available\
\ bidding zones for /price
\n
\n \n \
\ \n v1.0 (2022-11-30)
\n\
\ \n \n \n \n\nAvailable countries:\n\
\ \n\nde - Germany (click to show all available countries)
\n\
\ ch - Switzerland
\n eu - European Union
\n all - Europe
\n\
\ al - Albania
\n am - Armenia
\n at - Austria
\n \
\ az - Azerbaijan
\n ba - Bosnia-Herzegovina
\n be - Belgium
\n\
\ bg - Bulgaria
\n by - Belarus
\n cy - Cyprus
\n \
\ cz - Czech Republic
\n dk - Denmark
\n ee - Estonia
\n\
\ es - Spain
\n fi - Finland
\n fr - France
\n \
\ ge - Georgia
\n gr - Greece
\n hr - Croatia
\n \
\ hu - Hungary
\n ie - Ireland
\n it - Italy
\n lt\
\ - Lithuania
\n lu - Luxembourg
\n lv - Latvia
\n \
\ md - Moldova
\n me - Montenegro
\n mk - North Macedonia
\n\
\ mt - Malta
\n nie - North Ireland
\n nl - Netherlands
\n\
\ no - Norway
\n pl - Poland
\n pt - Portugal
\n \
\ ro - Romania
\n rs - Serbia
\n ru - Russia
\n \
\ se - Sweden
\n si - Slovenia
\n sk - Slovak Republic
\n\
\ tr - Turkey
\n ua - Ukraine
\n uk - United Kingdom
\n\
\ xk - Kosovo
\n \n \n\nAvailable bidding zones:\n\
\ \n\nAT - Austria (click to show all available bidding\
\ zones)
\n BE - Belgium
\n BG - Bulgaria
\n \
\ CH - Switzerland
\n CZ - Czech Republic
\n DE-LU - Germany,\
\ Luxembourg
\n DE-AT-LU - Germany, Austria, Luxembourg
\n \
\ DK1 - Denmark 1
\n DK2 - Denmark 2
\n EE - Estionia
\n\
\ ES - Spain
\n FI - Finland
\n FR - France
\n \
\ GR - Greece
\n HR - Croatia
\n HU - Hungary
\n\
\ IT-Calabria - Italy Calabria
\n IT-Centre-North - Italy Centre\
\ North
\n IT-Centre-South - Italy Centre South
\n IT-North\
\ - Italy North
\n IT-SACOAC - Italy Sardinia Corsica AC
\n \
\ IT-SACODC - Italy Sardinia Corsica DC
\n IT-Sardinia - Italy Sardinia
\n\
\ IT-Sicily - Italy Sicily
\n IT-South - Italy South
\n \
\ LT - Lithuania
\n LV - Latvia
\n ME - Montenegro
\n\
\ NL - Netherlands
\n NO1 - Norway 1
\n NO2 - Norway\
\ 2
\n NO2NSL - Norway North Sea Link
\n NO3 - Norway 3
\n\
\ NO4 - Norway 4
\n NO5 - Norway 5
\n PL - Poland
\n\
\ PT - Portugal
\n RO - Romania
\n RS - Serbia
\n\
\ SE1 - Sweden 1
\n SE2 - Sweden 2
\n SE3 - Sweden\
\ 3
\n SE4 - Sweden 4
\n SI - Slovenia
\n SK - Slovakia
\n\
\ \n \n\nHint: Don't use the Try it out button\
\ on this documentation page to download large datasets as it might lead to long\
\ loading times.\n "
termsOfService: https://energy-charts.info/data-protection.html
contact:
name: Contact
url: https://energy-charts.info/contact.html
license:
name: Publishing notes
url: https://energy-charts.info/publishing-notes.html
version: '1.5'
paths:
/public_power:
get:
tags:
- power
summary: Public Power
description: "Returns the public net electricity production for a given country\
\ for each production type. Subtype can be \"solarlog\" for Switzerland (ch).\n\
\ \n\n\n \n\nResponse schema:\n \n\n ```json\n{\n \"unix_seconds\"\
: list[int],\n \"production_types\": [\n {\n \"name\": str,\n \
\ \"data\": list[float]\n }\n ],\n \"deprecated\": bool\n}\n```"
operationId: public_power_public_power_get
parameters:
- name: country
in: query
required: false
schema:
type: string
default: de
title: Country
- name: start
in: query
required: false
schema:
type: string
default: ''
title: Start
- name: end
in: query
required: false
schema:
type: string
default: ''
title: End
- name: subtype
in: query
required: false
schema:
type: string
default: ''
title: Subtype
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ProductionModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/public_power_forecast:
get:
tags:
- power
summary: Public Power Forecast
description: "Returns the forecast of the public net electricity production\
\ for a given country for each production type.\n \n\n\n \n\nproduction_type:\
\ Can be solar, wind_onshore, wind_offshore or load\n
forecast_type:\
\ Can be current, intraday or day-ahead\n \n\n\n \n\nIf no dates are\
\ provided, values for today until forecast is available are returned. For\
\ load only the forecast type \"day-ahead\" is available.\n \n\n\n \n\
\nResponse schema:\n \n\n ```json\n{\n \"unix_seconds\": list[int],\n\
\ \"forecast_values\": list[float],\n \"production_type\": str,\n \"forecast_type\"\
: str,\n \"deprecated\": bool\n}\n```"
operationId: public_power_forecast_public_power_forecast_get
parameters:
- name: country
in: query
required: false
schema:
type: string
default: de
title: Country
- name: production_type
in: query
required: false
schema:
type: string
default: solar
title: Production Type
- name: forecast_type
in: query
required: false
schema:
type: string
default: current
title: Forecast Type
- name: start
in: query
required: false
schema:
type: string
default: ''
title: Start
- name: end
in: query
required: false
schema:
type: string
default: ''
title: End
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PublicPowerForecastModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/total_power:
get:
tags:
- power
summary: Total Power
description: "Returns the total net electricity production (including industrial\
\ self supply) for a given country for each production type.\n \n\n\n \
\ \n\nCurrently only available for Germany.\n \n\n\n \n\nResponse\
\ schema:\n \n\n ```json\n{\n \"unix_seconds\": list[int],\n \"production_types\"\
: [\n {\n \"name\": str,\n \"data\": list[float]\n }\n\
\ ],\n \"deprecated\": bool\n}\n```"
operationId: total_power_total_power_get
parameters:
- name: country
in: query
required: false
schema:
type: string
default: de
title: Country
- name: start
in: query
required: false
schema:
type: string
default: ''
title: Start
- name: end
in: query
required: false
schema:
type: string
default: ''
title: End
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ProductionModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/installed_power:
get:
tags:
- power
summary: Installed Power
description: "Returns the installed power for a specified country in GW except\
\ for battery storage capacity, which is given in GWh. Monthly installation\
\ / decommission numbers are returned in MW instead of GW. \"last_update\"\
\ is the time of the last data update, expressed as seconds since the Unix\
\ epoch (UTC).\n \n\n\n \n\ntime_step: Time step can be either\
\ \"yearly\" or \"monthly\" (only for Germany)\n
installation_decommission:\
\ If true, the net installation / decommission numbers are returned instead\
\ of total installed power\n \n\n\n \n\nResponse schema:\n \n\n ```json\n\
{ \n \"time\": list[str],\n \"production_types\": [\n {\n \"name\"\
: str, \n \"data\": list[float]\n }\n ],\n \"last_update\": int,\n\
\ \"deprecated\": bool\n}\n```"
operationId: installed_power_installed_power_get
parameters:
- name: country
in: query
required: false
schema:
type: string
default: de
title: Country
- name: time_step
in: query
required: false
schema:
type: string
default: yearly
title: Time Step
- name: installation_decommission
in: query
required: false
schema:
type: boolean
default: false
title: Installation Decommission
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/InstalledModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/price:
get:
tags:
- prices
summary: Day Ahead Price
description: "Returns the day-ahead spot market price for a specified bidding\
\ zone in EUR/MWh.\n \n\n\n \n\nAvailable bidding zones (bzn) are shown\
\ above.\n \n\n\n \n\nThe data for the following bidding zones is\
\ licensed as CC BY 4.0 from Bundesnetzagentur | SMARD.de and is published\
\ without changes:\n \n - AT (Austria)
\n - BE\
\ (Belgium)
\n - CH (Switzerland)
\n - CZ (Czech\
\ Republic)
\n - DE-LU (Germany, Luxembourg)
\n - DE-AT-LU\
\ (Germany, Austria, Luxembourg)
\n - DK1 (Denmark 1)
\n\
\ - DK2 (Denmark 2)
\n - FR (France)
\n - HU\
\ (Hungary)
\n - IT-North (Italy North)
\n - NL\
\ (Netherlands)
\n - NO2 (Norway 2)
\n - PL (Poland)
\n\
\ - SE4 (Sweden 4)
\n - SI (Slovenia)\n
\n\
\ \n\n\n \n\nThe data for the other bidding zones is for private\
\ and internal use only. The utilization of any data\nwhether in its\
\ raw or derived form, for external or commercial purposes is expressly prohibited.\
\ Should you require licensing for market-related data, please direct your\
\ inquiries to the original data providers, including but not limited to EPEX\
\ SPOT SE.\n \n\nResponse schema:\n \n\n```json\n{\n \"license_info\"\
: str,\n \"unix_seconds\": [int],\n \"price\": [float],\n \"unit\"\
: str,\n \"deprecated\": bool\n}\n```"
operationId: day_ahead_price_price_get
parameters:
- name: bzn
in: query
required: false
schema:
type: string
default: DE-LU
title: Bzn
- name: start
in: query
required: false
schema:
type: string
default: ''
title: Start
- name: end
in: query
required: false
schema:
type: string
default: ''
title: End
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PriceModel'
'404':
description: No price data available for that bidding zone/time range
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/cbet:
get:
tags:
- import_export
summary: Cross Border Electricity Trading
description: "Returns the cross-border electricity trading (cbet) in GW between\
\ a specified country and its neighbors.\n \n\nPositive values indicate\
\ an import of electricity, whereas negative values show electricity exports.\n\
\ \n\n\n \n\nResponse schema:\n \n\n```json\n{\n \"\
unix_seconds\": [int],\n \"countries\": [\n {\n \"name\"\
: str,\n \"data\": [float]\n }\n ],\n \"deprecated\":\
\ bool\n}\n```"
operationId: cross_border_electricity_trading_cbet_get
parameters:
- name: country
in: query
required: false
schema:
type: string
default: de
title: Country
- name: start
in: query
required: false
schema:
type: string
default: ''
title: Start
- name: end
in: query
required: false
schema:
type: string
default: ''
title: End
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CrossBorderModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/cbpf:
get:
tags:
- import_export
summary: Cross Border Physical Flows
description: "Returns the cross-border physical flows (cbpfs) of electricity\
\ in GW between a specified country and its neighbors.\n \n\nPositive\
\ values indicate an import of electricity, whereas negative values show electricity\
\ exports.\n \n\n\n \n\nResponse schema:\n \n\n```json\n\
{\n \"unix_seconds\": [int],\n \"countries\": [\n {\n \
\ \"name\": str,\n \"data\": [float]\n }\n ],\n \"deprecated\"\
: bool\n}\n```"
operationId: cross_border_physical_flows_cbpf_get
parameters:
- name: country
in: query
required: false
schema:
type: string
default: de
title: Country
- name: start
in: query
required: false
schema:
type: string
default: ''
title: Start
- name: end
in: query
required: false
schema:
type: string
default: ''
title: End
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CrossBorderModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/signal:
get:
tags:
- ren_share
summary: Traffic Signal
description: "Electricity traffic signal\n \n\n\n \n\nReturns the\
\ renewable share of load in percent from today until prediction is currently\
\ available and the corresponding traffic light.\n \n\n\n \n\nThe traffic\
\ light \"signal\" is indicated by the following numbers:\n \n\n\n -1:\
\ Red (grid congestion),\n 0: Red (low renewable share),\n 1: Yellow\
\ (average renewable share),\n 2: Green (high renewable share)\n \n\n\
\n \n\nIf no data is available from the primary data providers, a best\
\ guess is made from historic data. This is indicated by \"substitute\" set\
\ to True.\n \n\n\n \n\n\"postal_code\" is an optional input parameter,\
\ which will consider the local grid state (e.g. transmission line overload)\
\ in future implementations.\n \n\n\n \n\nResponse schema:\n \n\n\
```json\n{\n \"unix_seconds\": [int],\n \"share\": [float],\n \"\
signal\": [int],\n \"substitute\": bool,\n \"deprecated\": bool\n}\n\
```"
operationId: traffic_signal_signal_get
parameters:
- name: country
in: query
required: false
schema:
type: string
default: de
title: Country
- name: postal_code
in: query
required: false
schema:
type: string
default: ''
title: Postal Code
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TrafficModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/ren_share_forecast:
get:
tags:
- ren_share
summary: Renewable Share Forecast
description: "Renewable share forecast\n \n\n\n \n\nReturns the\
\ renewable share of load forecast in percent from today until prediction\
\ is currently available. It also includes the forecast for solar, wind on-\
\ and offshore share of load.\n \n\n\n \n\nIf no data is available from\
\ the primary data providers, a best guess is made from historic data. This\
\ is indicated by \"substitute\" set to True.\n \n\n\n \n\nResponse\
\ schema:\n \n\n```json\n{\n \"unix_seconds\": [int],\n \"ren_share\"\
: [float],\n \"solar_share\": [float],\n \"wind_onshore_share\": [float],\n\
\ \"wind_offshore_share\": [float],\n \"substitute\": bool,\n \"\
deprecated\": bool\n}\n```"
operationId: renewable_share_forecast_ren_share_forecast_get
parameters:
- name: country
in: query
required: false
schema:
type: string
default: de
title: Country
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/RenShareModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/ren_share_daily_avg:
get:
tags:
- ren_share
summary: Ren Share Daily Avg
description: "Average daily renewable share of load\n \n\n\n \n\
\nReturns the average daily renewable share of load of the last 365 days (year\
\ = -1) or for a given year if provided.\n \n\n\n \n\nResponse schema:\n\
\ \n\n```json\n\n {\n \"days\": [\"dd.mm.yyyy\"],\n \"\
data\": [float],\n \"deprecated\": bool\n }\n\n ```"
operationId: ren_share_daily_avg_ren_share_daily_avg_get
parameters:
- name: country
in: query
required: false
schema:
type: string
default: de
title: Country
- name: year
in: query
required: false
schema:
type: integer
default: -1
title: Year
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/DailyAvgDict'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/solar_share:
get:
tags:
- ren_share
summary: Solar Share
description: "Solar Share of Load\n \n\n\n \n\nReturns the solar\
\ share of load from today until prediction is currently available\n \n\
\n\n \n\nResponse schema:\n \n\n```json\n{\n \"unix_seconds\": list[int],\n\
\ \"data\": list[float],\n \"forecast\": list[float],\n \"deprecated\"\
: bool\n}\n```"
operationId: solar_share_solar_share_get
parameters:
- name: country
in: query
required: false
schema:
type: string
default: de
title: Country
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ShareModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/solar_share_daily_avg:
get:
tags:
- ren_share
summary: Solar Share Daily Avg
description: "Average daily solar share of load\n \n\n\n \n\nReturns\
\ the average daily solar share of load of the last 365 days (year = -1) or\
\ for a given year if provided.\n \n\n\n \n\nResponse schema:\n \n\
\n```json\n{\n \"days\": [\"dd.mm.yyyy\"],\n \"data\": [float],\n \
\ \"deprecated\": bool\n}\n```"
operationId: solar_share_daily_avg_solar_share_daily_avg_get
parameters:
- name: country
in: query
required: false
schema:
type: string
default: de
title: Country
- name: year
in: query
required: false
schema:
type: integer
default: -1
title: Year
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/DailyAvgDict'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/wind_onshore_share:
get:
tags:
- ren_share
summary: Wind Onshore Share
description: "Wind Onshore Share of Load\n \n\n\n \n\nReturns the\
\ wind onshore share of load from today until prediction is currently available\n\
\ \n\n\n \n\nResponse schema:\n \n\n```json\n{\n \"unix_seconds\"\
: list[int],\n \"data\": list[float],\n \"forecast\": list[float],\n\
\ \"deprecated\": bool\n}\n```"
operationId: wind_onshore_share_wind_onshore_share_get
parameters:
- name: country
in: query
required: false
schema:
type: string
default: de
title: Country
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ShareModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/wind_onshore_share_daily_avg:
get:
tags:
- ren_share
summary: Wind Onshore Share Daily Avg
description: "Average daily wind onshore share of load\n \n\n\n \
\ \n\nReturns the average daily wind onshore share of load of the last 365\
\ days\n \n\n\n \n\nResponse schema:\n \n\n```json\n{\n \"days\"\
: [\"dd.mm.yyyy\"],\n \"data\": [float],\n \"deprecated\": bool\n}\n\
```"
operationId: wind_onshore_share_daily_avg_wind_onshore_share_daily_avg_get
parameters:
- name: country
in: query
required: false
schema:
type: string
default: de
title: Country
- name: year
in: query
required: false
schema:
type: integer
default: -1
title: Year
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/DailyAvgDict'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/wind_offshore_share:
get:
tags:
- ren_share
summary: Wind Offshore Share
description: "Wind Offshore Share of Load\n \n\n\n \n\nReturns\
\ the wind offshore share of load from today until prediction is currently\
\ available\n \n\n\n \n\nResponse schema:\n \n\n```json\n{\n \"\
unix_seconds\": list[int],\n \"data\": list[float],\n \"forecast\":\
\ list[float],\n \"deprecated\": bool\n}\n```"
operationId: wind_offshore_share_wind_offshore_share_get
parameters:
- name: country
in: query
required: false
schema:
type: string
default: de
title: Country
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ShareModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/wind_offshore_share_daily_avg:
get:
tags:
- ren_share
summary: Wind Offshore Share Daily Avg
description: "Average daily wind offshore share of load\n \n\n\n \
\ \n\nReturns the average daily wind offshore share of load of the last\
\ 365 days\n \n\n\n \n\nResponse schema:\n \n\n```json\n\n{\n \
\ \"days\": [\"dd.mm.yyyy\"],\n \"data\": [float],\n \"deprecated\"\
: bool\n}\n\n```"
operationId: wind_offshore_share_daily_avg_wind_offshore_share_daily_avg_get
parameters:
- name: country
in: query
required: false
schema:
type: string
default: de
title: Country
- name: year
in: query
required: false
schema:
type: integer
default: -1
title: Year
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/DailyAvgDict'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/frequency:
get:
tags:
- power
summary: Frequency
description: "Returns the frequency measured at Fraunhofer ISE in Freiburg,\
\ Germany. Currently only the frequency in RG Continental Europe (formerly\
\ UCTE) is available. The data is available in 1 second timesteps from 1st\
\ of May 2022 onwards.\n \n\n\n \n\nResponse schema:\n \n\n ```json\n\
{\n \"unix_seconds\": list[int],\n \"data\": list[float],\n \"deprecated\"\
: bool\n}\n```"
operationId: frequency_frequency_get
parameters:
- name: region
in: query
required: false
schema:
type: string
default: DE-Freiburg
title: Region
- name: start
in: query
required: false
schema:
type: string
default: ''
title: Start
- name: end
in: query
required: false
schema:
type: string
default: ''
title: End
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FrequencyModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
CrossBorderModel:
properties:
unix_seconds:
anyOf:
- items:
type: integer
type: array
- type: 'null'
title: Unix Seconds
countries:
anyOf:
- items:
$ref: '#/components/schemas/NamedData'
type: array
- type: 'null'
title: Countries
deprecated:
type: boolean
title: Deprecated
type: object
required:
- deprecated
title: CrossBorderModel
DailyAvgDict:
properties:
days:
items:
type: string
type: array
title: Days
description: List of days in the format dd.mm.yyyy
data:
items:
anyOf:
- type: number
- type: 'null'
type: array
title: Data
description: List of average daily values
deprecated:
type: boolean
title: Deprecated
type: object
required:
- days
- data
- deprecated
title: DailyAvgDict
FrequencyModel:
properties:
unix_seconds:
anyOf:
- items:
type: integer
type: array
- type: 'null'
title: Unix Seconds
data:
items:
anyOf:
- type: number
- type: 'null'
type: array
title: Data
deprecated:
type: boolean
title: Deprecated
type: object
required:
- data
- deprecated
title: FrequencyModel
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
InstalledModel:
properties:
time:
items:
type: string
type: array
title: Time
production_types:
anyOf:
- items:
$ref: '#/components/schemas/NamedData'
type: array
- type: 'null'
title: Production Types
last_update:
anyOf:
- type: integer
- type: 'null'
title: Last Update
deprecated:
type: boolean
title: Deprecated
type: object
required:
- time
- last_update
- deprecated
title: InstalledModel
NamedData:
properties:
name:
type: string
title: Name
data:
items:
anyOf:
- type: number
- type: 'null'
type: array
title: Data
type: object
required:
- name
- data
title: NamedData
PriceModel:
properties:
license_info:
type: string
title: License Info
unix_seconds:
anyOf:
- items:
type: integer
type: array
- type: 'null'
title: Unix Seconds
price:
anyOf:
- items:
anyOf:
- type: number
- type: 'null'
type: array
- type: 'null'
title: Price
unit:
type: string
title: Unit
deprecated:
type: boolean
title: Deprecated
type: object
required:
- license_info
- unit
- deprecated
title: PriceModel
ProductionModel:
properties:
unix_seconds:
anyOf:
- items:
type: integer
type: array
- type: 'null'
title: Unix Seconds
production_types:
anyOf:
- items:
$ref: '#/components/schemas/NamedData'
type: array
- type: 'null'
title: Production Types
deprecated:
type: boolean
title: Deprecated
type: object
required:
- deprecated
title: ProductionModel
PublicPowerForecastModel:
properties:
unix_seconds:
items:
type: integer
type: array
title: Unix Seconds
forecast_values:
items:
anyOf:
- type: number
- type: 'null'
type: array
title: Forecast Values
production_type:
type: string
title: Production Type
forecast_type:
type: string
title: Forecast Type
deprecated:
type: boolean
title: Deprecated
type: object
required:
- unix_seconds
- forecast_values
- production_type
- forecast_type
- deprecated
title: PublicPowerForecastModel
RenShareModel:
properties:
unix_seconds:
items:
type: integer
type: array
title: Unix Seconds
ren_share:
items:
anyOf:
- type: number
- type: 'null'
type: array
title: Ren Share
solar_share:
anyOf:
- items:
type: number
type: array
- type: 'null'
title: Solar Share
wind_onshore_share:
anyOf:
- items:
type: number
type: array
- type: 'null'
title: Wind Onshore Share
wind_offshore_share:
anyOf:
- items:
type: number
type: array
- type: 'null'
title: Wind Offshore Share
substitute:
type: boolean
title: Substitute
deprecated:
type: boolean
title: Deprecated
type: object
required:
- unix_seconds
- ren_share
- substitute
- deprecated
title: RenShareModel
ShareModel:
properties:
unix_seconds:
anyOf:
- items:
type: integer
type: array
- type: 'null'
title: Unix Seconds
data:
anyOf:
- items:
anyOf:
- type: number
- type: 'null'
type: array
- type: 'null'
title: Data
forecast:
anyOf:
- items:
anyOf:
- type: number
- type: 'null'
type: array
- type: 'null'
title: Forecast
deprecated:
type: boolean
title: Deprecated
type: object
required:
- deprecated
title: ShareModel
TrafficModel:
properties:
unix_seconds:
items:
type: integer
type: array
title: Unix Seconds
share:
items:
anyOf:
- type: number
- type: 'null'
type: array
title: Share
signal:
items:
anyOf:
- type: integer
- type: 'null'
type: array
title: Signal
description: "\n 0: Red (low renewable share)\n 1: Yellow (average\
\ renewable share)\n 2: Green (high renewable share)\n "
substitute:
type: boolean
title: Substitute
deprecated:
type: boolean
title: Deprecated
type: object
required:
- unix_seconds
- share
- substitute
- deprecated
title: TrafficModel
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
tags:
- name: power
description: Query power values
- name: import_export
description: Import/export values
- name: prices
description: Query price values
- name: ren_share
description: Renewable shares