The net position informs whether the given area imports or exports energy. Those rows which hold the queried eic value in the 'ts_connecting_domain_mrid' column show the export value. Those rows which hold the queried eic value in the 'ts_acquiring_domain_mrid' column show the import value.
Usage
exchanged_volumes(
eic = NULL,
process_type = NULL,
period_start = ymd(Sys.Date() - days(x = 7L), tz = "CET"),
period_end = ymd(Sys.Date(), tz = "CET"),
tidy_output = TRUE,
security_token = Sys.getenv("ENTSOE_PAT")
)Arguments
- eic
Energy Identification Code of the area
- process_type
type of frequency restoration reserve "A51" aFRR "A60" mFRR with scheduled activation "A61" mFRR with direct activation
- period_start
POSIXct or YYYY-MM-DD HH:MM:SS format One day range limit applies
- period_end
POSIXct or YYYY-MM-DD HH:MM:SS format One day range limit applies
- tidy_output
Defaults to TRUE. flatten nested tables
- security_token
Security token for ENTSO-E transparency platform
Value
A tibble::tibble() with the queried data.
See also
Other balancing endpoints:
activated_balancing_prices(),
aggregated_balancing_energy_bids(),
allocation_of_cross_zonal_balancing_cap(),
balancing_border_cap_limit(),
balancing_energy_bids(),
changes_to_bid_availability(),
contracted_reserves(),
current_balancing_state(),
elastic_demands(),
exchanged_volumes_per_border(),
fcr_total_capacity(),
financial_expenses_and_income(),
hvdc_link_constrains(),
imbalance_prices(),
imbalance_volumes(),
netted_volumes(),
netted_volumes_per_border(),
procured_balancing_capacity(),
rr_and_frr_actual_capacity(),
shares_of_fcr_capacity(),
sharing_of_rr_and_frr_capacity()
Examples
df <- entsoeapi::exchanged_volumes(
eic = "10YCZ-CEPS-----N",
process_type = "A51",
period_start = lubridate::ymd(x = "2022-08-16", tz = "CET"),
period_end = lubridate::ymd_hm(x = "2022-08-16 02:00", tz = "CET"),
tidy_output = TRUE
)
#>
#> ── API call ────────────────────────────────────────────────────────────────────────────────────────────────────────────
#> → https://web-api.tp.entsoe.eu/api?documentType=B17&processType=A51&Acquiring_domain=10YCZ-CEPS-----N&Connecting_Domain=10YCZ-CEPS-----N&periodStart=202208152200&periodEnd=202208160000&securityToken=<...>
#> <- HTTP/1.1 400 Bad Request
#> <- Date: Tue, 20 Oct 2026 10:22:15 GMT
#> <- Content-Type: text/xml
#> <- Content-Length: 1115
#> <- Connection: keep-alive
#> <- Content-Disposition: inline; filename="acknowledgement.xml"
#> <- Strict-Transport-Security: max-age=15724800
#> <- Vary: accept-encoding
#> <- X-Content-Type-Options: nosniff
#> <- X-Xss-Protection: 0
#> <-
#> Error in extract_response(content = en_cont_list, tidy_output = tidy_output): 999 An unexpected error occurred: I/O error on POST request for
#> "http://usy-tp-dipublicationg01-6a5735c98696d2beccfe3acb.uni-bt-tap.svc.cluster.local:8080/usy-tp-dipublicationg01/e0d6734b9e5f58c4b050df6fa88832c9/dataItemInstance/list":
#> Timeout deadline: 5000 MILLISECONDS, actual: 5000 MILLISECONDS
dplyr::glimpse(df)
#> function (x, df1, df2, ncp, log = FALSE)