# Crest Systems x402 Anomaly Detection

> Crest Systems x402 Anomaly Detection is a paid API for AI agents from spend.crestsystems.ai, paid per call via x402, $0.050000/call, status down (last checked 2026-09-15).

Detects cross-service anomalies in the x402 payment ecosystem including revenue spikes, volume anomalies, whale activity, and z-score deviations over a configurable lookback window

## Facts

- Endpoint: GET https://spend.crestsystems.ai/api/anomalies
- Price: $0.050000/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/spend-crestsystems-ai-9c367712
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1LiIr8ASHd2Aiy1CDKBy7

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 spend-crestsystems-ai-9c367712
```

Example prompt: Check for any anomalies in the x402 payment ecosystem over the past 48 hours — I want to see revenue spikes, volume outliers, whale activity, and any z-score deviations flagged.

## When to prefer this

Use this endpoint when you need statistical anomaly detection across the x402 payment ecosystem rather than raw market overviews. It is the right choice for identifying outlier behavior, whale tracking, or revenue irregularities over a rolling time window. Prefer it over the sibling market overview endpoint when the goal is anomaly alerting or deviation scoring rather than top-level ecosystem stats.

## Known failure modes

- hours parameter exceeds max of 168 — returns 400 or clamps to limit
- No anomalies detected in window — returns empty result set
- Service data unavailable for the requested period — partial or empty response
- Invalid query parameter type — returns 400 bad request
- Payment not processed (x402 protocol failure) — returns 402 Payment Required

## How this service works

Cross-service anomaly detection. Revenue spikes, volume anomalies, whale tracking, z-score deviations.

## Output

A structured list of detected anomalies across x402 services, including revenue spikes, unusual transaction volumes, whale wallet activity, and statistically significant z-score deviations, based on the requested lookback window (default 24h, up to 168h).

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "hours": 24
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "hours": {
       "type": "integer",
       "description": "Lookback window (default 24, max 168)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/spend-crestsystems-ai-9c367712/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from spend.crestsystems.ai](https://www.zero.xyz/host/spend.crestsystems.ai/llms.txt)
