# Basic Utils Agent – Statistics Range

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

Computes the statistical range (max minus min) of a list of numeric values

## Facts

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

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-range-e0fab893 -d '<json body>'
```

Example prompt: Can you calculate the statistical range for this dataset: [3, 7, 1, 5, 9, 4, 2, 8]? I want to know the difference between the highest and lowest values.

## When to prefer this

Use this endpoint when you need a fast, lightweight computation of statistical range (max - min) for a numeric dataset of up to 10,000 values. Prefer it over full statistical suites when only the range is needed and cost efficiency matters at $0.002 per call.

## Known failure modes

- Empty array input returns an error or undefined range
- Non-numeric values in the array cause a validation error
- Array exceeding 10,000 elements may be rejected
- Missing 'data' field in the request body causes a 400 error
- Payment failure (402) if x402 payment header is not included

## How this service works

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

## Output

Returns a JSON object with a single 'range' field containing the numeric difference between the maximum and minimum values in the submitted array (e.g. {"range": 4})

## 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": {
  "range": 4
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basic-utils-agent-statistics-range-e0fab893/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)
