# BRAINIAC Ad Fraud Click Risk Score

> BRAINIAC Ad Fraud Click Risk Score is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.04/call, status unknown (last checked 2026-11-12).

Analyzes a digital ad click's behavioral signals, browser fingerprint, and click ID history to return a 0–100 fraud risk score with labeled signals and a verdict.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/ad-fraud/click-risk-score?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-ad-fraud-click-risk-score-c82cfc93
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g4T6VFi2MknOshLOiXIhP

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability brainiac-ad-fraud-click-risk-score-c82cfc93 -d '<json body>'
```

Example prompt: Score this ad click for fraud risk: the user clicked at coordinates (450, 320) after 180ms on the page, dwell time was 40ms, gclid is 'CjwKCAjw123abc', the user agent is 'HeadlessChrome/114', webdriver flag is true, IP is '203.0.113.42', and we've seen this gclid in our last 10 clicks history.

## When to prefer this

Use this endpoint when you need a transparent, deterministic, per-click fraud risk score with labeled signal explanations rather than a black-box ML model. Ideal for ad tech pipelines, campaign monitoring agents, and real-time conversion gating where you need an auditable score and no account setup. Prefer this over general IP reputation APIs when you have rich click-level behavioral data (dwell time, mouse moves, click coordinates, browser signals) and want signal-level explainability. The x402/USDC pay-per-call model means no subscription required.

## Known failure modes

- Missing required click.id field causes validation error
- Truncated or malformed timestamps may reduce signal accuracy
- Missing optional signals lower confidence and reduce score coverage
- Duplicate click IDs only detected if history array is supplied
- Conversion-before-click signal only fires if conversion object is included
- Overly large history arrays (>500 items) rejected
- Automation signals absent if browser fingerprint data not supplied

## How this service works

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.

## Output

Returns a JSON object with: a numeric risk_score (0–100, capped sum of weighted signals), a verdict string (e.g. 'review', 'pass', 'block'), a confidence level, an array of triggered signals each with type, severity, basis (fact or heuristic), affected fields, and explanation, an evidence array with calculation details, and a limitations array clarifying what the score does and does not mean.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "click": {
   "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
  },
  "history": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "gclid": {
      "type": "string",
      "maxLength": 200
     },
     "fbclid": {
      "type": "string",
      "maxLength": 200
     },
     "clickId": {
      "type": "string",
      "maxLength": 160
     }
    },
    "additionalProperties": false
   },
   "maxItems": 500
  },
  "signals": {
   "type": "object",
   "properties": {
    "ip": {
     "type": "string",
     "maxLength": 80
    },
    "headless": {
     "type": "boolean"
    },
    "keyCount": {
     "type": "integer",
     "maximum": 1000000,
     "minimum": 0
    },
    "languages": {
     "type": "array",
     "items": {
      "type": "string",
      "maxLength": 40
     },
     "maxItems": 20
    },
    "userAgent": {
     "type": "string",
     "maxLength": 400
    },
    "webdriver": {
     "type": "boolean"
    },
    "clickCount": {
     "type": "integer",
     "maximum": 1000000,
     "minimum": 0
    },
    "mouseMoves": {
     "type": "integer",
     "maximum": 1000000,
     "minimum": 0
    },
    "screenWidth": {
     "type": "integer",
     "maximum": 20000,
     "minimum": 0
    },
    "scrollCount": {
     "type": "inte
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "signals": [
   {
    "type": "automation_flag",
    "basis": "fact",
    "fields": [
     "signals.webdriver",
     "signals.headless",
     "signals.automationFlags"
    ],
    "severity": "high",
    "explanation": "A supplied automation flag adds 25 points."
   },
   {
    "type": "automation_ua_token",
    "basis": "heuristic",
    "fields": [
     "signals.userAgent"
    ],
    "severity": "medium",
    "explanation": "An automation token in the User-Agent adds 20 points. It is a string match."
   },
   {
    "type": "implausible_dwell",
    "basis": "heuristic",
    "fields": [
     "click.dwellMs"
    ],
    "severity": "low",
    "explanation": "A dwell under 50 ms adds 15 points. One short dwell is a weak indicator."
   },
   {
    "type": "duplicate_click_id",
    "basis": "fact",
    "fields": [
     "click.clickId",
     "click.gclid",
     "click.fbclid",
     "history"
    ],
    "severity": "medium",
    "explanation": "The click repeats an identifier from the supplied history and adds 30 points."
   },
   {
    "type": "conversion_before_click",
    "basis": "fact",
    "fields": [
     "conversion.at",
     "click.at"
    ],
    "severity": "high",
    "explanation": "The conversion is timestamped before the click and adds 25 points."
   }
  ],
  "success": true,
  "verdict": "review",
  "analysis": "The score sums the weights of attributes that are present. It is not a fraud accusation.",
  "evidence": [
   {
    "kind": "calculation",
    "detail": "Weights: automation flag 25, User-Agent token 20, short dwell 15, click before load 25, duplicate id 30, conversion before click 25, referrer mismatch 12. The sum is capped at 100.",
    "fields": [
     "click"
    ]
   }
  ],
  "confidence": "high",
  "risk_score": 100,
  "limitations": [
   "The score is a capped sum of documented weights. It is not a probability of fraud and not an accusation.",
   "Only attributes present on this request are weighted. Missing data reduces confidence and adds no points.",
   "A User-Agent token, a short dwell, and a referrer mismatch are heuristics.",
   "Duplicate identifiers and a conversion before its click are facts about the supplied records only."
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-ad-fraud-click-risk-score-c82cfc93/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
