Get the current CO2 MOER index
Changed onReturns the current index value for the specified region for the co2_moer signal type. This 0-100 value is the statistical percentile of the current MOER relative to the upcoming 24 hours of forecast MOER values for the specified location (100=dirtiest, 0=cleanest). Values are updated 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. No historical query is available for this endpoint.
Data from this endpoint is available for free to all users in all covered regions.
Request
- Base URLhttps://api.watttime.org
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Region abbreviation associated with location, from result of query to /v3/region-from-loc
Only co2_moer indices are currently available.
Response
Successful Response
Example response
{
"data": [
{
"point_time": "2022-07-15T00:00:00Z",
"value": 37.1
}
],
"meta": {
"data_point_period_seconds": 300,
"model": {
"date": "2023-03-01",
"type": "binned_regression"
},
"region": "CAISO_NORTH",
"signal_type": "co2_moer",
"units": "percentile",
"warnings": [
{
"message": "This is just an example",
"type": "EXAMPLE_WARNING"
}
]
}
}Changes
- warning
added the new
synthetic_vre_potentialenum value to the////response property for the response status - info
the endpoint scheme security
BearerAuthwas added to the API
- warning
- breaking
removed the enum value
co2_moerfrom thequeryrequest parametersignal_type - breaking
the
/response's property type changed fromobjectto 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
added
subschema #2to the/response propertyanyOflist for the response status - info
the
response property const valueco2_moerwas added for the status - info
removed the
co2_moerenum value from the/response property for the response status
- breaking