# BRAINIAC Network Intelligence — Latency Anomaly Detection

> BRAINIAC Network Intelligence — Latency Anomaly Detection is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.03/call, status unknown (last checked 2026-11-12).

Analyzes network latency time-series data to detect statistical anomalies using z-score analysis, returning per-observation anomaly flags, scores, and findings.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/network-intelligence/latency-anomaly-detect?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-network-intelligence-latency-anomaly-detection-a597192d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yDVCXQhFDGot-7N1JqbE8

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-network-intelligence-latency-anomaly-detection-a597192d -d '<json body>'
```

Example prompt: Can you check these CDN latency probe records for anomalies — I'll paste in the JSON logs with timestamps, host names, path IDs, and latency values in milliseconds, and I want to know which observations have abnormal z-scores and whether anything is flagged as anomalous?

## When to prefer this

Choose this endpoint when you have caller-supplied network latency time-series data (probe logs, CDN measurements, network samples) and need statistical anomaly detection (z-score based) with per-observation scoring, without setting up an account or long-term monitoring subscription. It is pay-per-call via USDC on Base, making it ideal for ad-hoc, event-driven, or agent-automated latency checks. Prefer alternatives if you need real-time streaming detection, active network probing from the service itself, or paid IP reputation enrichment.

## Known failure modes

- Insufficient data points in a series prevents meaningful z-score calculation
- Malformed or missing timestamps cause series parsing failures
- Input exceeding 200,000 character limit for text/CSV/JSON fields is rejected
- Empty or missing latency fields result in items being skipped or unscored
- Private/loopback IP addresses in host fields are not contacted or resolved
- No paid reputation data is used, so IP reputation context is absent without caller-supplied labels

## 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 array of items — each probe observation annotated with its mean, standard deviation, z-score, and anomalous boolean flag — plus an overall status, anomaly count, series count, a findings list of significant anomalies, limitations disclosures, and a checkedAt timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000
  },
  "asOf": {
   "type": "string",
   "maxLength": 40
  },
  "file": {
   "type": "object",
   "required": [
    "fileBase64"
   ],
   "properties": {
    "role": {
     "type": "string",
     "maxLength": 80
    },
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "text/plain",
      "text/csv",
      "application/json",
      "application/octet-stream"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "json": {
   "type": "string",
   "maxLength": 200000
  },
  "logs": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "at": {
      "type": "string",
      "maxLength": 40
     },
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "host": {
      "type": "string",
      "maxLength": 253
     },
     "source": {
      "type": "string",
      "maxLength": 200
     },
     "message": {
      "type": "string",
      "maxLength": 4000
     },
     "facility": {
      "type": "string",
      "maxLength": 80
     },
     "severity": {
      "type": "string",
      "maxLength": 40
     },
     "sourceIp": {
      "type": "string",
      "maxLength": 80
     },
     "destinationIp": {
      "type": "string",
      "maxLength": 80
     }
    },
    "additionalProperties": false
   },
   "maxItems": 10000
  },
  "text": {
   "type": "string",
   "maxLength": 200000
  },
  "files": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "fileBase64"
    ],
    "properties": {
     "role": {
      "type": "string",
      "maxLength": 80
     },
     "filename": {
      "type": "string",
      "maxLength": 180,
      "minLength": 1
     },
     "mediaType": {
      "enum": [
       "text/plain",
       "text/csv",
       "application/json",
       "application/octet-stream"
      ],
      "type": "string"
     },
     "fileBase64": {
      "type": "string",
      "maxLength": 12000000,
      "minLength": 1
     }
    },
    "additionalProperties": false
   },
   "maxItems": 20
  },
  "configs": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "key": {
      "type": "string",
      "maxLength"
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "at": "2026-11-04T20:00:00.000Z",
    "id": "A1",
    "host": "cdn.example",
    "meanMs": 35.4,
    "pathId": "POP-A",
    "source": "Caller-supplied probe",
    "zScore": -0.462,
    "stdevMs": 33.3362,
    "anomalous": false,
    "latencyMs": 20,
    "privateNetworkScanned": false
   },
   {
    "at": "2026-11-04T20:01:00.000Z",
    "id": "A2",
    "host": "cdn.example",
    "meanMs": 35.4,
    "pathId": "POP-A",
    "source": "Caller-supplied probe",
    "zScore": -0.402,
    "stdevMs": 33.3362,
    "anomalous": false,
    "latencyMs": 22,
    "privateNetworkScanned": false
   },
   {
    "at": "2026-11-04T20:02:00.000Z",
    "id": "A3",
    "host": "cdn.example",
    "meanMs": 35.4,
    "pathId": "POP-A",
    "source": "Caller-supplied probe",
    "zScore": -0.432,
    "stdevMs": 33.3362,
    "anomalous": false,
    "latencyMs": 21,
    "privateNetworkScanned": false
   },
   {
    "at": "2026-11-04T20:03:00.000Z",
    "id": "A4",
    "host": "cdn.example",
    "meanMs": 35.4,
    "pathId": "POP-A",
    "source": "Caller-supplied probe",
    "zScore": -0.492,
    "stdevMs": 33.3362,
    "anomalous": false,
    "latencyMs": 19,
    "privateNetworkScanned": false
   },
   {
    "at": "2026-11-04T20:04:00.000Z",
    "id": "A5",
    "host": "cdn.example",
    "meanMs": 35.4,
    "pathId": "POP-A",
    "source": "Caller-supplied probe",
    "zScore": 1.7878,
    "stdevMs": 33.3362,
    "anomalous": false,
    "latencyMs": 95,
    "privateNetworkScanned": false
   }
  ],
  "status": "detected",
  "findings": [],
  "checkedAt": "2026-11-04T21:00:00.000Z",
  "limitations": [
   "Network logs, latency/packet-loss samples, DNS answers, BGP routes, certificates, configs, reputation labels, and incidents are copied only from labeled fields supplied by the caller, or from optional key-free public DNS / public TLS port-443 inspection when explicitly requested.",
   "Private, loopback, link-local, and documentation addresses are never contacted. Private networks are not scanned.",
   "No intrusive security testing is performed and no paid reputation API is used.",
   "IP reputation uses only caller-supplied labels/observations. Missing reputation data is not invented.",
   "Infrastructure health reports aggregate only sections for which records were supplied or optionally fetched."
  ],
  "seriesCount": 1,
  "anomalyCount": 0,
  "apiKeyRequired": false,
  "paidProviderUsed": false,
  "publicDnsQueried": false,
 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-network-intelligence-latency-anomaly-detection-a597192d/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)
