{"uid":"cap_vBoSsHzt4TqBx7Nzffxh-","slug":"brainiac-conversion-intelligence-segment-compare-c8297866","name":"BRAINIAC Conversion Intelligence — Segment Compare","description":"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.","url":"https://www.brainiac.software/api/v1/conversion-intelligence/segment-compare?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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":{"type":"string","maxLength":120,"minLength":1},"formId":{"type":"string","maxLength":80},"starts":{"type":"number","maximum":1000000000,"minimum":0},"abandons":{"type":"number","maximum":1000000000,"minimum":0}},"additionalProperties":false},"maxItems":80},"stages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"count":{"type":"number","maximum":1000000000,"minimum":0},"order":{"type":"integer","maximum":200,"minimum":0},"funnelId":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":80},"funnels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160}},"additionalProperties":false},"maxItems":20},"sources":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"revenue":{"type":"number","maximum":1000000000,"minimum":0},"sessions":{"type":"number","maximum":1000000000,"minimum":0},"conversions":{"type":"number","maximum":1000000000,"minimum":0}},"additionalProperties":false},"maxItems":80},"segments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"sessions":{"type":"number","maximum":1000000000,"minimum":0},"conversions":{"type":"number","maximum":1000000000,"minimum":0}},"additionalProperties":false},"maxItems":40},"minSample":{"type":"integer","maximum":100000,"minimum":1},"expectedEvents":{"type":"array","items":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":120,"minLength":1}},"additionalProperties":false},"maxItems":80}}},"responseSchema":{"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}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rkczc_PrcDJCF5rVL8JRP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Device type conversion comparison","prompt":"I have conversion data split by device: mobile had 1,200 sessions and 60 conversions, desktop had 950 sessions and 114 conversions, and tablet had 85 sessions and 12 conversions. Compare the conversion rates across these three and tell me which differences are meaningful given my sample sizes."},{"title":"Traffic source funnel analysis","prompt":"Compare my three traffic sources: organic search with 2,000 sessions and 180 conversions, paid social with 500 sessions and 20 conversions, and direct with 300 sessions and 45 conversions. Which source has the best conversion rate and are the sample sizes sufficient to draw conclusions?"},{"title":"Checkout funnel segment drop-off","prompt":"I want to compare checkout funnel performance between new visitors and returning visitors — new visitors: 1,500 sessions and 75 conversions, returning visitors: 600 sessions and 90 conversions. Tell me the conversion rates and whether the difference between segments is a real association or just noise from small samples."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T18:39:07.740Z","isFirstParty":false,"canonicalSlug":"brainiac-conversion-intelligence-segment-compare-c8297866"}