# BRAINIAC Product Normalize

> BRAINIAC Product 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, validates, and cleans product catalog data from various input formats (CSV, JSON, structured array) into a canonical ecommerce catalog format with issue reporting

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/ecommerce-catalog/product-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-product-normalize-5d2b1418
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nsPwLGkzjwbxqDBlWreGZ

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-product-normalize-5d2b1418 -d '<json body>'
```

Example prompt: Can you normalize and validate this product catalog CSV I'm about to paste — I need it cleaned up with duplicate SKUs flagged, GTIN check digits verified, and all fields standardized into a proper catalog format?

## When to prefer this

Use this endpoint when you need to clean, validate, and standardize product catalog data from heterogeneous sources before ingesting into an ecommerce platform, marketplace feed, or PIM system. It is especially useful when dealing with supplier-provided CSVs or JSONs that may have duplicate SKUs, bad GTINs, inconsistent currency codes, or missing attributes. It operates without an account and charges a flat $0.04 USDC per call, making it ideal for agent workflows that process catalogs on demand without a subscription.

## Known failure modes

- Input contains no valid product records — returns empty products array
- CSV or JSON is malformed and cannot be parsed — returns parse error
- Product data exceeds maxLength limits on fields like title or category — field may be truncated or rejected
- Conflicting GTINs for same SKU are detected but not auto-corrected — issue reported, original values preserved
- Currency specified only as symbol (e.g. '$') — flagged as unavailable, not assumed to be USD
- Payment of 0.04 USDC on Base fails or is rejected — API returns 402 and no result

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

A JSON object in 'brainiac-catalog-v1' format containing: a 'status' field (e.g. 'normalized'), a 'products' array of fully normalized product records with standardized fields (SKU, GTIN, brand, price, currency, category, condition, availability, etc.), and an 'issues' array detailing every data quality problem found — including duplicate SKUs, GTIN check digit failures, currency ambiguities, price conflicts, and other validation errors with row numbers, field names, issue codes, and human-readable detail messages.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000,
   "minLength": 1
  },
  "file": {
   "type": "object",
   "required": [
    "mediaType",
    "fileBase64"
   ],
   "properties": {
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "text/csv",
      "application/json",
      "text/plain"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "json": {
   "type": "string",
   "maxLength": 200000,
   "minLength": 1
  },
  "products": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "mpn": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "sku": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "gtin": {
      "type": "string",
      "maxLength": 20,
      "minLength": 1
     },
     "link": {
      "type": "string",
      "maxLength": 2000,
      "minLength": 1
     },
     "size": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "brand": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
     },
     "color": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "price": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "title": {
      "type": "string",
      "maxLength": 500,
      "minLength": 1
     },
     "width": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "height": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "length": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "weight": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "category": {
      "type": "string",
      "maxLength": 300,
      "minLength": 1
     },
     "currency": {
      "type": "string",
      "maxLength": 12,
      "minLength": 1
     },
     "imageAlt": {
      "type": "string",
      "maxLength": 300,
      "minLength": 1
     },
     "imageUrl": {
      "type": "string",
      "maxLength": 2000,
      "minLength": 1
     },
     "material": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
     },
     "condition": {
      "type": "strin
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "format": "brainiac-catalog-v1",
  "issues": [
   {
    "row": 2,
    "code": "currency_unspecified",
    "kind": "unavailable",
    "field": "currency",
    "detail": "A dollar sign is not a currency. USD was not assumed.",
    "productRef": "mug-1"
   },
   {
    "row": 3,
    "code": "check_digit",
    "kind": "conflict",
    "field": "gtin",
    "detail": "The GTIN check digit does not match. The digits were not corrected.",
    "productRef": "mug-1"
   },
   {
    "row": 2,
    "code": "duplicate_sku",
    "kind": "duplicate",
    "field": "sku",
    "detail": "The sku mug-1 appears on 2 products.",
    "productRef": "mug-1"
   },
   {
    "row": 3,
    "code": "duplicate_sku",
    "kind": "duplicate",
    "field": "sku",
    "detail": "The sku mug-1 appears on 2 products.",
    "productRef": "mug-1"
   },
   {
    "row": 2,
    "code": "price_conflict",
    "kind": "conflict",
    "field": "price",
    "detail": "Products with the same sku have different prices or currencies. The prices were not averaged.",
    "productRef": "mug-1"
   },
   {
    "row": 3,
    "code": "price_conflict",
    "kind": "conflict",
    "field": "price",
    "detail": "Products with the same sku have different prices or currencies. The prices were not averaged.",
    "productRef": "mug-1"
   },
   {
    "row": 2,
    "code": "gtin_conflict",
    "kind": "conflict",
    "field": "gtin",
    "detail": "Products with the same sku have different GTINs. Neither GTIN was chosen.",
    "productRef": "mug-1"
   },
   {
    "row": 3,
    "code": "gtin_conflict",
    "kind": "conflict",
    "field": "gtin",
    "detail": "Products with the same sku have different GTINs. Neither GTIN was chosen.",
    "productRef": "mug-1"
   }
  ],
  "status": "normalized",
  "products": [
   {
    "mpn": "",
    "row": 2,
    "sku": "mug-1",
    "gtin": "036000291452",
    "link": "",
    "size": "",
    "brand": "Northwind",
    "color": "",
    "price": 12.5,
    "title": "Blue Mug",
    "category": "Home > Kitchen",
    "currency": "",
    "imageAlt": "Blue mug",
    "imageUrl": "https://cdn.example/mug.jpg",
    "material": "",
    "condition": "new",
    "parentSku": "",
    "attributes": [],
    "productRef": "mug-1",
    "weightUnit": "",
    "description": "A sturdy blue mug for tea.",
    "availability": "in_stock",
    "certification": "",
    "dimensionUnit": "",
    "additionalImageUrls": []
   },
   {
    "mpn": "",
    "row": 3,
    "sku": "mug-1",
 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-product-normalize-5d2b1418/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)
