Get Network Data
Get time series data for a network.
This endpoint returns time series data for a network, with optional grouping by region and other dimensions. The data can be aggregated by different time intervals.
Args: network_code: The network to get data for metrics: List of metrics to query (e.g. energy, power, price) interval: The time interval to aggregate by date_start: Start time for the query date_end: End time for the query primary_grouping: Primary grouping to apply secondary_grouping: Optional secondary grouping to apply client: ClickHouse client dependency
Returns: APIV4ResponseSchema: Time series data response containing a list of TimeSeries objects, one per requested metric
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
The time interval to aggregate data by
5m
, 1h
, 1d
, 7d
, 1M
, 3M
, season
, 1y
, fy
Start time for the query
End time for the query
Primary grouping to apply
network
, network_region
Optional secondary grouping to apply Secondary grouping types for time series data.
These groupings can be applied on top of the primary grouping to provide additional dimensionality to the data.
Attributes: FUELTECH: Group by individual fuel technologies FUELTECH_GROUP: Group by fuel technology groups (e.g., coal, gas, solar) STATUS: Group by facility status (e.g., operating, retired) RENEWABLE: Group by renewable vs non-renewable
fueltech
, fueltech_group
, status
, renewable
Response
Successful Response
The response is of type object
.