Total Power
Changed onReturns the total net electricity production (including industrial self supply) in Megawatt (MW) for a given country for each production type.
Currently only available for Germany.
Response schema:
{
"unix_seconds": list[int],
"production_types": [
{
"name": str,
"data": list[float]
}
],
"deprecated": bool
}
Request
- Base URLhttps://api.energy-charts.info (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Response
Successful Response
Changes
- breaking
for the
queryrequest parameterend, default value was changed from2023-01-01T23:45+01:00to - breaking
for the
queryrequest parameterstart, default value was changed from2023-01-01T00:00+01:00to - breaking
response property
production_typeslist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
unix_secondslist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - info
for the
queryrequest parameterend, the format was generalized fromdate-timeto no format - info
for the
queryrequest parameterstart, the format was generalized fromdate-timeto no format - info
added the required property
to the response with the status
- breaking