{"uid":"cap_R0V6Lbg_CkUs2MWkdGun9","slug":"brainiac-energy-intelligence-historical-api-df747b3b","name":"BRAINIAC Energy Intelligence Historical API","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/historical?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-01T23:30:00Z","from":"2026-11-01T00:00:00Z","region":null,"source":{"url":"https://api.carbonintensity.org.uk/intensity/2026-11-01T00:00:00Z/2026-11-01T23:30:00Z","status":"OK","retrievedAt":"2026-11-07T12:08:56.128Z"},"intensities":[{"to":"2026-11-01T00:00Z","from":"2026-10-31T23:30Z","index":"high","actual":190,"forecast":197,"regionId":null},{"to":"2026-11-01T00:30Z","from":"2026-11-01T00:00Z","index":"high","actual":190,"forecast":197,"regionId":null},{"to":"2026-11-01T01:00Z","from":"2026-11-01T00:30Z","index":"high","actual":183,"forecast":199,"regionId":null},{"to":"2026-11-01T01:30Z","from":"2026-11-01T01:00Z","index":"high","actual":184,"forecast":195,"regionId":null},{"to":"2026-11-01T02:00Z","from":"2026-11-01T01:30Z","index":"high","actual":176,"forecast":187,"regionId":null},{"to":"2026-11-01T02:30Z","from":"2026-11-01T02:00Z","index":"high","actual":174,"forecast":187,"regionId":null},{"to":"2026-11-01T03:00Z","from":"2026-11-01T02:30Z","index":"high","actual":173,"forecast":180,"regionId":null},{"to":"2026-11-01T03:30Z","from":"2026-11-01T03:00Z","index":"high","actual":172,"forecast":178,"regionId":null},{"to":"2026-11-01T04:00Z","from":"2026-11-01T03:30Z","index":"high","actual":173,"forecast":177,"regionId":null},{"to":"2026-11-01T04:30Z","from":"2026-11-01T04:00Z","index":"high","actual":173,"forecast":176,"regionId":null},{"to":"2026-11-01T05:00Z","from":"2026-11-01T04:30Z","index":"moderate","actual":167,"forecast":176,"regionId":null},{"to":"2026-11-01T05:30Z","from":"2026-11-01T05:00Z","index":"moderate","actual":168,"forecast":172,"regionId":null},{"to":"2026-11-01T06:00Z","from":"2026-11-01T05:30Z","index":"high","actual":177,"forecast":172,"regionId":null},{"to":"2026-11-01T06:30Z","from":"2026-11-01T06:00Z","index":"high","actual":181,"forecast":170,"regionId":null},{"to":"2026-11-01T07:00Z","from":"2026-11-01T06:30Z","index":"high","actual":182,"forecast":178,"regionId":null},{"to":"2026-11-01T07:30Z","from":"2026-11-01T07:00Z","index":"high","actual":182,"forecast":183,"regionId":null},{"to":"2026-11-01T08:00Z","from":"2026-11-01T07:30Z","index":"high","actual":176,"forecast":184,"regionId":null},{"to":"2026-11-01T08:30Z","from":"2026-11-01T08:00Z","index":"high","actual":174,"forecast":189,"regionId":null},{"to":"2026-11-01T09:00Z","from":"2026-11-01T08:30Z","index":"high","actual":172,"forecast":188,"regionId":null},{"to":"2026-11-01T09:30Z","from":"2026-11-01T09:00Z","index":"moderate","actual":169,"forecast":184,"regionId":null},{"to":"2026-11-01T10:00Z","from":"2026-11-01T09:30Z","index":"moderate","actual":169,"forecast":178,"regionId":null},{"to":"2026-11-01T10:30Z","from":"2026-11-01T10:00Z","index":"moderate","actual":164,"forecast":173,"regionId":null},{"to":"2026-11-01T11:00Z","from":"2026-11-01T10:30Z","index":"moderate","actual":162,"forecast":173,"regionId":null},{"to":"2026-11-01T11:30Z","from":"2026-11-01T11:00Z","index":"moderate","actual":160,"forecast":171,"regionId":null},{"to":"2026-11-01T12:00Z","from":"2026-11-01T11:30Z","index":"moderate","actual":156,"forecast":166,"regionId":null},{"to":"2026-11-01T12:30Z","from":"2026-11-01T12:00Z","index":"moderate","actual":159,"forecast":165,"regionId":null},{"to":"2026-11-01T13:00Z","from":"2026-11-01T12:30Z","index":"moderate","actual":164,"forecast":163,"regionId":null},{"to":"2026-11-01T13:30Z","from":"2026-11-01T13:00Z","index":"moderate","actual":165,"forecast":161,"regionId":null},{"to":"2026-11-01T14:00Z","from":"2026-11-01T13:30Z","index":"high","actual":170,"forecast":168,"regionId":null},{"to":"2026-11-01T14:30Z","from":"2026-11-01T14:00Z","index":"high","actual":176,"forecast":167,"regionId":null},{"to":"2026-11-01T15:00Z","from":"2026-11-01T14:30Z","index":"high","actual":187,"forecast":174,"regionId":null},{"to":"2026-11-01T15:30Z","from":"2026-11-01T15:00Z","index":"high","actual":190,"forecast":196,"regionId":null},{"to":"2026-11-01T16:00Z","from":"2026-11-01T15:30Z","index":"high","actual":192,"forecast":200,"regionId":null},{"to":"2026-11-01T16:30Z","from":"2026-11-01T16:00Z","index":"high","actual":191,"forecast":198,"regionId":null},{"to":"2026-11-01T17:00Z","from":"2026-11-01T16:30Z","index":"high","actual":191,"forecast":197,"regionId":null},{"to":"2026-11-01T17:30Z","from":"2026-11-01T17:00Z","index":"high","actual":188,"forecast":191,"regionId":null},{"to":"2026-11-01T18:00Z","from":"2026-11-01T17:30Z","index":"high","actual":188,"forecast":192,"regionId":null},{"to":"2026-11-01T18:30Z","from":"2026-11-01T18:00Z","index":"high","actual":181,"forecast":184,"regionId":null},{"to":"2026-11-01T19:00Z","from":"2026-11-01T18:30Z","index":"high","actual":176,"forecast":186,"regionId":null},{"to":"2026-11-01T19:30Z","from":"2026-11-01T19:00Z","index":"high","actual":171,"forecast":175,"regionId":null},{"to":"2026-11-01T20:00Z","from":"2026-11-01T19:30Z","index":"high","actual":176,"forecast":166,"regionId":null},{"to":"2026-11-01T20:30Z","from":"2026-11-01T20:00Z","index":"high","actual":172,"forecast":161,"regionId":null},{"to":"2026-11-01T21:00Z","from":"2026-11-01T20:30Z","index":"moderate","actual":164,"forecast":160,"regionId":null},{"to":"2026-11-01T21:30Z","from":"2026-11-01T21:00Z","index":"moderate","actual":155,"forecast":176,"regionId":null},{"to":"2026-11-01T22:00Z","from":"2026-11-01T21:30Z","index":"moderate","actual":147,"forecast":161,"regionId":null},{"to":"2026-11-01T22:30Z","from":"2026-11-01T22:00Z","index":"moderate","actual":140,"forecast":162,"regionId":null},{"to":"2026-11-01T23:00Z","from":"2026-11-01T22:30Z","index":"moderate","actual":135,"forecast":157,"regionId":null},{"to":"2026-11-01T23:30Z","from":"2026-11-01T23:00Z","index":"moderate","actual":132,"forecast":151,"regionId":null}],"limitations":["Historical carbon intensity data is retrieved from the official Carbon Intensity API at api.carbonintensity.org.uk.","Data is provided by National Grid ESO.","Values are in gCO2/kWh.","Historical data is available from 2019 onwards."],"retrievedAt":"2026-11-07T12:08:56.128Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5BbxfEvpo2WlPCQZXInRb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical electricity grid energy data for a specified US region and date-time range","exampleAgentPrompt":"Pull the historical energy grid data for US region 5 from January 1, 2024 at 00:00:00Z through January 7, 2024 at 23:59:59Z so I can analyze last week's electricity trends.","exampleUseCases":[{"title":"Weekly grid load analysis for ERCOT","prompt":"Get me the historical energy data for US grid region 6 covering the full week of March 3, 2025 00:00:00Z through March 9, 2025 23:59:59Z — I need to analyze load patterns."},{"title":"Renewable energy mix research","prompt":"Fetch the historical electricity intelligence for region 11 from February 1, 2025 00:00:00Z to February 28, 2025 23:59:59Z so I can study the renewable energy generation mix over that month."},{"title":"Peak demand event investigation","prompt":"Pull energy grid history for region 3 on July 15, 2024 from 12:00:00Z to 20:00:00Z — I want to look at what happened to grid conditions during that afternoon heat wave."}],"resultDescription":"JSON object containing historical energy grid metrics for the specified region and time window, likely including generation, load, or energy mix data points indexed by timestamp.","failureModes":["Invalid regionId outside range 1-18 returns validation error","Malformed or non-UTC datetime strings rejected by pattern validator","'from' datetime after 'to' datetime may return empty result or error","Future date ranges may return no data or an error since only historical data is available","Payment failure via x402 returns 402 Payment Required before data is delivered"],"whenToPreferThis":"Choose this endpoint when you need historical electricity grid data for specific US energy regions by time range, especially in an agentic context where pay-per-call with no account setup is preferred. It is well-suited for one-off queries or automated agent workflows that need grid energy history without committing to a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:36:42.638Z","isFirstParty":false,"canonicalSlug":"brainiac-energy-intelligence-historical-api-df747b3b"}