Api Endpoint

GB Carbon Intensity

Forecast carbon intensity of Great Britain electricity for the current half hour in the region of a postcode, with the generation mix, as JSON.

Open interactive test console

Offering

Provider
pennydatahq.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://pennydatahq.com/api/carbon/:postcode
MIME type
application/json
First seen
2026-10-27T21:36:21.577Z
Last seen
Tags
carbon-intensity, electricity, energy, esg, uk

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0xd0A3c0f5612EcD88e4b16Ef1cD458e1a5E8FFD49"
  }
]

Observed health

Status
Healthy
Latest latency
153 ms
Average latency
226 ms
HTTP status
402
Last checked
Reachability
100% over 12 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {}
    },
    "pathParams": {
      "type": "object",
      "properties": {
        "postcode": {
          "type": "string",
          "description": "Great Britain postcode or outward code (the first half, such as RG10), with or without the space, any case. Northern Ireland (BT) is not on the GB grid and is not supported."
        }
      },
      "required": [
        "postcode"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "postcode": {
          "type": "string",
          "description": "Outward code"
        },
        "region": {
          "type": [
            "string",
            "null"
          ]
        },
        "dno_region": {
          "type": [
            "string",
            "null"
          ],
          "description": "Distribution network operator area"
        },
        "from": {
          "type": [
            "string",
            "null"
          ],
          "description": "Start of the half hour, ISO 8601 UTC"
        },
        "to": {
          "type": [
            "string",
            "null"
          ],
          "description": "End of the half hour, ISO 8601 UTC"
        },
        "intensity_gco2_per_kwh": {
          "type": [
            "number",
            "null"
          ],
          "description": "Regional forecast"
        },
        "intensity_index": {
          "type": [
            "string",
            "null"
          ],
          "description": "very low, low, moderate, high or very high"
        },
        "generation_mix": {
          "type": "object",
          "description": "Percent by fuel",
          "additionalProperties": {
            "type": "number"
          }
        }
      },
      "required": [
        "postcode"
      ]
    }
  },
  "required": [
    "type"
  ]
}