# Basic Utils Agent – Standard Deviation Calculator

> Basic Utils Agent – Standard Deviation Calculator 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-16).

Computes the standard deviation of a list of numeric values

## Facts

- Endpoint: POST https://basic-utils-agent.up.railway.app/statistics/stddev
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basic-utils-agent-standard-deviation-calculator-138590b2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fZ90wXcULW9ChKZ2FbD0o

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-standard-deviation-calculator-138590b2 -d '<json body>'
```

Example prompt: Can you calculate the standard deviation of these numbers for me: 2, 4, 4, 4, 5, 5, 7, 9?

## When to prefer this

Choose this endpoint when you need a quick, cheap ($0.002 USDC) computation of standard deviation without setting up a local math library or statistical package. Ideal for agents that occasionally need statistical dispersion metrics on moderate-sized datasets (up to 10,000 values) without heavy infrastructure.

## Known failure modes

- Empty array input returns an error or undefined result
- Non-numeric values in the array cause a validation failure
- Array exceeding 10,000 elements may be rejected
- Malformed JSON body returns a 400 error
- Payment failure (402) if x402 payment header is missing or insufficient

## How this service works

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

## Output

Returns a JSON object containing a single field 'stddev' with the computed standard deviation as a floating-point number (e.g. {"stddev": 1.414213562373095})

## 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": {
  "stddev": 1.414213562373095
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basic-utils-agent-standard-deviation-calculator-138590b2/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)
