# BRAINIAC Solar-Battery Asset Compare

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

Compares multiple solar and battery storage assets side-by-side, computing performance metrics like state-of-health, self-consumption, round-trip efficiency, and generation deviation across a fleet.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/solar-battery/asset-compare?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-solar-battery-asset-compare-6980d7ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RrprfsPtO5WPlIU1ICnAU

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-solar-battery-asset-compare-6980d7ea -d '<json body>'
```

Example prompt: Compare these two solar-battery sites for me — Site A is a 50 kW / 60 kWh rooftop in the Netherlands installed last year, and Site B is a 40 kW / 40 kWh rooftop also in the Netherlands. I have generation readings for both and want to see which one has better state-of-health, self-consumption, and generation deviation.

## When to prefer this

Use this endpoint when you need to compare two or more solar and/or battery storage assets against each other using caller-supplied data, without relying on any third-party inverter cloud platform or API key. It is ideal for fleet managers, portfolio analysts, or due-diligence workflows where you already have generation, panel, battery, and capacity data and want normalized, side-by-side performance metrics computed in a single call. Prefer this over manual spreadsheet analysis or cloud-platform dashboards when you need programmatic, agent-callable comparison at $0.05 per call with no account required.

## Known failure modes

- Missing required asset identifiers or capacity values may result in incomplete metrics with 'supplied' flags set to false
- Truncated or malformed CSV/JSON inputs may cause parsing errors
- Exceeding maxItems limits (200 assets, 500 panels/faults) will cause validation rejection
- Empty or zero-value generation arrays result in zero deviation and self-consumption metrics
- No external cloud or inverter API is called, so metrics dependent on manufacturer data will not be computed

## 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 list of compared asset objects each containing computed metrics: state-of-health (sohPct), self-consumption percentage, average generation deviation percentage, round-trip efficiency percentage, generation point count, and boolean flags indicating which metrics were actually supplied vs. estimated. Also returns a status string ('compared'), a checkedAt timestamp, aggregate asset count, a findings array, and a limitations list explaining what was and was not computed from supplied data versus external sources.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000
  },
  "asOf": {
   "type": "string",
   "maxLength": 40
  },
  "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
  },
  "assets": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "kind": {
      "type": "string",
      "maxLength": 80
     },
     "name": {
      "type": "string",
      "maxLength": 160
     },
     "region": {
      "type": "string",
      "maxLength": 120
     },
     "source": {
      "type": "string",
      "maxLength": 200
     },
     "capacityKw": {
      "type": "number",
      "maximum": 1000000,
      "minimum": 0
     },
     "capacityKwh": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "installedAt": {
      "type": "string",
      "maxLength": 40
     }
    },
    "additionalProperties": false
   },
   "maxItems": 200
  },
  "panels": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "name": {
      "type": "string",
      "maxLength": 160
     },
     "source": {
      "type": "string",
      "maxLength": 200
     },
     "assetId": {
      "type": "string",
      "maxLength": 80
     },
     "measuredAt": {
      "type": "string",
      "maxLength": 40
     },
     "measuredKw": {
      "type": "number",
      "maximum": 1000000,
      "minimum": 0
     },
     "installedAt": {
      "type": "string",
      "maxLength": 40
     },
     "nameplateKw": {
      "type": "number",
      "maximum": 1000000,
      "minimum": 0
     },
     "priorMeasuredAt": {
      "type": "string",
      "maxLength": 40
     },
     "priorMeasuredKw": {
      "type": "number",
      "maximum": 1000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "maxItems":
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "id": "SITE-A",
    "kind": "solar-storage",
    "name": "Rooftop A",
    "region": "NL",
    "sohPct": 90,
    "source": "",
    "capacityKw": 50,
    "capacityKwh": 60,
    "sohPctSupplied": true,
    "cloudPlatformUsed": false,
    "capacityKwSupplied": true,
    "selfConsumptionPct": 66.6667,
    "averageDeviationPct": -10,
    "capacityKwhSupplied": true,
    "generationPointCount": 1,
    "selfConsumptionPctSupplied": true,
    "averageDeviationPctSupplied": true,
    "averageRoundTripEfficiencyPct": 0,
    "averageRoundTripEfficiencyPctSupplied": false
   },
   {
    "id": "SITE-B",
    "kind": "solar-storage",
    "name": "Rooftop B",
    "region": "NL",
    "sohPct": 0,
    "source": "",
    "capacityKw": 40,
    "capacityKwh": 40,
    "sohPctSupplied": false,
    "cloudPlatformUsed": false,
    "capacityKwSupplied": true,
    "selfConsumptionPct": 0,
    "averageDeviationPct": -6.6667,
    "capacityKwhSupplied": true,
    "generationPointCount": 1,
    "selfConsumptionPctSupplied": false,
    "averageDeviationPctSupplied": true,
    "averageRoundTripEfficiencyPct": 0,
    "averageRoundTripEfficiencyPctSupplied": false
   }
  ],
  "status": "compared",
  "findings": [],
  "checkedAt": "2026-11-04T21:00:00.000Z",
  "assetCount": 2,
  "limitations": [
   "Generation, panel, inverter, battery, warranty, efficiency, consumption, and asset records are copied only from labeled fields supplied by the caller.",
   "No inverter cloud platform or paid energy monitoring service is used and no API key is required.",
   "Degradation, SOH, efficiency, and deviation metrics use only supplied measurements. Missing values are not invented.",
   "Inverter fault labels come from caller-supplied fault maps or simple keyword signals in supplied messages. Manufacturer cloud catalogs are not queried.",
   "Warranty comparisons use only caller-supplied warranty thresholds and measured values. Legal warranty coverage is not determined."
  ],
  "apiKeyRequired": false,
  "paidProviderUsed": false,
  "cloudPlatformUsed": false,
  "warrantyCoverageDetermined": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-solar-battery-asset-compare-6980d7ea/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)
