# BRAINIAC Inventory Intelligence Data Normalize

> BRAINIAC Inventory Intelligence Data Normalize 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).

Normalizes messy inventory, sales, purchase, and supplier data into a clean, structured format ready for inventory intelligence computations

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/inventory-intelligence/data-normalize?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-inventory-intelligence-data-normalize-b26fcdca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tDA7oQDox5L4LtnMvQ6KO

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-inventory-intelligence-data-normalize-b26fcdca -d '<json body>'
```

Example prompt: Normalize my inventory data — I have product records for SKU-1 (Widget, 40 on hand, 10 on order, $2.50 unit cost), one sales record (SKU-1, 2026-11-01, 8 units), one purchase (SKU-1, 2026-10-20, 50 units at $2.10), and one supplier (SUP-1 for SKU-1 with a 7-day lead time and MOQ of 20). Use a 90-day history window and 30-day forecast horizon.

## When to prefer this

Use this endpoint as the first step in any inventory intelligence pipeline when your raw data is messy, mixed-format, or unvalidated. It is specifically designed to accept CSV, JSON, plain text, or structured arrays and return a clean normalized payload with explicit provenance flags — ideal before calling reorder-point or safety-stock computation endpoints. Prefer this over generic data cleaning tools when you need inventory-domain-aware normalization that understands SKUs, lead times, MOQs, and sales history semantics.

## Known failure modes

- Malformed or unrecognized CSV/JSON structure may result in findings entries with 'ignored' kind rather than parsed data
- SKUs present in sales but absent from products array will be flagged but not auto-created
- Exceeding maxItems limits (200 products, 500 purchases, 2000 sales) will cause validation rejection
- Missing required file fields (mediaType or fileBase64) when using file upload will cause schema validation error
- Very sparse sales history (few data points) will produce low-confidence demand standard deviation, noted in assumptions

## 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 normalized JSON object containing cleaned arrays of products, sales, purchases, and suppliers with per-record flags indicating which fields were supplied vs inferred. Also includes a list of findings (warnings, ignored lines), assumptions made during normalization (history window, forecast horizon, z-score, etc.), and explicit limitations. Boolean flags confirm that no prices, demand figures, or lead times were invented and that no purchase orders were created or external inventory systems accessed.

## 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
  },
  "sales": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "sku": {
      "type": "string",
      "maxLength": 80
     },
     "date": {
      "type": "string",
      "maxLength": 40
     },
     "units": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "maxItems": 2000
  },
  "products": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "sku": {
      "type": "string",
      "maxLength": 80
     },
     "name": {
      "type": "string",
      "maxLength": 160
     },
     "onHand": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "onOrder": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "unitCost": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "maxItems": 200
  },
  "slowDays": {
   "type": "number",
   "maximum": 3650,
   "minimum": 1
  },
  "purchases": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "sku": {
      "type": "string",
      "maxLength": 80
     },
     "date": {
      "type": "string",
      "maxLength": 40
     },
     "units": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "unitPrice": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "maxItems": 500
  },
  "slowUnits": {
   "type": "number",
   "maximum": 1000000000,
   "minimum": 0
  },
  "suppliers": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "moq
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "sales": [
   {
    "sku": "SKU-1",
    "date": "2026-11-01",
    "units": 8,
    "unitsSupplied": true
   }
  ],
  "status": "normalized",
  "findings": [
   {
    "code": "unlabeled_line",
    "kind": "ignored",
    "detail": "Lines without a recognized label were not read and their text was not copied.",
    "subject": ""
   }
  ],
  "products": [
   {
    "sku": "SKU-1",
    "name": "Widget",
    "onHand": 40,
    "onOrder": 10,
    "unitCost": 2.5,
    "saleCount": 1,
    "purchaseCount": 1,
    "onHandSupplied": true,
    "onOrderSupplied": true,
    "unitCostSupplied": true,
    "leadTimeDaysSupplied": true
   }
  ],
  "checkedAt": "2026-11-04T19:00:00.000Z",
  "purchases": [
   {
    "sku": "SKU-1",
    "date": "2026-10-20",
    "units": 50,
    "unitPrice": 2.1,
    "unitsSupplied": true,
    "unitPriceSupplied": true
   }
  ],
  "suppliers": [
   {
    "moq": 20,
    "sku": "SKU-1",
    "supplierId": "SUP-1",
    "moqSupplied": true,
    "leadTimeDays": 7,
    "leadTimeDaysSupplied": true
   }
  ],
  "assumptions": [
   "serviceLevelZ=1.65 (explicit normal z factor for safety stock)",
   "reviewDays=0",
   "historyDays=90",
   "forecastDays=30",
   "excessDaysCover=90",
   "slowUnits=5 over slowDays=90",
   "Daily demand average fills missing days in the history window with zero when a history end date exists.",
   "Seasonality is not added. Only variation already present in the supplied history affects the standard deviation."
  ],
  "limitations": [
   "Products, sales, supplier lead times, and purchases are copied only from labeled fields supplied by the caller.",
   "Reorder point = average daily demand × (lead time days + review days) + safety stock.",
   "Safety stock = service-level z × daily demand standard deviation × square root of lead time days.",
   "Demand forecasts use a simple average of available history only. Seasonality is not modeled unless present in that history.",
   "Lead times, demand, and purchase prices are never invented. No purchase order is created and no inventory system is accessed."
  ],
  "priceInvented": false,
  "demandInvented": false,
  "leadTimeInvented": false,
  "purchaseOrderCreated": false,
  "inventorySystemAccessed": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-inventory-intelligence-data-normalize-b26fcdca/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)
