v1
latestOpenAPI 3.0.12026-07-178827.6 KBCarbonAware
Calculate the best emission data by list of locations for a specified time period.
get/emissions/bylocations/best
Query parameters
locationstring[] required
String array of named locations
timestring date-time
Example:2022-03-01T15:30:00Z
[Optional] Start time for the data query.
toTimestring date-time
Example:2022-03-01T18:30:00Z
[Optional] End time for the data query.
Response
Success
Example response
[
{
"duration": "duration",
"rating": 0.8008281904610115,
"location": "location",
"time": "2000-01-23T04:56:07.000+00:00"
}
]