{"uid":"cap_gpner79Vkkiikx-L13-6y","slug":"brainiac-lead-source-performance-analyzer-c0d48067","name":"BRAINIAC Lead Source Performance Analyzer","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/local-lead-operations/source-performance-analyze?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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":{"type":"string","maxLength":80},"outcome":{"type":"string","maxLength":80},"outcomeAt":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":200},"sources":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"leads":{"type":"number","maximum":1000000000,"minimum":0},"converted":{"type":"number","maximum":1000000000,"minimum":0}},"additionalProperties":false},"maxItems":80},"enquiries":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"text":{"type":"string","maxLength":2000},"leadId":{"type":"string","maxLength":80},"channel":{"type":"string","maxLength":80},"received":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":200},"minSample":{"type":"integer","maximum":100000,"minimum":1},"responses":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"leadId":{"type":"string","maxLength":80},"channel":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":400},"quoteLimitDays":{"type":"number","maximum":365,"minimum":0},"responseLimitHours":{"type":"number","maximum":720,"minimum":0}}},"responseSchema":{"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}},"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_oKYJSGqvLTasfhX-kif5k","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":"Analyzes lead source performance data to rank and compare sources by conversion rate, surfacing which channels drive the most business","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Home services channel performance review","prompt":"I want to know which lead source is working best for my plumbing business. Here's my leads data for the past quarter — Google Ads, Yelp, and door hanger flyers. Tell me the conversion rate for each and which one I should double down on."},{"title":"Franchise lead quality audit","prompt":"Can you compare the lead quality across our three intake channels — web form, phone referral, and trade show — and rank them by conversion rate? I'll give you the full leads and quotes data as JSON."},{"title":"Monthly marketing attribution report","prompt":"Run a source performance analysis on this month's leads CSV. I need conversion rates for each channel and a note if any source has too small a sample size to be reliable."}],"resultDescription":"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).","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T12:37:16.996Z","isFirstParty":false,"canonicalSlug":"brainiac-lead-source-performance-analyzer-c0d48067"}