# BRAINIAC Conversion Intelligence — Segment Compare

> BRAINIAC Conversion Intelligence — Segment Compare 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).

Compares conversion rates across user segments (mobile, desktop, tablet, traffic source, etc.) using caller-supplied counts, flagging small samples and reporting statistical associations without inventing data.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/conversion-intelligence/segment-compare?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-conversion-intelligence-segment-compare-c8297866
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vBoSsHzt4TqBx7Nzffxh-

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-conversion-intelligence-segment-compare-c8297866 -d '<json body>'
```

Example prompt: Compare the conversion rates for my three segments: Mobile with 800 sessions and 40 conversions, Desktop with 900 sessions and 90 conversions, and Tablet with 40 sessions and 8 conversions — tell me which segments have big enough sample sizes to compare and where the biggest rate differences are.

## When to prefer this

Use this endpoint when you have raw segment-level conversion counts (sessions + conversions) and need a neutral, auditable comparison that explicitly discloses what it cannot infer, never invents traffic data, and never connects to any analytics platform. Prefer it over building custom statistical logic when you need sample-sufficiency validation, rate-difference calculations, and clear causation disclaimers returned in a structured format. Ideal for agents that must cite limitations honestly in reports.

## Known failure modes

- Segment sample below minimum threshold (100) — segment is excluded from comparisons and flagged with 'segment_sample_small' observation
- Missing required counts for a segment — that segment's comparison is skipped
- Input exceeds schema limits (e.g. more than 40 segments, text over 200,000 chars) — validation error
- Malformed input JSON — 400-level error
- Payment not received or insufficient USDC — 402 response blocking access

## 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: a list of segments each showing sessions, conversions, calculated conversion rate, and whether the sample is sufficient; pairwise comparisons between segments with rate differences and causation disclaimers; findings/observations (e.g. small sample warnings); a list of limitations; and boolean flags confirming no data was invented and no analytics accounts were accessed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000
  },
  "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
  },
  "forms": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "name": {
      "type": "string",
      "maxLength": 160
     },
     "starts": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "completes": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "maxItems": 40
  },
  "pages": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "name": {
      "type": "string",
      "maxLength": 160
     },
     "path": {
      "type": "string",
      "maxLength": 500
     },
     "exits": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "views": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "conversions": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "maxItems": 80
  },
  "events": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "name"
    ],
    "properties": {
     "name": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1
     },
     "page": {
      "type": "string",
      "maxLength": 500
     },
     "count": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "required": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "maxItems": 120
  },
  "fields": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "name"
    ],
    "properties": {
     "name": {
      
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "compared",
  "findings": [
   {
    "code": "segment_sample_small",
    "kind": "observation",
    "detail": "Segment sample 40 is below the disclosed minimum of 100. It was not compared.",
    "subject": "tablet"
   }
  ],
  "segments": [
   {
    "id": "mobile",
    "name": "Mobile",
    "sessions": 800,
    "conversions": 40,
    "conversionRate": 0.05,
    "sampleSufficient": true,
    "sessionsSupplied": true,
    "conversionsSupplied": true,
    "conversionRateSupplied": true
   },
   {
    "id": "desktop",
    "name": "Desktop",
    "sessions": 900,
    "conversions": 90,
    "conversionRate": 0.1,
    "sampleSufficient": true,
    "sessionsSupplied": true,
    "conversionsSupplied": true,
    "conversionRateSupplied": true
   },
   {
    "id": "tablet",
    "name": "Tablet",
    "sessions": 40,
    "conversions": 8,
    "conversionRate": 0.2,
    "sampleSufficient": false,
    "sessionsSupplied": true,
    "conversionsSupplied": true,
    "conversionRateSupplied": true
   }
  ],
  "checkedAt": "2026-11-04T16:00:00.000Z",
  "minSample": 100,
  "comparisons": [
   {
    "leftId": "mobile",
    "rightId": "desktop",
    "compared": true,
    "leftRate": 0.05,
    "minSample": 100,
    "rightRate": 0.1,
    "leftSessions": 800,
    "rightSessions": 900,
    "rateDifference": -0.05,
    "causationClaimed": false
   }
  ],
  "limitations": [
   "Funnel stages, pages, events, sources, forms, and segments are copied only from labeled counts supplied by the caller.",
   "Conversion rates and drop-offs use only those counts. Missing counts are not filled in.",
   "A difference between segments or sources is an association in the supplied numbers, not a proven cause.",
   "Segment comparisons run only when both samples meet the disclosed minimum size.",
   "No analytics or advertising account is accessed, and no traffic, conversions, or revenue are invented."
  ],
  "revenueInvented": false,
  "trafficInvented": false,
  "causationClaimed": false,
  "analyticsAccessed": false,
  "conversionsInvented": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-conversion-intelligence-segment-compare-c8297866/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)
