# BRAINIAC Marketplace Health Policy Issue Classifier

> BRAINIAC Marketplace Health Policy Issue Classifier 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).

Classifies marketplace policy notices against supplied policy text to identify violations, mismatches, and compliance issues for seller accounts.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/marketplace-health/policy-issue-classify?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-marketplace-health-policy-issue-classifier-c4902d69
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e408OM46omLstPVRKjoEC

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-marketplace-health-policy-issue-classifier-c4902d69 -d '<json body>'
```

Example prompt: I got a notice from my marketplace saying my listing was removed for 'listing mismatch' — can you classify this against the policy text 'Listings must match the product shown' and tell me which policy it falls under and whether it matched?

## When to prefer this

Use this endpoint when you have explicit marketplace policy text and seller account notices you want cross-referenced and classified programmatically, without needing to contact the marketplace directly. It is ideal for agentic e-commerce compliance pipelines, suspension triage workflows, and automated seller health monitoring where you supply your own structured data. Prefer this over general-purpose LLM analysis when you need structured, auditable findings with clear match/no-match determinations and explicit limitation disclosures.

## Known failure modes

- Notice reason does not match any supplied policy name or ID — returns policy_unmatched finding with nearest-miss detail
- Missing required fields in notice or policy objects result in unmatched entries with empty policyId
- Oversized CSV or JSON inputs exceeding 200,000 character limit rejected
- Malformed base64 file encoding causes file input rejection
- Supplying no policy text means no notice can be matched

## 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 'classified' status, an array of notices each showing matched policy ID, policy name, quoted policy text, interpretation, and match boolean, plus a findings array with finding codes, kinds, details, and subjects. Also includes boolean flags for holdRemoved, appealGranted, policyFetched, accountAccessed, and marketplaceContacted, a checkedAt timestamp, and a limitations array disclosing what the endpoint did and did not do.

## 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
  },
  "holds": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "since": {
      "type": "string",
      "maxLength": 40
     },
     "amount": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "reason": {
      "type": "string",
      "maxLength": 500
     },
     "currency": {
      "type": "string",
      "maxLength": 12
     }
    },
    "additionalProperties": false
   },
   "maxItems": 80
  },
  "metrics": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "name"
    ],
    "properties": {
     "name": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "unit": {
      "type": "string",
      "maxLength": 40
     },
     "value": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "period": {
      "type": "string",
      "maxLength": 40
     },
     "target": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "direction": {
      "enum": [
       "above",
       "below"
      ],
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "maxItems": 80
  },
  "notices": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "action": {
      "type": "string",
      "maxLength": 500
     },
     "reason": {
      "type": "string",
      "maxLength": 500
     },
     "deadline": {
      "type": "string",
      "maxLength": 40
     },
     "received": {
      "type": "string",
      "maxLength": 40
     },
     "marketplace": {
      "type": "string",
  
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "classified",
  "notices": [
   {
    "id": "N-100",
    "quote": "Listings must match the product shown.",
    "reason": "listing mismatch",
    "matched": true,
    "policyId": "P-1",
    "policyName": "listing mismatch",
    "interpretation": "stated"
   },
   {
    "id": "N-200",
    "quote": "",
    "reason": "erase",
    "matched": false,
    "policyId": "",
    "policyName": "",
    "interpretation": "none"
   }
  ],
  "findings": [
   {
    "code": "policy_unmatched",
    "kind": "observation",
    "detail": "The reason does not match a supplied policy name or id. The closest policy was not chosen.",
    "subject": "N-200"
   }
  ],
  "checkedAt": "2026-11-04T10:00:00.000Z",
  "holdRemoved": false,
  "limitations": [
   "Notices, metrics, holds, and evidence are copied only from labeled fields supplied by the caller.",
   "A notice is matched only to policy text supplied in the request. No marketplace site is contacted.",
   "A draft does not predict an appeal result or say that a payout is being released.",
   "No seller account is accessed.",
   "A missing field means it was not in the supplied documents."
  ],
  "appealGranted": false,
  "policyFetched": false,
  "accountAccessed": false,
  "marketplaceContacted": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-marketplace-health-policy-issue-classifier-c4902d69/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)
