# BRAINIAC Lead Source Performance Analyzer

> BRAINIAC Lead Source Performance Analyzer is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-12).

Analyzes lead source performance data to rank and compare sources by conversion rate, surfacing which channels drive the most business

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/local-lead-operations/source-performance-analyze?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-lead-source-performance-analyzer-c0d48067
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gpner79Vkkiikx-L13-6y

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-lead-source-performance-analyzer-c0d48067 -d '<json body>'
```

Example prompt: Can you analyze my lead sources and tell me which one has the best conversion rate? I'll paste in my leads data — I have 40 from Google, 25 from referral, and 5 from a flyer campaign, with their converted statuses.

## When to prefer this

Use this endpoint when you have local or SMB lead data across multiple acquisition channels (Google, referral, flyers, etc.) and need a transparent, rules-based ranking by conversion rate — not a predictive model. Ideal for agents automating monthly CRM reporting, marketing ROI reviews, or sales pipeline audits for local service businesses. Prefer this over generic analytics APIs when you need explicit sample-sufficiency warnings, channel-level conversion breakdowns, and clear limitations disclosures without any CRM write-back or external data access.

## Known failure modes

- Insufficient lead data provided — no sources can be ranked if leads array is empty
- Leads missing source field — sources cannot be identified or grouped
- Sample too small for reliable rates — flagged via sampleSufficient:false in findings rather than error
- Malformed CSV or JSON input — parse failure returns error status
- Missing converted/status fields — conversion rate cannot be computed for affected sources
- Exceeds input limits — leads array capped at 200 items, calls at 400

## 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 list of all lead sources with per-source metrics (lead count, converted count, conversion rate, sample sufficiency flag), the ID and rate of the highest-converting source, a findings array with coded observations (e.g. small sample warnings), a list of analytical limitations, and flags indicating whether calls were placed or CRM systems were accessed (always false — purely data-driven).

## 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": {
  "status": "analyzed",
  "sources": [
   {
    "id": "google",
    "name": "Google",
    "leads": 40,
    "converted": 8,
    "leadsSupplied": true,
    "conversionRate": 0.2,
    "sampleSufficient": true,
    "conversionClaimed": false,
    "convertedSupplied": true,
    "conversionRateSupplied": true
   },
   {
    "id": "referral",
    "name": "Referral",
    "leads": 25,
    "converted": 10,
    "leadsSupplied": true,
    "conversionRate": 0.4,
    "sampleSufficient": true,
    "conversionClaimed": false,
    "convertedSupplied": true,
    "conversionRateSupplied": true
   },
   {
    "id": "flyer",
    "name": "Flyer",
    "leads": 5,
    "converted": 2,
    "leadsSupplied": true,
    "conversionRate": 0.4,
    "sampleSufficient": false,
    "conversionClaimed": false,
    "convertedSupplied": true,
    "conversionRateSupplied": true
   }
  ],
  "callMade": false,
  "findings": [
   {
    "code": "source_sample_small",
    "kind": "observation",
    "detail": "A source rate is shown, but the sample is below the disclosed minimum of 20 leads. It is not used for ranking.",
    "subject": "flyer"
   }
  ],
  "checkedAt": "2026-11-04T17:00:00.000Z",
  "minSample": 20,
  "crmAccessed": false,
  "highestRate": 0.4,
  "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,
  "highestRateSourceId": "referral",
  "highestRateSupplied": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-lead-source-performance-analyzer-c0d48067/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)
