# BRAINIAC Inventory Intelligence — Slow-Moving Stock Detector

> BRAINIAC Inventory Intelligence — Slow-Moving Stock Detector 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 product inventory and sales history to identify slow-moving SKUs using configurable thresholds, computing reorder points and safety stock metrics without inventing data.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/inventory-intelligence/slow-moving-stock-detect?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-slow-moving-stock-detector-e7c809a7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Sy2PGdV9y4XF7pL9eAYBS

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-slow-moving-stock-detector-e7c809a7 -d '<json body>'
```

Example prompt: Look at this product list and 90 days of sales data and tell me which SKUs are slow-moving — flag anything that sold fewer than 5 units over the last 5 days, and include reorder points using a 14-day supplier lead time.

## When to prefer this

Use this endpoint when you need a transparent, assumption-explicit computation of slow-moving inventory from raw SKU and sales data without connecting to any inventory system. Ideal for AI agents that have already pulled data from an ERP or spreadsheet and need a pay-per-call analysis without setting up an account. Prefer this over building custom velocity logic when you need safe-stock and reorder-point math included alongside the slow flag.

## Known failure modes

- Missing or mismatched SKUs between products and sales arrays produce items with zero unitsSold
- slowDays or slowUnits not supplied defaults to system assumptions which may not match business rules
- Sales data with no dates may prevent demand-averaging logic from filling missing days correctly
- CSV or JSON text inputs that don't parse cleanly may result in empty or partial results
- Exceeding maxItems limits (200 products, 2000 sales, 500 purchases) will truncate input data

## 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 array of items, each tagged with a slow flag, units sold in the lookback window, threshold units, days checked, and on-hand quantity. Also includes aggregate slow count, the threshold parameters used, explicit assumptions (service level, review days, history days, forecast days), and boolean flags confirming no data was invented and no purchase order was created.

## 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": {
  "items": [
   {
    "sku": "SKU-SLOW",
    "name": "SKU-SLOW",
    "slow": true,
    "onHand": 100,
    "unitsSold": 1,
    "lookbackDays": 5,
    "datedSaleCount": 1,
    "onHandSupplied": true,
    "thresholdUnits": 5
   },
   {
    "sku": "SKU-FAST",
    "name": "SKU-FAST",
    "slow": false,
    "onHand": 10,
    "unitsSold": 20,
    "lookbackDays": 5,
    "datedSaleCount": 5,
    "onHandSupplied": true,
    "thresholdUnits": 5
   }
  ],
  "status": "detected",
  "findings": [],
  "slowDays": 5,
  "checkedAt": "2026-11-04T19:00:00.000Z",
  "slowCount": 1,
  "slowUnits": 5,
  "assumptions": [
   "serviceLevelZ=1.65 (explicit normal z factor for safety stock)",
   "reviewDays=0",
   "historyDays=90",
   "forecastDays=30",
   "excessDaysCover=90",
   "slowUnits=5 over slowDays=5",
   "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-slow-moving-stock-detector-e7c809a7/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)
