Carbon Intensity API · Schema
Generation Mix
Electricity generation mix data showing percentage contribution of each fuel type for a 30-minute period
Carbon IntensityEnvironmentEnergyElectricityClimateGreat BritainNational Grid
Properties
| Name | Type | Description |
|---|---|---|
| from | string | Start of the half-hour period in ISO 8601 format |
| to | string | End of the half-hour period in ISO 8601 format |
| generationmix | array | List of fuel types and their percentage contributions to electricity generation |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/carbon-intensity/main/json-schema/generation-mix.json",
"title": "Generation Mix",
"description": "Electricity generation mix data showing percentage contribution of each fuel type for a 30-minute period",
"type": "object",
"properties": {
"from": {
"type": "string",
"format": "date-time",
"description": "Start of the half-hour period in ISO 8601 format",
"example": "2018-01-20T12:00Z"
},
"to": {
"type": "string",
"format": "date-time",
"description": "End of the half-hour period in ISO 8601 format",
"example": "2018-01-20T12:30Z"
},
"generationmix": {
"type": "array",
"description": "List of fuel types and their percentage contributions to electricity generation",
"items": {
"type": "object",
"properties": {
"fuel": {
"type": "string",
"description": "Fuel type identifier",
"enum": ["biomass", "coal", "imports", "gas", "nuclear", "other", "hydro", "solar", "wind"],
"example": "gas"
},
"perc": {
"type": "number",
"format": "float",
"description": "Percentage of total generation from this fuel type",
"minimum": 0,
"maximum": 100,
"example": 43.6
}
},
"required": ["fuel", "perc"]
}
}
},
"required": ["from", "to", "generationmix"]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/generation-mix"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.