Get Facility Data
Get time series data for a specific facility.
This endpoint returns time series data for a facility, with data grouped by unit. The data can be aggregated by different time intervals.
Args: network_code: The network the facility belongs to facility_code: The facility code to get data for metrics: List of metrics to query (e.g. energy, power, emissions) interval: The time interval to aggregate by date_start: Start time for the query date_end: End time for the query client: ClickHouse client dependency
Returns: APIV4ResponseSchema: Time series data response containing a list of TimeSeries objects, one per requested metric, with data for each unit
Get Facility Data
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Query Parameters
The metrics to get data for
power
, energy
, price
, market_value
, demand
, demand_energy
, emissions
, renewable_proportion
The time interval to aggregate data by
5m
, 1h
, 1d
, 7d
, 1M
, 3M
, season
, 1y
, fy
The facility code to get data for
Start time for the query
End time for the query