GET
/
v4
/
data
/
facilities
/
{network_code}

Get Facility Data

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

network_code
string
required

Query Parameters

metrics
enum<string>[]
required

The metrics to get data for

Available options:
power,
energy,
price,
market_value,
demand,
demand_energy,
emissions,
renewable_proportion
interval
enum<string>

The time interval to aggregate data by

Available options:
5m,
1h,
1d,
7d,
1M,
3M,
season,
1y,
fy
facility_code
string[] | null

The facility code to get data for

date_start
string | null

Start time for the query

date_end
string | null

End time for the query

with_clerk
boolean
default:
true

Response

200
application/json
Successful Response
version
string
created_at
string
success
boolean
default:
true
error
string | null
data
any[]
total_records
integer | null