{ "summary": "Get current national generation mix", "description": "Example response from GET /generation — returns the current electricity generation mix percentages for Great Britain", "request": { "method": "GET", "url": "https://api.carbonintensity.org.uk/generation", "headers": { "Accept": "application/json" } }, "response": { "status": 200, "headers": { "Content-Type": "application/json" }, "body": { "data": [ { "from": "2018-01-20T12:00Z", "to": "2018-01-20T12:30Z", "generationmix": [ {"fuel": "gas", "perc": 43.6}, {"fuel": "coal", "perc": 0.7}, {"fuel": "biomass", "perc": 4.2}, {"fuel": "nuclear", "perc": 17.6}, {"fuel": "hydro", "perc": 1.1}, {"fuel": "imports", "perc": 6.5}, {"fuel": "other", "perc": 0.3}, {"fuel": "wind", "perc": 6.8}, {"fuel": "solar", "perc": 18.1} ] } ] } } }