Cross Border Physical Flows
Changed onReturns the cross-border physical flows (cbpfs) of electricity in GW between a specified country and its neighbors.
Positive values indicate an import of electricity, whereas negative values show electricity exports.
Response schema:
{
"unix_seconds": [int],
"countries": [
{
"name": str,
"data": [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
countrieslist-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