/
/CarbonAware.WebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 2h ago · Updated 1mo ago
CarbonAware7
  • getCalculate the best emission data by list of locations for a specified time period.
  • getCalculate the observed emission data by list of locations for a specified time period.
  • getCalculate the best emission data by location for a specified time period.
  • getRetrieves the most recent forecasted data and calculates the optimal marginal carbon intensity window.
  • postGiven an array of historical forecasts, retrieves the data that contains forecasts metadata, the optimal forecast and a range of forecasts filtered by the attributes [start...end] if provided.
  • getRetrieves the measured carbon intensity data between the time boundaries and calculates the average carbon intensity during that period.
  • postGiven an array of request objects, each with their own location and time boundaries, calculate the average carbon intensity for that location and time period and return an array of carbon intensity objects.
Locations1
    CarbonAware

    Calculate the best emission data by location for a specified time period.

    get/emissions/bylocation

    Query parameters

    locationstring required

    String named location.

    startTimestring date-time

    [Optional] Start time for the data query.

    endTimestring date-time

    [Optional] End time for the data query.

    Response

    Success

    locationstring nullable
    timestring date-time
    ratingnumber double
    durationstring time-span

    Example response

    [
      {
        "duration": "duration",
        "rating": 0.8008281904610115,
        "location": "location",
        "time": "2000-01-23T04:56:07.000+00:00"
      }
    ]