# BRAINIAC Local Lead Operations – Record Normalize

> BRAINIAC Local Lead Operations – Record 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 lead, call, quote, response, and enquiry records into a clean, structured CRM-ready dataset with enriched counts and prioritization metadata.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/local-lead-operations/record-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-local-lead-operations-record-normalize-7be431cb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mImOyXw2jypWtg5Kingvw

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-local-lead-operations-record-normalize-7be431cb -d '<json body>'
```

Example prompt: Normalize my lead and call records — I have a CSV with up to 150 leads and 300 calls, each with IDs, statuses, timestamps, and values, and I need them cleaned and enriched with call counts, quote counts, and response counts as of today.

## When to prefer this

Choose this endpoint when you have raw, heterogeneous lead and call data from multiple sources (CSV exports, JSON blobs, plain text) that needs to be standardized into a unified structure before analysis or CRM import. It is ideal when you need per-lead enrichment (call counts, quote counts, response counts) computed transparently from supplied records without any external API calls, message sending, or CRM access. Prefer it over building your own normalization logic when the data fits within the size limits (200 leads, 400 calls, 200 quotes) and you want a consistent, auditable output with explicit findings and limitations.

## Known failure modes

- Oversized input: CSV or JSON exceeding 200,000 characters or file base64 exceeding 12,000,000 characters returns a validation error
- Too many records: more than 200 leads, 200 quotes, or 400 calls triggers a maxItems validation error
- Unrecognized fields: data with no recognized labels is ignored and reported in findings with code 'unlabeled_line'
- Missing required file fields: omitting mediaType or fileBase64 when using the file input returns a schema validation error
- Malformed timestamps: unparseable date strings in 'at', 'received', or 'sent' fields may result in missing time-based enrichments
- Ambiguous input format: supplying conflicting combinations of csv, json, text, and file fields may cause partial parsing

## 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 dataset containing arrays of cleaned lead, call, quote, response, and enquiry records with enriched per-lead counts (callCount, quoteCount, enquiryCount, responseCount), a status field ('normalized'), a checkedAt timestamp, a list of findings describing any ignored or problematic lines, and a limitations list clarifying what the service did and did not do (e.g. no messages sent, no CRM 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
  },
  "calls": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "at": {
      "type": "string",
      "maxLength": 40
     },
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "leadId": {
      "type": "string",
      "maxLength": 80
     },
     "missed": {
      "type": "boolean"
     },
     "status": {
      "type": "string",
      "maxLength": 80
     },
     "duration": {
      "type": "number",
      "maximum": 86400,
      "minimum": 0
     },
     "direction": {
      "type": "string",
      "maxLength": 40
     }
    },
    "additionalProperties": false
   },
   "maxItems": 400
  },
  "leads": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "name": {
      "type": "string",
      "maxLength": 160
     },
     "email": {
      "type": "string",
      "maxLength": 160
     },
     "phone": {
      "type": "string",
      "maxLength": 40
     },
     "value": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "source": {
      "type": "string",
      "maxLength": 120
     },
     "status": {
      "type": "string",
      "maxLength": 80
     },
     "received": {
      "type": "string",
      "maxLength": 40
     }
    },
    "additionalProperties": false
   },
   "maxItems": 200
  },
  "quotes": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "sent": {
      "type": "string",
      "maxLength": 40
     },
     "amount": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "leadId": {
      "
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "calls": [
   {
    "at": "2026-11-01T09:05:00.000Z",
    "id": "C-1",
    "leadId": "L-1",
    "missed": true,
    "status": "missed",
    "duration": 0,
    "direction": "inbound",
    "durationSupplied": true
   }
  ],
  "leads": [
   {
    "id": "L-1",
    "name": "Sam",
    "email": "sam@example.com",
    "phone": "555-0100",
    "value": 450,
    "source": "google",
    "status": "open",
    "received": "2026-11-01T09:00:00.000Z",
    "callCount": 1,
    "quoteCount": 0,
    "enquiryCount": 0,
    "responseCount": 1,
    "valueSupplied": true
   }
  ],
  "quotes": [],
  "status": "normalized",
  "callMade": false,
  "findings": [
   {
    "code": "unlabeled_line",
    "kind": "ignored",
    "detail": "Lines without a recognized label were not read and their text was not copied.",
    "subject": ""
   }
  ],
  "checkedAt": "2026-11-04T17:00:00.000Z",
  "enquiries": [],
  "responses": [
   {
    "at": "2026-11-01T12:00:00.000Z",
    "id": "R-1",
    "leadId": "L-1",
    "channel": "sms"
   }
  ],
  "crmAccessed": false,
  "limitations": [
   "Leads, calls, quotes, responses, and enquiries are copied only from labeled fields supplied by the caller.",
   "Response delays and quote ages use only supplied timestamps. Missing times are not invented.",
   "Priority uses transparent rules on those records. It does not predict conversion.",
   "No message is sent, no call is placed, and no CRM account is accessed.",
   "An unconverted quote means no outcome was recorded in the request, not that the job is lost forever."
  ],
  "messageSent": false,
  "conversionClaimed": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-local-lead-operations-record-normalize-7be431cb/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)
