GET Historical

Get a range of historical signal data

Changed on

Returns signal data (e.g. CO₂ MOER in lbs/MWh) for the specified region, signal_type, and time period. Values are published in near real-time, periodically (e.g. at 5-minute frequency), and each value is valid starting from its point_time for the duration described in data_point_period_seconds. The publishing delay (the difference between the point_time for the value and the time that value is available in the API) varies by grid region. In some regions the data will be available within one minute after a certain point_time, in other regions there may be a delay of up to a few hours. Each query is limited to 32 days of data. Individual data point values may be updated at any time after publishing (e.g. if better source data is obtained).

get/v3/historical

Request

Query parameters

startstring date-time required

(inclusive) ISO8601-compliant timezone-aware date string indicating earliest desired data, used to select the first point_time included in the response

Example:2023-03-31T13:42:00Z
endstring date-time required

(inclusive) ISO8601-compliant timezone-aware date string indicating latest desired data, used to select the last point_time included in the response

Example:2023-03-31T13:42:00Z
regionstring required

Region abbreviation associated with location, from result of query to /v3/region-from-loc

Example:CAISO_NORTH
'co2_moer' | 'health_damage' required
OR
'co2_aoer' required
modelstring date nullable

Use to return different models from defaults.

Example:2022-10-01
include_imputed_markerboolean

Use to return whether or not the value associated with a point_time is generated with imputed data.

Example:true
updated_sincestring date-time nullable

Filter results for data newer than the provided datetime.

Example:2022-01-01T00:00:00Z

Response

Successful Response

Example response

{
  "data": [
    {
      "imputed_data_used": true,
      "last_updated": "2023-10-01T00:00:00Z",
      "point_time": "2022-07-15T00:00:00Z",
      "value": 870
    },
    {
      "imputed_data_used": true,
      "last_updated": "2023-10-01T00:05:00Z",
      "point_time": "2022-07-15T00:05:00Z",
      "value": 860
    }
  ],
  "meta": {
    "data_point_period_seconds": 300,
    "model": {
      "date": "2023-03-01",
      "type": "binned_regression"
    },
    "region": "CAISO_NORTH",
    "signal_type": "co2_moer",
    "units": "lbs_co2_per_mwh",
    "warnings": [
      {
        "message": "This is just an example",
        "type": "EXAMPLE_WARNING"
      }
    ]
  }
}

Changes

    • warning

      added the new synthetic_vre_potential enum value to the //// response property for the response status

    • info

      the endpoint scheme security BearerAuth was added to the API

    • breaking

      response property data/items/imputed_data_used list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property data/items/last_updated list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      the / response's property type changed from object to no type for status

    • breaking

      removed the required property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • info

      query request parameter model list-of-types was widened by adding types null

    • info

      query request parameter updated_since list-of-types was widened by adding types null

    • info

      for the query request parameter model, the type was generalized from string to no type, and format from date to no format

    • info

      for the query request parameter updated_since, the type was generalized from string to no type, and format from date-time to no format

    • info

      added subschema #2 to the / response property anyOf list for the response status