# BRAINIAC Electricity Market Price Compare

> BRAINIAC Electricity Market Price Compare is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.04/call, status unknown (last checked 2026-11-12).

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.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/electricity-market/price-compare?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-electricity-market-price-compare-c7ce638e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lya1NDX4aLiz9B-YIcNmN

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability brainiac-electricity-market-price-compare-c7ce638e -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
     },
     "re
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "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
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-electricity-market-price-compare-c7ce638e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
