• Register

Commercial Balance Prices

This endpoint replaces its counterpart in the Market And Fees sectionmarket-and-fees/v1.0/commercial-balance-prices.

https://api.terna.it/fees/v1.0/commercial-balance-prices?dateFrom=10/05/2022&dateTo=21/05/2022

Prezzi saldi commerciali

The data coincide with those already available in the Sunset section of MyTerna, 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>
businessID String Identificativo facoltativo che può essere utilizzato per identificare il messaggio durante la fase di analisi quando si apre un ticket al support team di Terna. 0..1 b57aca2f-41b8-4a6e-a43c-2fc5f8309f94
Accept String Definizione Header Accept 0..1 Application/Json

Query Params

API field Type Description Format Card Example
dateFrom String Data di inizio dell'estrazione dd/mm/yyyy 1..1 15/2/2021
dateTo String Data di fine dell'estrazione dd/mm/yyyy 1..1 15/2/2021

Response Structure

API field Type Description Format Card Example
result Obj Request result
1..1 "result":{..}
.message String Specify the status and if successful, report the request
1..1 "message": "Operation completed for the following request: date from: 22/5/2022, date to: 23/06/2022",
.status String Specify the status and if successful, report the request
1..1 "status": "Completed"
commercial_balance_prices Obj Commercial Balance Prices Structure array 0..n
.publication_date String Date yyyy-mm-dd hh:mm:ss 1..1 2022-10-01 00:00:00
.date_time String Date yyyy-mm-dd hh:mm:ss 1..1 2022-09-01 00:00:00
.date_tz String Time Zone 1..1 Europe/Rome
.macrozone String Macrozone  1..1 NORD
.zone String Zone  0..1 AUST
.sell_price_EURxMWh String Price Sell  0..1  69.179
.buy_price_EURxMWh String Price Buy  0..1  69.179

Example

cURL Request

curl -X 'GET' 'https://api.terna.it/ifees/v1.0/market/commercial-balance-prices?dateFrom=10/05/2022&dateTo=21/05/2022' --header 'Authorization: <token>'

Response

{
        "result": {
            "message": "Operation completed for the following input. Date from: 10/05/2022, date to: 21/05/2022",
            "status": "Completed"
        },
        "commercial_balance_prices": [
            {
                "publication_date": "2022-05-17 17:45:00",
                "date_time": "2022-05-16 01:00:00",
                "date_tz": "Europe/Rome",
                "macrozone": "SUD",
                "zone": "CSUD",
                "sell_price_EURxMWh": "210.8",
                "buy_price_EURxMWh": "210.8"
            },
            {
                "publication_date": "2022-05-17 17:45:00",
                "date_time": "2022-05-16 01:00:00",
                "date_tz": "Europe/Rome",
                "macrozone": "NORD",
                "zone": "FRAN",
                "sell_price_EURxMWh": "170.697",
                "buy_price_EURxMWh": "170.697"
            }
            ]
}