# Basic Utils Agent – Statistics Summary

> Basic Utils Agent – Statistics Summary is a paid API for AI agents from basic-utils-agent.up.railway.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Computes descriptive statistics (mean, median, mode, min, max, range, standard deviation, variance) for a list of numeric values

## Facts

- Endpoint: POST https://basic-utils-agent.up.railway.app/statistics/summary
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basic-utils-agent-statistics-summary-69986c5e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Qa2mGs3_pn36KrfKSV1v_

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 basic-utils-agent-statistics-summary-69986c5e -d '<json body>'
```

Example prompt: Can you compute the full descriptive statistics — mean, median, mode, min, max, range, standard deviation, and variance — for this dataset: [4, 7, 2, 9, 1, 5, 7, 3, 8, 6]?

## When to prefer this

Choose this endpoint when you need a complete descriptive statistics summary in a single call rather than computing individual metrics separately. It is ideal for datasets up to 10,000 numbers and returns all core statistics at once. Prefer it over general-purpose code execution when you want a lightweight, pay-per-call statistical API without setting up a compute environment.

## Known failure modes

- Empty or missing data array returns an error
- Non-numeric values in the array cause a validation failure
- Array exceeding 10,000 elements may be rejected
- Malformed JSON request body returns a 400 error
- Network timeout if service is cold-starting on Railway

## How this service works

A versatile utility agent offering calculator, statistics, datetime, and unit conversion services.

## Output

A JSON object containing: max (maximum value), min (minimum value), mean (arithmetic average), mode (array of most frequent values), range (max minus min), median (middle value), stddev (standard deviation), and variance — all computed from the input numeric array.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "array",
   "items": {
    "type": "number"
   },
   "description": "List of numeric values for statistical analysis. Maximum length: 10000"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "max": 5,
  "min": 1,
  "mean": 3,
  "mode": [
   1,
   2,
   3,
   4,
   5
  ],
  "range": 4,
  "median": 3,
  "stddev": 1.414213562373095,
  "variance": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basic-utils-agent-statistics-summary-69986c5e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from basic-utils-agent.up.railway.app](https://www.zero.xyz/host/basic-utils-agent.up.railway.app/llms.txt)
