← Vísindi og geimur

UK Carbon by Postcode

GET /carbonintensity/postcode/:postcode

Get the regional carbon intensity of the UK electricity grid for a specific postcode area. Different parts of the UK have different energy mixes (e.g., Scotland has more wind, southeast England has more gas). Returns the local carbon intensity and generation mix. Useful for localized energy dashboards, regional sustainability comparisons, and helping UK residents understand their local grid's environmental impact.

Breytur

postcode nauðsynlegt

UK postcode

Dæmi um fyrirspurnir

Grunnnotkun
curl https://nordapi.ee/api/v1/carbonintensity/postcode/SW1A
Carbon intensity in Westminster
curl https://nordapi.ee/api/v1/carbonintensity/postcode/SW1A
Carbon intensity in Manchester
curl https://nordapi.ee/api/v1/carbonintensity/postcode/M1
Carbon intensity in Edinburgh
curl https://nordapi.ee/api/v1/carbonintensity/postcode/EH1

Lifandi svar

{
  "data": {
    "forecast": 123,
    "generation_mix": [
      {
        "fuel": "biomass",
        "percentage": 0.3
      },
      {
        "fuel": "coal",
        "percentage": 0
      },
      {
        "fuel": "imports",
        "percentage": 55.2
      },
      {
        "fuel": "gas",
        "percentage": 19.3
      },
      {
        "fuel": "nuclear",
        "percentage": 7.8
      },
      {
        "fuel": "other",
        "percentage": 0
      },
      {
        "fuel": "hydro",
        "percentage": 0.3
      },
      {
        "fuel": "solar",
        "percentage": 0
      },
      {
        "fuel": "wind",
        "percentage": 17.2
      }
    ],
    "index": "moderate",
    "postcode": "SW1A",
    "region": null
  },
  "success": true
}