# Basic Utils Agent – Statistics Min/Max

> Basic Utils Agent – Statistics Min/Max 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 minimum and maximum values from a list of numeric data points.

## Facts

- Endpoint: POST https://basic-utils-agent.up.railway.app/statistics/min-max
- 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-min-max-e67e3efc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jrySci4e8ckjXHSdtoZwf

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-min-max-e67e3efc -d '<json body>'
```

Example prompt: What are the minimum and maximum values in this dataset: [3, 17, 2, 45, 8, 31, 6, 19, 4, 28]?

## When to prefer this

Use this endpoint when you need a quick, cheap computation of the minimum and maximum values from a numeric list of up to 10,000 elements, without needing a full statistical summary. It is ideal for range detection, data validation, and boundary identification tasks where only the extremes matter.

## Known failure modes

- Empty array input may return null or an error
- Non-numeric values in the array may cause a validation error
- Array exceeding 10,000 elements may be rejected
- Malformed JSON body returns a 400 error

## How this service works

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

## Output

Returns a JSON object with two fields: 'min' (the smallest numeric value in the input array) and 'max' (the largest numeric value in the input 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
 }
}
```

## More

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