# Basic Utils Agent – Variance Calculator

> Basic Utils Agent – Variance 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-13).

Computes the statistical variance of a provided list of numeric values.

## Facts

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

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-variance-calculator-25d4ffd9 -d '<json body>'
```

Example prompt: Can you calculate the variance of these numbers for me: 4, 8, 15, 16, 23, 42?

## When to prefer this

Choose this endpoint when you need a fast, cheap, on-demand variance computation without setting up local statistical libraries. Ideal for agents doing lightweight statistical checks on datasets up to 10,000 values where the result feeds into downstream decision-making or reporting.

## 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 body returns a 400 error
- Single-element arrays may return variance of 0 or an error depending on implementation

## How this service works

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

## Output

Returns a JSON object containing a single 'variance' field with the computed numerical variance of the input data 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": {
  "variance": 2
 }
}
```

## More

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