• Register

Physical Internal Flow

Differenze rispetto alla versione 1.0

  • L'endpoint da richiamare è stato modificato.
  • Aggiunto Offset nel risultato.
  • Aggiunto campo Timezone nel risultato.
https://api.terna.it/transmission/v2.0/physical-internal-flow?dateFrom=10/10/2021&dateTo=10/10/2021
Allows to obtain data representing the physical exchange of electricity between Italian internal market zones. This is the electricity actually exchanged between market zones in Italy.

The data coincide with those already available in the Download Center section of Transparency, where you can download them manually instead.

Authorization OAuth 2.0

Request Header

API field Type Description Format Card Example
Authorization String Token 1..1   <your access token>
Accept String Definizione Header Accept 0..1 Application/Json

Query Params

API field Type Description Format Card Example
dateFrom String Starting date of extraction dd/mm/yyyy 1..1 15/2/2021
dateTo String Final date of extraction dd/mm/yyyy 1..1 15/2/2021

Response Structure

API field Type Description Format Card Example
result Obj Result
1..1 "result":{..}
.message String Specify the status and if successful, report the request
1..1 "message": "Operation completed for the following input. Date from: 23/04/2022, date to: 23/04/2022",
.status String Specify the status and if successful, report the request
1..1 "status": "Completed"
physical_internal_flow Obj Physical Internal Flow Structure array 0..n
.date String Date yyyy-mm-dd hh:mm:ss 1..1 2020-02-12 23:00:00
.date_tz String Time Zone Continent/City 1..1 Europe/Rome
.date_offset String Time Offset 1..1 +02:00
.flow String Flow Direction 1..1 Centre-North -> North
.physical_internal_flow_MW String Physical Internal Flow  1..1 -488.3051289102222

Example

cURL Request

curl --location --request GET 'https://api.terna.it/transmission/v2.0/physical-internal-flow?dateFrom=23/04/2022&dateTo=23/04/2022' --header 'Authorization: <token>'

Response

{
                    "result": {
                        "message": "Operation completed for the following input. Date from: 23/04/2022, date to: 23/04/2022",
                        "status": "Completed"
                    },
                    "physical_internal_flow": [
                        {
                            "date": "2022-04-23 23:00:00",
                            "date_tz": "Europe/Rome",
                            "date_offset": "+02:00",
                            "flow": "Centre-North -> North",
                            "physical_internal_flow_MW": "18.51746691173016"
                        },
                        {
                            "date": "2022-04-23 23:00:00",
                            "date_tz": "Europe/Rome",
                            "date_offset": "+02:00",
                            "flow": "Sardinia -> Centre-South",
                            "physical_internal_flow_MW": "400.14073738839284"
                        }
                    ]
}