{
  "opencollection": "1.0.0",
  "info": {
    "name": "Electricity Maps API",
    "version": "3.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "auth-token",
      "value": "{{authToken}}",
      "in": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Carbon Intensity",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Latest carbon intensity",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.electricitymap.org/v3/carbon-intensity/latest?zone=DE"
          },
          "docs": "Retrieves the last known carbon intensity (gCO2eq/kWh) of electricity consumed in a zone, by zone or lat/lon."
        },
        {
          "info": {
            "name": "Carbon intensity history",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.electricitymap.org/v3/carbon-intensity/history?zone=DE"
          },
          "docs": "Retrieves the last 24 hours of carbon intensity for a zone at hourly resolution."
        },
        {
          "info": {
            "name": "Carbon intensity forecast",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.electricitymap.org/v3/carbon-intensity/forecast?zone=DE"
          },
          "docs": "Retrieves the forecasted carbon intensity for a zone, 24-72 hours ahead depending on plan."
        }
      ]
    },
    {
      "info": {
        "name": "Power Breakdown",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Latest power breakdown",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.electricitymap.org/v3/power-breakdown/latest?zone=DE"
          },
          "docs": "Retrieves the last known power consumption and production breakdown of a zone, with import/export flows."
        },
        {
          "info": {
            "name": "Power breakdown history",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.electricitymap.org/v3/power-breakdown/history?zone=DE"
          },
          "docs": "Retrieves the last 24 hours of power consumption and production breakdown for a zone at 60-minute resolution."
        },
        {
          "info": {
            "name": "Power breakdown forecast",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.electricitymap.org/v3/power-breakdown/forecast?zone=DE"
          },
          "docs": "Retrieves the forecasted power production breakdown for a zone, 24-72 hours ahead depending on plan."
        }
      ]
    },
    {
      "info": {
        "name": "Power Consumption & Production",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Latest power consumption breakdown",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.electricitymap.org/v3/power-consumption-breakdown/latest?zone=DE"
          },
          "docs": "Retrieves the last known flow-traced power consumption breakdown of a zone in MW per production type."
        },
        {
          "info": {
            "name": "Latest power production breakdown",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.electricitymap.org/v3/power-production-breakdown/latest?zone=DE"
          },
          "docs": "Retrieves the last known physical power production breakdown of a zone in MW per production type."
        }
      ]
    },
    {
      "info": {
        "name": "Zones & Health",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List zones",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.electricitymap.org/v3/zones"
          },
          "docs": "Returns all available zones and the endpoints accessible for the caller's token. Can be requested without an API key."
        },
        {
          "info": {
            "name": "API health",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.electricitymap.org/v3/health"
          },
          "docs": "Returns the operational status of the API. Can be requested without an API key."
        }
      ]
    }
  ]
}
