# Delx Sum N

> Delx Sum 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).

Computes the sum and count of a numeric list provided as JSON input

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/sum-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-sum-n-19e43aee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2wfb1Du9DYy1TpL_Rbc39

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-sum-n-19e43aee -d '<json body>'
```

Example prompt: Add up these numbers for me: [12.50, 7.00, 34.99, 5.25] and tell me the total and how many there are.

## When to prefer this

Choose this endpoint when an AI agent needs to aggregate a list of numbers at runtime without access to a spreadsheet, database, or local computation environment. It is ideal for lightweight, stateless arithmetic over agent-held data where a full data pipeline is overkill and privacy matters since no data is retained.

## Known failure modes

- Empty array input may return zero for sum and zero for count
- Non-numeric values in the array may cause a validation error or be skipped
- Malformed JSON body returns an error response
- Payment failure via x402 prevents the call from being processed

## How this service works

Sum of a numeric list. Call when you aggregate agent-held amounts without a spreadsheet. Returns sum 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 arithmetic sum of all numeric values in the input array along with the count of elements processed. 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": 7,
  "schema": "delx/util-sum-n/v1"
 }
}
```

## More

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