# Delx Commerce — Minimum of N Values

> Delx Commerce — Minimum of N Values is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Returns the minimum value and count from an array of numeric values, billed per-result via USDC micropayment.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/min-n?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-minimum-of-n-values-2b91e869
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lqppPimBt468_F6FDUE9r

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-commerce-minimum-of-n-values-2b91e869 -d '<json body>'
```

Example prompt: Find the minimum value in this list of numbers for me: [3.5, 1.2, 7.8, 0.9, 4.4] — I need the count and the smallest value back.

## When to prefer this

Choose this endpoint when you need a verifiable, pay-per-result minimum computation with no signup overhead, especially in agent workflows that already use x402/USDC micropayments on Base or Solana. Ideal for lightweight, one-off minimum queries in automated pipelines where cost predictability ($0.001 per call) and on-chain verifiability matter more than running the computation locally.

## Known failure modes

- Empty or missing 'values' array returns an error or undefined result
- Non-numeric entries in the array may cause a processing error
- Payment failure (insufficient USDC balance) blocks the call from completing
- Malformed input schema results in a 400-level response

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing the minimum value found in the input array, the count of elements processed, and a schema identifier string ('delx/util-min-n/v1') for verifiable result provenance.

## 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": 1.2,
  "schema": "delx/util-min-n/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-minimum-of-n-values-2b91e869/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
