{"uid":"cap_iPjTFoLbk70ZDJ4LDHMH1","slug":"brainiac-conversion-fraud-detection-api-dbf622ee","name":"BRAINIAC Conversion Fraud Detection API","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/ad-fraud/conversion-fraud-detect?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"clicks":{"type":"array","items":{"type":"object","required":["id"],"properties":{"x":{"type":"number","maximum":20000,"minimum":0},"y":{"type":"number","maximum":20000,"minimum":0},"at":{"type":"string","maxLength":40,"minLength":8},"id":{"type":"string","maxLength":120,"minLength":1},"gclid":{"type":"string","maxLength":200},"fbclid":{"type":"string","maxLength":200},"clickId":{"type":"string","maxLength":160},"dwellMs":{"type":"integer","maximum":86400000,"minimum":-1000000},"referrer":{"type":"string","maxLength":500},"campaignId":{"type":"string","maxLength":80},"landingUrl":{"type":"string","maxLength":500},"pageLoadAt":{"type":"string","maxLength":40,"minLength":8},"fingerprintId":{"type":"string","maxLength":120},"timeToClickMs":{"type":"integer","maximum":86400000,"minimum":-1000000}},"additionalProperties":false},"maxItems":200},"conversions":{"type":"array","items":{"type":"object","required":["id"],"properties":{"at":{"type":"string","maxLength":40,"minLength":8},"id":{"type":"string","maxLength":120,"minLength":1},"value":{"type":"number","maximum":1000000000,"minimum":0},"clickId":{"type":"string","maxLength":160},"campaignId":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":200,"minItems":1}}},"responseSchema":{"type":"json","example":{"signals":[{"type":"conversion_before_click","basis":"fact","fields":["conversions[0].at","clicks[0].at"],"severity":"high","explanation":"Conversion V1 is timestamped before click C1."},{"type":"campaign_mismatch","basis":"fact","fields":["conversions[0].campaignId","clicks[0].campaignId"],"severity":"medium","explanation":"Conversion V1 and its click name different campaigns."}],"success":true,"verdict":"review","analysis":"Some supplied click and conversion records disagree or repeat.","evidence":[],"confidence":"high","risk_score":42,"limitations":["Click and conversion records are compared only inside this request.","An unmatched conversion is a missing link in the supplied batch, not proof the click never happened.","A conversion a few seconds after a click can be legitimate. It is a weak timing indicator.","Missing click history lowers confidence and is not treated as fraud."]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HZ56MvDqCwOpB0-kczeqP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes click and conversion event pairs to detect ad fraud patterns such as conversions timestamped before clicks, campaign ID mismatches, and other suspicious attribution anomalies.","exampleAgentPrompt":"Check these 50 click events and 20 conversions from our Google Ads campaign 'summer-sale-2024' for ad fraud — I'm seeing some conversions that might have happened before the clicks, and I want a risk score and verdict on whether to flag them for review.","exampleUseCases":[{"title":"Detecting pre-click conversions in campaign","prompt":"I have a batch of click and conversion records from our Facebook campaign 'fb-retarget-q3' and several conversions seem to be timestamped before the corresponding clicks — can you run fraud detection on them and tell me the risk score and what signals you found?"},{"title":"Auditing mismatched campaign attribution","prompt":"Our analytics team flagged some conversions in campaign 'brand-awareness-07' that reference different campaign IDs than the clicks that supposedly drove them — can you analyze these click and conversion pairs and tell me if this looks like attribution fraud?"},{"title":"Real-time conversion fraud scoring for ad platform","prompt":"Before we pay out commissions for these 100 click and conversion events from our affiliate network today, can you score them for fraud risk and flag any high-severity signals like impossible timing or campaign mismatches?"}],"resultDescription":"Returns a JSON object containing: a list of fraud signals (each with type, basis, affected fields, severity, and explanation), an overall verdict (e.g. 'review', 'clean', 'fraud'), a confidence level, a numeric risk score (0–100), a summary analysis string, an evidence array, and a limitations array noting caveats about the analysis scope.","failureModes":["Missing required 'id' field on click or conversion objects returns a validation error","Empty conversions array (minItems:1 not satisfied) causes request rejection","Timestamps in unrecognized formats may prevent accurate chronological comparison","Batch sizes exceeding 200 items per array are rejected","Mismatched or absent clickId fields reduce confidence and may lower signal quality","Payment failure via x402 returns HTTP 402 and no analysis is performed"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call fraud check on batches of click and conversion events without setting up an account or long-term contract — ideal for AI agents running periodic ad audits, affiliate payout validation, or one-off campaign integrity checks. It is particularly useful when you have both click and conversion records with timestamps and campaign IDs and want to detect logical inconsistencies like temporal inversions or attribution mismatches. Prefer dedicated fraud platforms with persistent user profiles and device graphs if you need historical cross-session analysis beyond what a single request batch can provide.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T18:39:23.239Z","isFirstParty":false,"canonicalSlug":"brainiac-conversion-fraud-detection-api-dbf622ee"}