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.
postcode
obligatorisk
UK postcode
| Namn | Obligatorisk | Standard | Beskrivning |
|---|---|---|---|
postcode |
Ja | - | UK postcode |
curl https://nordapi.ee/api/v1/carbonintensity/postcode/SW1A
curl https://nordapi.ee/api/v1/carbonintensity/postcode/SW1A
curl https://nordapi.ee/api/v1/carbonintensity/postcode/M1
curl https://nordapi.ee/api/v1/carbonintensity/postcode/EH1
{
"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
}