# BRAINIAC Crime Statistics Comparator

> BRAINIAC Crime Statistics Comparator 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).

Compares crime statistics across periods and areas, computing rate and count deltas while labeling allegation status without inferring guilt

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/public-records/crime-statistics-compare?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-crime-statistics-comparator-968deb18
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zfyOuEv58enOlhVnQkmN4

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-crime-statistics-comparator-968deb18 -d '<json body>'
```

Example prompt: Compare burglary statistics for the Metro area between 2024 and 2025 — the 2024 count was 1,200 with a rate of 3.1, and the 2025 count was 1,100 with a rate of 2.8 — and show me the rate and count deltas without inferring any guilt.

## When to prefer this

Choose this endpoint when you need to compare crime statistics across time periods or areas with explicit non-guilt-inference guarantees, structured delta computation, and clear labeling of allegation vs. judgment status. It is best when you already have the statistical data and need a structured comparison with compliance-safe output rather than a live data lookup service. Prefer it over general analytics tools when you need built-in legal safeguards (no guilt inference, no charge-as-conviction treatment) and transparent limitations disclosures.

## Known failure modes

- Malformed or missing crimeStats array results in empty items output
- Periods not parseable as dates may cause incorrect ordering
- Rate or count fields left null result in rateDeltaSupplied/countDeltaSupplied = false
- Feed URL unreachable causes feed ingestion failure
- Input exceeding maxLength limits (200,000 chars for text/CSV/JSON) returns validation error
- Ambiguous status values may default to 'unknown'

## 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 an items array where each entry represents a crime offense series for a given area, containing comparison data points (rate, count, period, source), computed rate and count deltas, earliest and latest periods, and boolean flags indicating whether guilt was inferred or charges were treated as convictions. Also includes a findings array, checkedAt timestamp, seriesCount, limitations disclaimers, and flags confirming no paid provider or API key was used.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000
  },
  "asOf": {
   "type": "string",
   "maxLength": 40
  },
  "feed": {
   "type": "object",
   "properties": {
    "url": {
     "type": "string",
     "format": "uri",
     "maxLength": 500
    },
    "limit": {
     "type": "integer",
     "maximum": 40,
     "minimum": 1
    }
   },
   "additionalProperties": false
  },
  "file": {
   "type": "object",
   "required": [
    "mediaType",
    "fileBase64"
   ],
   "properties": {
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "text/plain",
      "text/csv",
      "application/json",
      "application/xml",
      "text/xml"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "json": {
   "type": "string",
   "maxLength": 200000
  },
  "text": {
   "type": "string",
   "maxLength": 200000
  },
  "country": {
   "type": "string",
   "maxLength": 80
  },
  "notices": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "area": {
      "type": "string",
      "maxLength": 160
     },
     "body": {
      "type": "string",
      "maxLength": 20000
     },
     "date": {
      "type": "string",
      "maxLength": 40
     },
     "title": {
      "type": "string",
      "maxLength": 400
     },
     "agency": {
      "type": "string",
      "maxLength": 200
     },
     "source": {
      "type": "string",
      "maxLength": 200
     },
     "status": {
      "enum": [
       "allegation",
       "investigation",
       "charge",
       "judgment",
       "penalty",
       "notice",
       "statistic",
       "unknown"
      ],
      "type": "string"
     },
     "country": {
      "type": "string",
      "maxLength": 80
     },
     "sourceUrl": {
      "type": "string",
      "maxLength": 500
     }
    },
    "additionalProperties": false
   },
   "maxItems": 400
  },
  "incidents": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "area": {
      "type": "string",
      "maxLength": 160
     },
     "date": {
      "type": "string",
      "maxLength": 40
     },
     "source": {
      "type": "string",
      "maxLe
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "area": "Metro",
    "points": [
     {
      "id": "S-1",
      "rate": 3.1,
      "count": 1200,
      "period": "2024",
      "source": "Caller-supplied official stats",
      "sourceUrl": "",
      "rateSupplied": true,
      "countSupplied": true
     },
     {
      "id": "S-2",
      "rate": 2.8,
      "count": 1100,
      "period": "2025",
      "source": "Caller-supplied official stats",
      "sourceUrl": "",
      "rateSupplied": true,
      "countSupplied": true
     }
    ],
    "country": "US",
    "offense": "burglary",
    "rateDelta": -0.3,
    "countDelta": -100,
    "periodCount": 2,
    "latestPeriod": "2025",
    "guiltInferred": false,
    "earliestPeriod": "2024",
    "rateDeltaSupplied": true,
    "countDeltaSupplied": true,
    "chargeTreatedAsConviction": false,
    "allegationTreatedAsJudgment": false,
    "investigationTreatedAsGuilt": false
   }
  ],
  "status": "compared",
  "findings": [],
  "checkedAt": "2026-11-04T21:00:00.000Z",
  "limitations": [
   "Court, enforcement, crime-statistic, incident, and notice records are copied only from labeled fields supplied by the caller, or from a key-free public feed when feed.url is requested.",
   "No paid public-records provider is used and no API key is required.",
   "Allegations, investigations, charges, penalties, and final judgments are labeled separately. Guilt is never inferred.",
   "An allegation, investigation, or charge is never treated as a conviction or final judgment.",
   "Missing counts, penalty amounts, and dispositions are not invented."
  ],
  "seriesCount": 1,
  "guiltInferred": false,
  "publicSources": [],
  "apiKeyRequired": false,
  "paidProviderUsed": false,
  "chargeTreatedAsConviction": false,
  "allegationTreatedAsJudgment": false,
  "investigationTreatedAsGuilt": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-crime-statistics-comparator-968deb18/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)
