{"uid":"cap_Lz9TmtQR6ZFiAYsLM_FQh","slug":"brainiac-energy-intelligence-generation-mix-55dc6f36","name":"BRAINIAC Energy Intelligence — Generation Mix","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/energy-intelligence/generation-mix?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"from":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"regionId":{"type":"integer","maximum":18,"minimum":1}}},"responseSchema":{"type":"json","example":{"to":"2026-11-01T12:00Z","from":"2026-11-01T11:30Z","region":null,"source":{"url":"https://api.carbonintensity.org.uk/intensity/2026-11-01T12:00:00Z/2026-11-01T12:30:00Z","status":"OK","retrievedAt":"2026-11-07T12:08:56.478Z"},"limitations":["Generation mix data is retrieved from the official Carbon Intensity API at api.carbonintensity.org.uk.","Data is provided by National Grid ESO.","Fuel types include: biomass, coal, imports, gas, nuclear, other, hydro, solar, wind.","Percentages represent the proportion of total electricity generation."],"retrievedAt":"2026-11-07T12:08:56.478Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DXWcOYJQUwMOHsJz55vT_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the electricity generation mix (by source) for a given US grid region and time range","exampleAgentPrompt":"What's the electricity generation mix for grid region 6 from January 1st 2024 at midnight UTC to January 7th 2024 at midnight UTC? I want to see how much came from solar, wind, and fossil fuels.","exampleUseCases":[{"title":"Renewable energy monitoring dashboard","prompt":"Pull the generation mix data for US grid region 3 from March 1st 2024 at 00:00:00Z to March 31st 2024 at 00:00:00Z so I can chart how renewables performed over the month."},{"title":"Carbon footprint estimation for time period","prompt":"I need to know the electricity generation mix for region 12 between April 10th 2024 00:00:00Z and April 11th 2024 00:00:00Z to estimate the carbon intensity of our data center's power usage."},{"title":"Real-time grid clean energy check","prompt":"What does the current generation mix look like for grid region 1 starting from today at 00:00:00Z through now — specifically how much is coming from clean sources versus fossil fuels?"}],"resultDescription":"A JSON object containing electricity generation mix data for the specified US grid region and time window, broken down by energy source (e.g. solar, wind, natural gas, nuclear, hydro, coal), likely including generation amounts or percentages per source.","failureModes":["Invalid regionId (must be integer 1–18) returns an error","Malformed or out-of-range datetime strings cause validation failure","'from' datetime after 'to' datetime may return an error or empty result","Requesting future time ranges may return empty or partial data","Payment failure via x402 results in 402 response with no data returned"],"whenToPreferThis":"Use this endpoint when you need programmatic, structured electricity generation mix data for specific US grid regions over a defined time window, especially in agent workflows that require no account signup and support x402 micropayment settlement on Base. Prefer this over scraping EIA or grid operator websites when you need clean JSON output at $0.03 per query with no API key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-16T18:39:36.035Z","isFirstParty":false,"canonicalSlug":"brainiac-energy-intelligence-generation-mix-55dc6f36"}