{"uid":"cap_a_Et8S3--eGKQCFwBDHny","slug":"brainiac-referrer-integrity-check-3328f884","name":"BRAINIAC Referrer Integrity Check","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/referrer-integrity-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"campaign":{"type":"object","properties":{"name":{"type":"string","maxLength":80},"medium":{"type":"string","maxLength":40},"source":{"type":"string","maxLength":80}},"additionalProperties":false},"referrer":{"type":"string","maxLength":500},"landingUrl":{"type":"string","maxLength":500},"expectedHosts":{"type":"array","items":{"type":"string","maxLength":200},"maxItems":20}}},"responseSchema":{"type":"json","example":{"signals":[{"type":"referrer_utm_mismatch","basis":"heuristic","fields":["referrer","landingUrl"],"severity":"medium","explanation":"The referrer looks like google and utm_source looks like meta."},{"type":"referrer_outside_expected_hosts","basis":"fact","fields":["referrer","expectedHosts"],"severity":"medium","explanation":"The referrer host is not in the supplied expected-host list."}],"success":true,"verdict":"review","analysis":"The supplied referrer, landing URL, or campaign fields disagree.","evidence":[],"confidence":"medium","limitations":["Referrer, landing URL, and campaign fields are caller-supplied. The referrer is not fetched or verified.","A source-family mismatch is a heuristic comparison of host names and campaign labels.","This check does not decide whether the campaign configuration is correct.","An unreadable URL is reported as missing, not as fraud."]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vhyQdmwev135zZtcfp0sd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes ad campaign referrer data to detect fraud signals such as UTM/referrer mismatches and referrers outside expected host lists","exampleAgentPrompt":"Check if this referrer looks fraudulent for my Meta campaign: the referrer is 'https://google.com/search?q=shoes' but the landing URL is 'https://myshop.com/shoes?utm_source=meta&utm_medium=cpc&utm_campaign=summer-sale', and I'm expecting traffic only from meta.com and facebook.com.","exampleUseCases":[{"title":"Catch referrer-UTM source mismatch","prompt":"I got a click on my Google Ads campaign but the referrer URL is 'https://www.facebook.com/ads/landing' and the landing page is 'https://example.com/landing?utm_source=google&utm_medium=cpc&utm_campaign=brand'. Does that look like referrer fraud?"},{"title":"Validate paid traffic against allowed hosts","prompt":"Can you check if this referrer is legit for my campaign? Referrer is 'https://suspicioussite.xyz/redirect', landing URL is 'https://mystore.com/product?utm_source=newsletter&utm_medium=email&utm_campaign=spring', and my expected referrer hosts are 'mailchimp.com' and 'email.mystore.com'."},{"title":"Audit influencer campaign referrer integrity","prompt":"We're running an influencer campaign called 'influencer-q2' with source 'instagram' and medium 'social'. A click came in with referrer 'https://t.co/abc123' landing on 'https://brand.com/page?utm_source=instagram&utm_medium=social&utm_campaign=influencer-q2'. Check if the referrer host is consistent with expected sources instagram.com and linkin.bio."}],"resultDescription":"Returns a verdict ('clean', 'review', or 'fraud'), a confidence level, a natural-language analysis summary, and an array of signals each containing a type (e.g. 'referrer_utm_mismatch'), basis (heuristic or fact), affected fields, severity (low/medium/high), and explanation. Also includes a limitations list noting that inputs are caller-supplied and not independently fetched.","failureModes":["Unreadable or malformed URLs are reported as missing rather than fraudulent","Referrer field is not independently fetched or verified — relies entirely on caller-supplied data","Source-family mismatch is heuristic only and may produce false positives","Does not evaluate whether the campaign configuration itself is correct","Returns success:false if request body is malformed or required fields are absent"],"whenToPreferThis":"Use this endpoint when you have caller-supplied referrer, landing URL, and UTM campaign parameters and want a fast, pay-per-call heuristic check for referrer integrity without setting up a full analytics or fraud-detection platform. Ideal for AI agents auditing individual ad click events in real time, especially when you need a structured signal list with severity ratings. Not suitable for server-side verification of referrer authenticity or high-volume batch processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T18:39:51.839Z","isFirstParty":false,"canonicalSlug":"brainiac-referrer-integrity-check-3328f884"}