{"uid":"cap_EhTn3PN-tco6uNdGrer1i","slug":"lilambd-world-power-countries-electricity-generation-carbon-intensity-3ee7aa4d","name":"lilambd World Power — Countries Electricity Generation & Carbon Intensity","description":"A crossing for play, feeling, language, science and computation — creating states that do not have names yet.","url":"https://api.lilambd.com/world-power/countries?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"required":{"type":"string"},"properties":{"type":"string"},"additionalProperties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":[{"area":"Afghanistan","iso3":"AFG","year":2024,"area_kind":"country","country_iso2":"AF","generation_twh":0.99,"carbon_intensity_g_per_kwh":131.31}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.5","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.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qjZ5v5tGFiR39phIkoT6M","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns electricity generation (TWh) and carbon intensity (g CO₂/kWh) data by country for a given year","exampleAgentPrompt":"Can you pull the electricity generation and carbon intensity data for countries from the lilambd world power dataset for 2024 — I want to see which countries have the cleanest grids?","exampleUseCases":[{"title":"Carbon footprint analysis for supply chains","prompt":"I need the carbon intensity of the electricity grid for each country where our suppliers operate — can you get me that data for 2024 so I can estimate our Scope 2 emissions?"},{"title":"Comparing national energy mixes for a report","prompt":"Pull electricity generation data for all countries for 2024 so I can compare which regions produce the most power and which have the lowest carbon intensity grids for my sustainability report."},{"title":"Routing workloads to greenest data centers","prompt":"I want to find which countries had the lowest grid carbon intensity in 2024 — I'm trying to decide where to run our compute jobs to minimize our carbon footprint."}],"resultDescription":"Returns a JSON array of country-level energy records, each containing: country name, ISO2 and ISO3 codes, year, area kind (country), electricity generation in TWh, and carbon intensity in grams of CO₂ per kWh.","failureModes":["Payment not provided or incorrect — HTTP 402 returned requiring x402 USDC payment","Invalid or missing query parameters — may return empty dataset or error","Rate limiting if too many requests are made in rapid succession","Data may be incomplete or unavailable for some countries or years"],"whenToPreferThis":"Choose this endpoint when you need country-level electricity generation and carbon intensity data in a single call, especially for sustainability analysis, Scope 2 emissions estimation, green computing routing, or energy policy research. It is particularly useful when you need standardized ISO country codes alongside energy metrics for 2024 or recent years.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:37:34.347Z","isFirstParty":false,"canonicalSlug":"lilambd-world-power-countries-electricity-generation-carbon-intensity-3ee7aa4d"}