{"uid":"cap_4pacT5u4wiENRtUuLIam8","slug":"carbon-intensity-api-7222793c","name":"Carbon Intensity API","description":"Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.","url":"https://anibalb.duckdns.org/x402/carbon-intensity?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":"2026-10-27T00:30Z","from":"2026-10-27T00:00Z","intensity":{"index":"low","actual":71,"forecast":60}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6nyC2PLxNFDWCC_RMVxFw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 of electricity (gCO2/kWh) for the current half-hour period","exampleAgentPrompt":"What's the current carbon intensity of the electricity grid — is it low, moderate, or high right now, and what's the actual gCO2/kWh figure?","exampleUseCases":[{"title":"Eco-aware appliance scheduling","prompt":"Is the electricity grid running clean right now? I want to know if the carbon intensity is low before I start my dishwasher or EV charger."},{"title":"Real-time sustainability dashboard","prompt":"Pull the current carbon intensity of the grid for me — I need the actual gCO2/kWh value and whether the index is low, moderate, or high for our sustainability dashboard."},{"title":"Green energy task timing","prompt":"Check the grid carbon intensity right now and tell me if this is a good moment to run our energy-intensive batch compute jobs from a carbon footprint perspective."}],"resultDescription":"Returns a JSON object with the current half-hour time window (from/to in ISO 8601), the actual carbon intensity in gCO2/kWh, the forecasted carbon intensity in gCO2/kWh, and a qualitative index label (e.g. 'low', 'moderate', 'high', 'very high').","failureModes":["Upstream carbon intensity data source unavailable — returns 5xx error","Payment not included or invalid x402 USDC payment — returns 402 Payment Required","Stale data if upstream National Grid API is delayed","No parameters to filter by region — returns national aggregate only"],"whenToPreferThis":"Choose this endpoint when you need a no-account, pay-per-call lookup of real-time UK grid carbon intensity without API key setup. Ideal for agents running sustainability checks, scheduling energy-intensive workloads during low-carbon windows, or feeding green energy metrics into dashboards. Best when you need both actual and forecasted intensity in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:14.761Z","isFirstParty":false,"canonicalSlug":"carbon-intensity-api-7222793c"}