Skip to main content

Cleared Load (MW)

UPDATED Thursday July 15, 10:08 PM PST

HTTP Request
GET https://wprice.io/api/v1/present/load/clearedLoad

This endpoint returns the cleared load in MegaWatts (MW) for a given zone.

Requires an API Key

This feature is only available to WattPricer Account-holders.

Query Parameters#

ParameterDescriptionExamples
zone_keyA string representing the zone identifier. We use a combination of ISO 3166-1 alpha-2 country codes, ISO 3166-2 country subdivision code, and where applicable, ISO 639-1 language codes for our locale codes. See the /zones endpoint for a list of valid zones.US-MISO
as_csv (OPTIONAL)Boolean indicating whether to return the data in CSV format.true

Code samples#

cURL command
@ECHO OFF
curl -v -X GET "https://wprice.io/api/v1/present/load/clearedLoad?zone_key={string}&as_csv={boolean}"-H "x-api-key: {subscription key}"
--data-ascii "{body}"

Successful Response Samples#

HTTP 200 OK#

The above commands yield data such as the following (using zone_key=US-MISO):

response for media types 'application/json' and 'text/json'
{  "hour": ["01:00+00:00"],  "load": [60840],  "date": ["2021-02-28"],  "datetime": "2021-02-28T07:50:00+00:00",  "source": "misoenergy.org",  "updated": "2021-02-28T07:50:00+00:00",  "zoneKey": "US-MISO"}

Error Response Samples#

(Click to expand ๐Ÿ‘‡ )