{"uid":"cap_XOr6m5bmQVqWnz39fRbnL","slug":"uk-carbon-intensity-api-via-2s-io-09898b39","name":"UK Carbon Intensity API (via 2s.io)","description":"The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.","url":"https://2s.io/api/energy/carbon-intensity-uk","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zicKQPm-ARIDyrWOrrXSR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time and forecasted carbon intensity (gCO2/kWh) and generation mix breakdown for the UK electricity grid","exampleAgentPrompt":"What's the current carbon intensity of the UK electricity grid — is it low, moderate, or high right now — and what's the breakdown of fuel sources generating the electricity?","exampleUseCases":null,"resultDescription":"Returns an array of time-windowed readings (typically 30-minute intervals), each containing: the period (from/to timestamps in UTC), the carbon intensity index label (e.g. 'low', 'moderate', 'high'), the actual and forecast gCO2/kWh values, and a generation mix array showing each fuel type (gas, wind, nuclear, solar, etc.) with its percentage contribution. Also includes total count and source attribution (National Grid ESO, CC BY 4.0).","failureModes":["Payment not received or insufficient USDC — returns 402 Payment Required","Upstream National Grid ESO API unavailable — may return 503 or error payload","Rate limiting or network timeout — returns 5xx error","No data available for requested period — items array may be empty with total: 0"],"whenToPreferThis":"Use this endpoint when you need authoritative, live UK grid carbon intensity data sourced directly from National Grid ESO, with no API key or account setup required. Ideal for AI agents making carbon-aware scheduling decisions, sustainability dashboards, or green energy timing tools focused on Great Britain. Prefer this over scraping carbonintensity.org.uk directly, as it provides a clean JSON response with both actual and forecast values plus generation mix in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:04:32.802Z","isFirstParty":false}