# OpenVerbs Statistics Summary

> OpenVerbs Statistics Summary is a paid API for AI agents from stats.openverbs.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

Computes descriptive statistics (mean, variance, standard deviation, etc.) for a numeric array using population or sample formulas

## Facts

- Endpoint: POST https://stats.openverbs.com/v1/summary
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openverbs-statistics-summary-2b9b77ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JdiLBkN2PC85JgB4lmftZ

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 openverbs-statistics-summary-2b9b77ba -d '<json body>'
```

Example prompt: Calculate the mean, variance, and standard deviation for this dataset — [12.4, 15.1, 9.8, 22.0, 17.5, 11.3] — using sample statistics (divided by n-1).

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use statistical summary of a numeric dataset without setting up your own computation infrastructure. Ideal for agents that need on-demand descriptive statistics for up to 100,000 numbers with explicit control over population vs. sample formulas. Prefer this over general-purpose code execution when you want a single deterministic API call rather than running custom scripts.

## Known failure modes

- Empty data array (minItems:1 violated) returns validation error
- Array exceeds 100,000 items (maxItems:100000 violated) returns rejection
- Non-numeric values in the array cause schema validation failure
- Missing required 'data' property returns 400-level error
- Insufficient USDC balance or x402 payment failure prevents execution

## How this service works

Full descriptive summary of a numeric sample: count, sum, min/max/range, mean, median, mode(s), variance, standard deviation and the quartiles (q1/q3/iqr). Set sample=true for the sample variance/stdev (÷ n-1) instead of the population form (÷ n).

## Output

A statistical summary object containing computed metrics for the provided numeric array, including mean, count, variance, and standard deviation. Results reflect either population (÷n) or sample (÷n-1) formulas depending on the 'sample' flag.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "data": {
       "type": "array",
       "items": {
        "type": "number"
       },
       "minItems": 1,
       "maxItems": 100000,
       "description": "The numeric sample."
      },
      "sample": {
       "type": "boolean",
       "description": "Use sample variance/stdev (÷ n-1). Default false (population)."
      }
     },
     "required": [
      "data"
     ],
     "additionalProperties": false
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  }
 },
 "required": [
  "input"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openverbs-statistics-summary-2b9b77ba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stats.openverbs.com](https://www.zero.xyz/host/stats.openverbs.com/llms.txt)
