{"uid":"cap_lya1NDX4aLiz9B-YIcNmN","slug":"brainiac-electricity-market-price-compare-c7ce638e","name":"BRAINIAC Electricity Market Price Compare","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/electricity-market/price-compare?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","maxLength":200000},"asOf":{"type":"string","maxLength":40},"feed":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":500}},"additionalProperties":false},"file":{"type":"object","required":["mediaType","fileBase64"],"properties":{"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["text/plain","text/csv","application/json"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"json":{"type":"string","maxLength":200000},"text":{"type":"string","maxLength":200000},"bills":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"kwh":{"type":"number","maximum":1000000000,"minimum":0},"peakKw":{"type":"number","maximum":1000000000,"minimum":0},"source":{"type":"string","maxLength":200},"currency":{"type":"string","maxLength":12},"tariffId":{"type":"string","maxLength":80},"periodEnd":{"type":"string","maxLength":40},"billedFixed":{"type":"number","maximum":1000000000,"minimum":0},"billedTotal":{"type":"number","maximum":1000000000,"minimum":0},"periodStart":{"type":"string","maxLength":40},"billedDemand":{"type":"number","maximum":1000000000,"minimum":0},"billedEnergy":{"type":"number","maximum":1000000000,"minimum":0}},"additionalProperties":false},"maxItems":200},"carbon":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"unit":{"type":"string","maxLength":40},"index":{"type":"string","maxLength":40},"region":{"type":"string","maxLength":120},"source":{"type":"string","maxLength":200},"intensity":{"type":"number","maximum":1000000,"minimum":0}},"additionalProperties":false},"maxItems":1000},"demand":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"mw":{"type":"number","maximum":1000000000,"minimum":0},"region":{"type":"string","maxLength":120},"source":{"type":"string","maxLength":200}},"additionalProperties":false},"maxItems":1000},"prices":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"unit":{"type":"string","maxLength":40},"price":{"type":"number","maximum":1000000,"minimum":-1000000},"market":{"type":"string","maxLength":120},"region":{"type":"string","maxLength":120},"source":{"type":"string","maxLength":200},"product":{"type":"string","maxLength":80},"currency":{"type":"string","maxLength":12}},"additionalProperties":false},"maxItems":1000},"outages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"cause":{"type":"string","maxLength":200},"region":{"type":"string","maxLength":120},"source":{"type":"string","maxLength":200},"status":{"type":"string","maxLength":80},"endedAt":{"type":"string","maxLength":40},"startedAt":{"type":"string","maxLength":40},"customersAffected":{"type":"number","maximum":1000000000,"minimum":0}},"additionalProperties":false},"maxItems":500},"tariffs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"unit":{"type":"string","maxLength":40},"source":{"type":"string","maxLength":200},"currency":{"type":"string","maxLength":12},"demandUnit":{"type":"string","maxLength":40},"energyRate":{"type":"number","maximum":1000000,"minimum":0},"fixedCharge":{"type":"number","maximum":1000000000,"minimum":0},"peakDemandRate":{"type":"number","maximum":1000000,"minimum":0}},"additionalProperties":false},"maxItems":100},"exposures":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"market":{"type":"string","maxLength":120},"source":{"type":"string","maxLength":200},"volumeMwh":{"type":"number","maximum":1000000000,"minimum":0},"hedgeRatio":{"type":"number","maximum":1,"minimum":0}},"additionalProperties":false},"maxItems":100},"worldBank":{"type":"object","properties":{"country":{"type":"string","maxLength":3,"minLength":2},"perPage":{"type":"integer","maximum":60,"minimum":1},"indicator":{"type":"string","maxLength":80,"minLength":3}},"additionalProperties":false},"generation":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"mw":{"type":"number","maximum":1000000000,"minimum":0},"fuel":{"type":"string","maxLength":80},"region":{"type":"string","maxLength":120},"source":{"type":"string","maxLength":200},"isForecast":{"type":"boolean"}},"additionalProperties":false},"maxItems":1000},"carbonIntensity":{"type":"object","properties":{"fetch":{"type":"boolean"},"forecast":{"type":"boolean"},"regionId":{"type":"integer","maximum":18,"minimum":1}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"items":[{"unit":"currency/MWh","market":"EPEX","region":"DE","source":"Caller-supplied","currency":"EUR","latestAt":"2026-11-02T12:00:00.000Z","marketKey":"epex","latestPrice":88.4,"averagePrice":89.7,"apiKeyRequired":false,"observationCount":2,"paidProviderUsed":false,"latestPriceSupplied":true,"averagePriceSupplied":true},{"unit":"currency/MWh","market":"N2EX","region":"GB","source":"Caller-supplied","currency":"GBP","latestAt":"2026-11-02T12:00:00.000Z","marketKey":"n2ex","latestPrice":82.1,"averagePrice":80.3,"apiKeyRequired":false,"observationCount":2,"paidProviderUsed":false,"latestPriceSupplied":true,"averagePriceSupplied":true}],"status":"compared","findings":[],"checkedAt":"2026-11-04T21:00:00.000Z","limitations":["Prices, demand, carbon, tariffs, bills, generation, outages, and exposures are copied only from labeled fields supplied by the caller, or from key-free public Carbon Intensity / World Bank / feed responses when requested.","No paid energy data provider is used and no API key is required.","Missing prices, demand, carbon intensity, tariff rates, and forecast megawatts are not invented.","Renewable generation forecasts are reported only from caller-supplied forecast rows or the public Carbon Intensity forecast endpoint when requested.","Tariff and peak-demand calculations use only supplied rates and quantities; legal billing accuracy is not claimed."],"marketCount":2,"publicSources":[],"apiKeyRequired":false,"overallAverage":85,"forecastInvented":false,"paidProviderUsed":false,"billingAccuracyClaimed":false,"overallAverageSupplied":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_D__WvccDW_5hyCGFXd2ZI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares electricity market prices across regions using caller-supplied data and optional public feeds, returning per-market summaries with averages, latest prices, and carbon intensity.","exampleAgentPrompt":"Compare wholesale electricity prices across the EPEX (Germany, EUR) and N2EX (Great Britain, GBP) markets using the price data I'm sending you — here's my JSON with observations for both markets as of 2026-11-02T12:00:00Z — and tell me which market has the lower average and latest price.","exampleUseCases":[{"title":"Cross-market procurement benchmarking","prompt":"I'm buying electricity for our EU and UK offices and have spot price data for EPEX and N2EX from last week. Can you compare them and tell me which market had the lower average price, the latest prices, and how many observations each one had?"},{"title":"Utility bill vs market rate audit","prompt":"I have three electricity bills from our facilities in Germany and the UK, and I want to know if what we were billed is above or below the actual wholesale market average for those periods. Here are the bills with kWh, billed totals, and period dates."},{"title":"Carbon-aware energy cost comparison","prompt":"We track both electricity prices and carbon intensity for our grid regions. Can you compare EPEX and N2EX prices alongside the carbon data I'm supplying and flag any markets where we're paying above average or have high carbon intensity?"}],"resultDescription":"A JSON object with an array of per-market items each containing the market name, region, currency, latest price, average price, observation count, unit (currency/MWh), and whether data was caller-supplied or from a public source. Also includes an overall average, findings list, limitations disclaimers, and flags for whether paid providers or API keys were used.","failureModes":["Caller-supplied data missing required price fields — missing values are not invented, so output will note gaps","Feed URL inaccessible or returning non-JSON — public source fetch fails gracefully with a limitation note","Invalid asOf timestamp format — may cause incorrect temporal filtering","Exceeding maxItems limits on bills, carbon, or demand arrays — request rejected","No price data provided at all — comparison returns empty items array","Malformed base64 file upload — mediaType/fileBase64 mismatch causes parse failure"],"whenToPreferThis":"Use this endpoint when you need to compare electricity market prices across multiple regions or markets using data you already have (bills, meter readings, spot price CSVs, JSON feeds), or want to augment with public key-free sources like Carbon Intensity API. It is ideal for procurement benchmarking, bill auditing against wholesale rates, and multi-market energy cost analysis without needing a paid energy data subscription. Prefer it over raw market data APIs when you want structured comparison output with per-market summaries and built-in limitations transparency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T12:36:18.437Z","isFirstParty":false,"canonicalSlug":"brainiac-electricity-market-price-compare-c7ce638e"}