# Delx Max N

> Delx Max N 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).

Returns the maximum value and count from a numeric list via a paid x402 API call

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/max-n
- 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-max-n-2eafa2a7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sGwJLjpqURhLb0M-IYFrE

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-max-n-2eafa2a7 -d '<json body>'
```

Example prompt: What's the maximum value in this list of numbers: [4.2, 17.8, 3.1, 99.5, 42.0, 7.7]?

## When to prefer this

Use this endpoint when an AI agent needs a quick, stateless computation of the maximum value across a numeric list without setting up local logic or retaining data. Ideal for lightweight numeric analysis tasks inside agentic pipelines where x402 micropayments on Base are already supported. Prefer this over a full analytics service when only the max and count are needed and simplicity is valued.

## Known failure modes

- Empty array input returns an error or undefined result
- Non-numeric values in the array may cause a parsing or validation error
- Malformed input (non-array) results in a 400-level error
- Payment failure via x402 on Base blocks the request from completing

## How this service works

Maximum of a numeric list. Call when you find ceilings across agent-held samples. Returns max value and count for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.

## Output

Returns the maximum numeric value found in the provided array, along with the count of elements in the input list. No data is retained after the call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values": {
   "type": "array",
   "description": "Input field: values."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 3,
  "value": 9,
  "schema": "delx/util-max-n/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-max-n-2eafa2a7/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)
