# BRAINIAC Cable Sizing Calculator

> BRAINIAC Cable Sizing Calculator 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-11).

Calculates whether cables are adequately sized for electrical loads using caller-supplied ampacity, voltage, current, and rule thresholds — no external data or code tables invented.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/electrical-engineering/cable-sizing-calculate?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-cable-sizing-calculator-910dc99b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iOww38rEQYqRXLLgoDI_V

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-cable-sizing-calculator-910dc99b -d '<json body>'
```

Example prompt: Can you check if a 35mm² copper cable rated at 125A is adequate for a continuous 3-phase load of 76kW at 400V over 50 meters? The load ID is L1 and the cable ID is CB1.

## When to prefer this

Use this endpoint when you need deterministic, formula-based cable adequacy calculations using your own electrical data — especially when you want to avoid black-box lookups or external standards databases. Best for agents that already have load current, voltage, cable ampacity, and length values and need a structured pass/fail verdict with continuous duty factor applied. Prefer this over general-purpose LLM reasoning for cable sizing because it applies explicit formulas and returns structured findings. Not suitable if you need the system to look up NEC or IEC ampacity tables autonomously — caller must supply all rating values.

## Known failure modes

- Missing required voltage or current values — missing values are not invented, so results may be incomplete
- Ampacity tables not supplied — derating and ampacity checks only run on caller-supplied values
- More than 500 loads or 200 rules supplied — input is truncated at schema limits
- Malformed JSON or CSV input — API returns an error
- Loads with zero or missing kW/kVA and no currentA — design current cannot 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 JSON object with an items array where each entry includes the load ID, cable ID, adequacy verdict (adequate boolean), material, ampacity, size label, designation, design current, required current, continuous factor, and pass/fail flags for each check. Also includes a status field ('calculated'), a findings array for issues, a checkedAt timestamp, cable count, a limitations list explaining what was and wasn't used, and flags confirming no paid provider or invented standards tables were used.

## 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
  },
  "loads": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "kw": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "kva": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "name": {
      "type": "string",
      "maxLength": 200
     },
     "notes": {
      "type": "string",
      "maxLength": 300
     },
     "phase": {
      "enum": [
       "1",
       "3",
       "A",
       "B",
       "C",
       "AB",
       "BC",
       "CA",
       "ABC"
      ],
      "type": "string"
     },
     "lengthM": {
      "type": "number",
      "maximum": 1000000,
      "minimum": 0
     },
     "currentA": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "quantity": {
      "type": "number",
      "maximum": 1000000,
      "minimum": 0
     },
     "voltageV": {
      "type": "number",
      "maximum": 1000000,
      "minimum": 0
     },
     "continuous": {
      "type": "boolean"
     },
     "powerFactor": {
      "type": "number",
      "maximum": 1,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "maxItems": 500
  },
  "rules": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "code": {
      "type": "string",
      "maxLength": 80
     },
     "unit": {
      "type": "string",
      "maxLength": 40
     },
     "source": {
      "type": "string",
      "maxLength": 200
     },
     "subject": {
      "type": "string",
      "maxLength": 120
     },
     "threshold": {
      "type": "numb
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "loadId": "L1",
    "cableId": "CB1",
    "adequate": true,
    "material": "Cu",
    "ampacityA": 125,
    "sizeLabel": "35mm2",
    "designation": "Feeder-1",
    "designCurrentA": 95.5175,
    "adequateSupplied": true,
    "ampacitySupplied": true,
    "continuousFactor": 1.25,
    "requiredCurrentA": 76.414,
    "standardsInvented": false,
    "codeComplianceClaimed": false,
    "designCurrentSupplied": true,
    "requiredCurrentSupplied": true,
    "continuousFactorSupplied": true
   }
  ],
  "status": "calculated",
  "findings": [],
  "checkedAt": "2026-11-04T21:00:00.000Z",
  "cableCount": 1,
  "limitations": [
   "Loads, cables, breakers, transformers, power-factor cases, generators, chargers, and optional rule thresholds are copied only from labeled fields supplied by the caller.",
   "No paid engineering data provider is used and no API key is required.",
   "Deterministic formulas use caller-supplied voltages, currents, impedances, ratings, and factors. Missing values are not invented.",
   "Electrical code or safety compliance is not claimed. Caller-supplied rule thresholds are compared when present; standards tables are not invented.",
   "Cable ampacity tables, breaker continuous factors, and derating rules are applied only when the caller supplies those values."
  ],
  "apiKeyRequired": false,
  "paidProviderUsed": false,
  "standardsInvented": false,
  "codeComplianceClaimed": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-cable-sizing-calculator-910dc99b/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)
