{
  "opencollection": "1.0.0",
  "info": {
    "name": "Electricity Maps Carbon Intensity Power Breakdown API",
    "version": "3.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "auth-token",
      "value": "{{auth-token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "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",
            "params": [
              {
                "name": "zone",
                "value": "",
                "type": "query",
                "description": "Zone identifier (e.g. DE, FR, GB, US-CAL-CISO). Alternative to lat/lon."
              },
              {
                "name": "lat",
                "value": "",
                "type": "query",
                "description": "Latitude of the location to resolve to a zone. Used with lon as an alternative to zone."
              },
              {
                "name": "lon",
                "value": "",
                "type": "query",
                "description": "Longitude of the location to resolve to a zone. Used with lat as an alternative to zone."
              }
            ]
          },
          "docs": "Retrieves the last known power consumption and production breakdown of a zone, representing the physical origin of electricity broken down by production type, with import/export flows. Queryable by zone or geolocation."
        },
        {
          "info": {
            "name": "Power breakdown history",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.electricitymap.org/v3/power-breakdown/history",
            "params": [
              {
                "name": "zone",
                "value": "",
                "type": "query",
                "description": "Zone identifier (e.g. DE, FR, GB, US-CAL-CISO). Alternative to lat/lon."
              },
              {
                "name": "lat",
                "value": "",
                "type": "query",
                "description": "Latitude of the location to resolve to a zone. Used with lon as an alternative to zone."
              },
              {
                "name": "lon",
                "value": "",
                "type": "query",
                "description": "Longitude of the location to resolve to a zone. Used with lat as an alternative to zone."
              }
            ]
          },
          "docs": "Retrieves the last 24 hours of power consumption and production breakdown of a zone, with a resolution of 60 minutes."
        },
        {
          "info": {
            "name": "Power breakdown forecast",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.electricitymap.org/v3/power-breakdown/forecast",
            "params": [
              {
                "name": "zone",
                "value": "",
                "type": "query",
                "description": "Zone identifier (e.g. DE, FR, GB, US-CAL-CISO). Alternative to lat/lon."
              },
              {
                "name": "lat",
                "value": "",
                "type": "query",
                "description": "Latitude of the location to resolve to a zone. Used with lon as an alternative to zone."
              },
              {
                "name": "lon",
                "value": "",
                "type": "query",
                "description": "Longitude of the location to resolve to a zone. Used with lat as an alternative to zone."
              }
            ]
          },
          "docs": "Retrieves the forecasted power production breakdown of a zone, up to 24-72 hours ahead depending on plan."
        }
      ]
    }
  ],
  "bundled": true
}