# Delx Arithmetic Mean

> Delx Arithmetic Mean is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Computes the arithmetic mean of a numeric array and returns the result as JSON, billed per call via x402.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/mean
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-arithmetic-mean-29a5fef2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oq6QVhIduK5zhRXkeAp8A

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 delx-arithmetic-mean-29a5fef2 -d '<json body>'
```

Example prompt: Can you calculate the arithmetic mean of these numbers: 4.2, 7.8, 3.1, 9.0, 5.5, 6.3?

## When to prefer this

Use this endpoint when you need a fast, deterministic, no-subscription mean calculation inside an agent pipeline — especially when you already pay per call via x402 and want consistent JSON output without managing a math library or an external analytics service. Ideal for mid-pipeline metric normalization, sensor aggregation, or score summarization where simplicity and auditability matter.

## Known failure modes

- Empty array (minItems:1 violated) returns a structured validation error with no charge
- Array exceeding 10,000 items (maxItems:10000) returns a validation error with no charge
- Non-numeric values in the array trigger a schema validation error
- Network timeout or service unavailability results in a failed request; payment only applies on success

## How this service works

Arithmetic mean of numbers. Call when summarizing metrics, scores, or sensor lists mid-pipeline. Returns the mean of a numeric array as JSON. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.

## Output

A JSON object containing the arithmetic mean of the submitted numeric array, computed server-side and returned as a first-party deterministic result. No rounding surprises or external dependencies — just the calculated mean value.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values": {
   "type": "array",
   "items": {
    "type": "number"
   },
   "maxItems": 10000,
   "minItems": 1,
   "description": "Numeric samples for stats tools (mean/median/stdev/percentile). Cap 10k numbers."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mean": 6,
  "count": 5,
  "schema": "delx/mean/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-arithmetic-mean-29a5fef2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
