# ScriptMasterLabs Compliance Anomaly Detection API

> ScriptMasterLabs Compliance Anomaly Detection API is a paid API for AI agents from mcp-x402-discovery.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Detects and reports compliance anomalies for a given bank or agent, triggered by a specified event with configurable severity

## Facts

- Endpoint: POST https://mcp-x402-discovery.onrender.com/x402/compliance-anomaly
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-compliance-anomaly-detection-api-a844fffa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MutjQn1EnV2iBWxanVUrO

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 scriptmasterlabs-compliance-anomaly-detection-api-a844fffa -d '<json body>'
```

Example prompt: Flag a high-severity compliance anomaly for bank ID 'BNK-00421' triggered by a suspicious wire transfer pattern — the detail is 'multiple large international wires in 24h window' and the agent ID is 'agent-007'.

## When to prefer this

Choose this endpoint when you need a pay-per-call, micro-cost ($0.001 USDC) compliance anomaly detection signal for banking or agent entities, especially in agentic workflows that require on-demand regulatory flagging without a long-term API subscription. Prefer this over heavier compliance platforms when you want crypto-native payment (USDC on Base) and lightweight per-event triggering.

## Known failure modes

- Missing required fields (bank_id or trigger) returns a 400 or empty response
- Payment not provided results in a 402 Payment Required response until USDC payment via x402 or valid API key is supplied
- Invalid bank_id or agent_id returns an empty or error result
- Render.com cold start may cause initial latency or timeout on first call
- Response schema is sparse (example: {}) indicating output format may vary or be undocumented

## How this service works

Pay-per-call crypto, RWA, federal, SEC, Section 8/HUD housing, and compliance APIs via x402. Primary: USDC on Base (eip155:8453). Also accepts Global Dollar (USDG) on Robinhood Chain (eip155:4663) via sovereign X-PAYMENT-TX. Hyphen routes only (e.g. /x402/gas-tracker, /x402/pha-lookup, /x402/sec-8k). MARKETPLACE REVIEW: use free /x402/playground/* (no key, no payment). Production /x402/* returns 402 unless paid via x402 or X-Api-Market-Key / X-API-Key from seller dashboard.

## Output

Returns a compliance anomaly assessment object containing anomaly flags, severity classification, and relevant compliance status details for the submitted bank or agent event.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "detail": {
   "type": "string"
  },
  "bank_id": {
   "type": "string"
  },
  "trigger": {
   "type": "string"
  },
  "agent_id": {
   "type": "string"
  },
  "severity": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-compliance-anomaly-detection-api-a844fffa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-x402-discovery.onrender.com](https://www.zero.xyz/host/mcp-x402-discovery.onrender.com/llms.txt)
