# BRAINIAC Social Content Engagement Anomaly Detector

> BRAINIAC Social Content Engagement Anomaly Detector is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-17).

Detects statistical engagement rate anomalies across a set of social media posts using Tukey IQR fencing, flagging outlier posts without scraping or accessing any platform.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/social-content/engagement-anomaly-detect?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-social-content-engagement-anomaly-detector-8be9b9d7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xBL3m--T2ZFNB7HY1NhuU

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-social-content-engagement-anomaly-detector-8be9b9d7 -d '<json body>'
```

Example prompt: Can you check my last 8 Instagram posts for engagement anomalies — here's the data with likes, comments, shares, and impressions for each post — and tell me which ones fall outside the normal range based on IQR fencing?

## When to prefer this

Use this endpoint when you have raw engagement data already collected and want a fast, stateless statistical check for outliers — no platform API access, no scraping, no account required. Ideal for auditing influencer authenticity, reviewing campaign consistency, or flagging suspicious engagement spikes using only numbers you supply. Prefer this over platform-native analytics when you want an independent, deterministic statistical signal without storing credentials or connecting accounts.

## Known failure modes

- Insufficient posts to compute meaningful IQR bounds (too few data points)
- Missing required engagement fields result in incomplete rate calculations
- Posts with zero impressions may produce undefined or zero engagement rates
- Input exceeds maxItems (200 posts) or character limits, causing rejection
- Malformed date strings in the window object may cause parsing errors
- Payment not received or insufficient USDC causes 402 response before processing

## 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 containing: per-post engagement rates and whether each is outside the IQR fence, the computed upper and lower IQR bounds, a list of findings with codes (e.g. 'possible_anomaly') and explanatory detail, a status field, and a limitations array clarifying what data was and was not used. No platform is scraped and no data is invented.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000
  },
  "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
  },
  "posts": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "date": {
      "type": "string",
      "maxLength": 40
     },
     "text": {
      "type": "string",
      "maxLength": 4000
     },
     "likes": {
      "type": "integer",
      "maximum": 1000000000,
      "minimum": 0
     },
     "saves": {
      "type": "integer",
      "maximum": 1000000000,
      "minimum": 0
     },
     "shares": {
      "type": "integer",
      "maximum": 1000000000,
      "minimum": 0
     },
     "comments": {
      "type": "integer",
      "maximum": 1000000000,
      "minimum": 0
     },
     "platform": {
      "type": "string",
      "maxLength": 40
     },
     "impressions": {
      "type": "integer",
      "maximum": 1000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "maxItems": 200
  },
  "window": {
   "type": "object",
   "required": [
    "start",
    "days"
   ],
   "properties": {
    "days": {
     "type": "integer",
     "maximum": 31,
     "minimum": 1
    },
    "start": {
     "type": "string",
     "maxLength": 40,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "account": {
   "type": "object",
   "properties": {
    "name": {
     "type": "string",
     "maxLength": 80
    },
    "platform": {
     "type": "string",
     "maxLength": 40
    },
    "followers": {
     "type": "integer",
     "maximum": 1000000000,
     "minimum": 0
    }
   },
   "additionalProperties": false
  },
  "comments": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "text": {
      "type
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "lower": 0.006,
  "posts": [
   {
    "id": "P-1",
    "rate": 0.01,
    "outside": false,
    "confirmed": false
   },
   {
    "id": "P-2",
    "rate": 0.012,
    "outside": false,
    "confirmed": false
   },
   {
    "id": "P-3",
    "rate": 0.011,
    "outside": false,
    "confirmed": false
   },
   {
    "id": "P-4",
    "rate": 0.009,
    "outside": false,
    "confirmed": false
   },
   {
    "id": "P-5",
    "rate": 0.01,
    "outside": false,
    "confirmed": false
   },
   {
    "id": "P-6",
    "rate": 0.013,
    "outside": false,
    "confirmed": false
   },
   {
    "id": "P-7",
    "rate": 0.008,
    "outside": false,
    "confirmed": false
   },
   {
    "id": "P-8",
    "rate": 0.4,
    "outside": true,
    "confirmed": false
   }
  ],
  "upper": 0.016,
  "status": "checked",
  "scraped": false,
  "findings": [
   {
    "code": "possible_anomaly",
    "kind": "observation",
    "detail": "This engagement rate is outside the Tukey 1.5 IQR fence. It is not a confirmed anomaly.",
    "subject": "P-8"
   }
  ],
  "checkedAt": "2026-11-03T18:00:00.000Z",
  "published": false,
  "limitations": [
   "Engagement metrics are calculated only from numbers supplied in the request.",
   "No account is scraped and no platform restriction is bypassed.",
   "No post is published or scheduled.",
   "Hashtag counts and impressions come only from the supplied posts and hashtag rows. Current popularity and reach are not estimated.",
   "A calendar slot or repurposed draft uses text from the request. Text is shortened only for a documented character limit of a specified platform."
  ],
  "postsRemoved": false,
  "reachInvented": false,
  "anomalyConfirmed": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-social-content-engagement-anomaly-detector-8be9b9d7/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)
