# BRAINIAC Grid Outage Public Data Analyzer

> BRAINIAC Grid Outage Public Data Analyzer 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).

Analyzes electricity grid outage data from caller-supplied CSV/JSON/text or public feeds, identifying affected regions, customer counts, outage causes, and status

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/electricity-market/grid-outage-public-data-analyze?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-grid-outage-public-data-analyzer-4d870a35
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GWypEoDbPYkSOgej-4E2d

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-grid-outage-public-data-analyzer-4d870a35 -d '<json body>'
```

Example prompt: Can you analyze this CSV of utility outage notices and tell me which regions have open outages, how many customers are affected, and what caused each disruption?

## When to prefer this

Use this endpoint when you have raw outage data (CSV, JSON, text, or a public feed URL) and need structured analysis of grid outages without setting up an account or providing API keys. Ideal for one-off outage assessments, utility incident reporting, or when integrating outage data from public sources into an automated agent workflow. Prefer this over manual parsing when you need normalized outage records with region-level summaries.

## Known failure modes

- Empty or malformed CSV/JSON input returns no outage records
- Feed URL unreachable results in publicSources being empty
- Missing customer count fields result in customersAffectedSupplied being false
- Input exceeding 200,000 character limit rejected
- Ambiguous or unstructured text may yield incomplete extraction with findings noting gaps

## 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

Returns a structured JSON object containing an array of outage records (id, cause, region, status, start/end times, customers affected), a summary by region (open count, total outage count, total customers affected), top-level findings, limitations on data sources used, and flags indicating 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": {
  "status": "analyzed",
  "outages": [
   {
    "id": "O1",
    "cause": "storm",
    "region": "North",
    "source": "Caller-supplied utility notice",
    "status": "restored",
    "endedAt": "2026-11-01T14:00:00.000Z",
    "startedAt": "2026-11-01T08:00:00.000Z",
    "customersAffected": 1200,
    "customersAffectedSupplied": true
   },
   {
    "id": "O2",
    "cause": "equipment",
    "region": "North",
    "source": "Caller-supplied utility notice",
    "status": "open",
    "endedAt": "",
    "startedAt": "2026-11-03T09:00:00.000Z",
    "customersAffected": 400,
    "customersAffectedSupplied": true
   }
  ],
  "regions": [
   {
    "region": "North",
    "sources": [
     "Caller-supplied utility notice"
    ],
    "openCount": 1,
    "outageCount": 2,
    "apiKeyRequired": false,
    "paidProviderUsed": false,
    "customersAffectedTotal": 1600,
    "customersAffectedTotalSupplied": true
   }
  ],
  "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."
  ],
  "outageCount": 2,
  "regionCount": 1,
  "publicSources": [],
  "apiKeyRequired": false,
  "forecastInvented": false,
  "paidProviderUsed": false,
  "billingAccuracyClaimed": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-grid-outage-public-data-analyzer-4d870a35/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)
