{"uid":"cap_xRqd2tRaL9m16pUNvDp4a","slug":"brainiac-ad-fraud-click-velocity-analyzer-5e50d09f","name":"BRAINIAC Ad Fraud Click Velocity 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/ad-fraud/click-velocity-analyze?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,"minItems":1},"groupBy":{"enum":["none","campaign","fingerprint"],"type":"string"},"threshold":{"type":"integer","maximum":500,"minimum":3},"windowSeconds":{"type":"integer","maximum":3600,"minimum":1}}},"responseSchema":{"type":"json","example":{"signals":[{"type":"click_burst","basis":"calculation","fields":["clicks[0].at","clicks[1].at","clicks[2].at","clicks[3].at","clicks[4].at"],"severity":"medium","explanation":"5 timestamped clicks fall inside 10 seconds."}],"success":true,"verdict":"review","analysis":"A supplied window reaches 5 clicks, at or above the threshold of 5.","evidence":[{"kind":"calculation","detail":"The window is 10 seconds and the count threshold is 5.","fields":["windowSeconds","threshold"]}],"confidence":"medium","risk_score":40,"limitations":["Frequency is counted inside the supplied batch and window. It is not a historical rate.","A burst is a calculation. It does not prove the clicks are automated or fraudulent.","Clicks are not grouped by IP address.","Fewer than three timestamped clicks cannot support a frequency conclusion."]}},"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_crqWi6jTiAZfypWGmvYiv","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 a batch of click events to detect click velocity bursts and ad fraud signals within a configurable time window, returning a risk score and verdict.","exampleAgentPrompt":"Analyze these 10 clicks from our Google Ads campaign — they all happened within 15 seconds and I want to know if it looks like a click burst. Use a window of 15 seconds and flag anything at or above 5 clicks as suspicious. Here are the click records: [click array with IDs, timestamps, gclid, and campaign ID].","exampleUseCases":[{"title":"Detecting bot traffic in a paid campaign","prompt":"I've got 50 click events from our Facebook ad campaign over the last hour and I'm worried some are bots — can you check if any burst of 8 or more clicks happened within a 30-second window and give me a risk score?"},{"title":"Real-time click fraud check before billing","prompt":"Before I report these 20 ad clicks to the client, run a velocity check with a 60-second window and a threshold of 5 — group the results by campaign so I can see which ones look fraudulent."},{"title":"Fingerprint-based click burst investigation","prompt":"We have 100 click events with fingerprint IDs from our landing page and suspect one device is clicking repeatedly. Analyze them grouped by fingerprint with a 20-second window and threshold of 4 to find any suspicious bursts."}],"resultDescription":"Returns a JSON object with a risk_score (0–100), a verdict (e.g. 'review' or 'pass'), a list of detected fraud signals each with type, severity, explanation, and contributing fields, an overall analysis narrative, evidence details, confidence level, and a list of limitations explaining what the analysis cannot prove.","failureModes":["Fewer than 1 click submitted — minItems validation error","More than 200 clicks submitted — maxItems validation error","Missing required 'id' field on a click object — schema validation error","windowSeconds or threshold out of allowed range — validation error","Clicks lack timestamps, preventing frequency analysis — insufficient data for burst detection","Payment not settled via x402 — 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a fast, stateless, pay-per-call check for click velocity anomalies in a batch of ad clicks — especially when you have Google Ads (gclid), Facebook (fbclid), or generic click IDs, timestamps, and fingerprint data available. It is ideal when you do not want to maintain a persistent account or historical database, and when you need a structured risk verdict and severity-tagged signals rather than raw counts. It does not require historical click data and works purely on the submitted batch.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T12:36:51.634Z","isFirstParty":false,"canonicalSlug":"brainiac-ad-fraud-click-velocity-analyzer-5e50d09f"}