# ONE Engine Array Max

> ONE Engine Array Max is a paid API for AI agents from one-search.one-engine.workers.dev, paid per call via x402, $0.0009/call, status unknown (last checked 2026-10-02).

Returns the maximum value from a provided array of numbers

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v1/array/max?utm_source=zero.xyz
- Price: $0.0009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/one-engine-array-max-54c1e744
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3cYoCwxpGvEc-bcgKS8ar

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 one-engine-array-max-54c1e744 -d '<json body>'
```

Example prompt: Find the maximum value in this list of numbers: [3, 17, 2, 99, 45, 8, 61].

## When to prefer this

Choose this endpoint when you need a fast, cheap, pay-per-call computation of the maximum value from a numeric array without spinning up local compute or a heavier analytics service. Ideal for autonomous agents on Base using x402 micropayments that need simple math utilities without managing infrastructure. At $0.0009 USDC per call it is extremely cost-effective for frequent programmatic use.

## Known failure modes

- Empty array input returns an error since array must be non-empty
- Array exceeding 1000 items is rejected
- Non-finite values (NaN, Infinity) in the array may cause errors
- Non-numeric array elements will likely cause a validation error
- Missing 'values' field in request body returns an error

## How this service works

Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.

## Output

A JSON object with a single field 'value' containing the maximum numeric value found in the input array (e.g. {"value": 9}).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values": {
   "type": "array",
   "description": "Non-empty array of finite numbers, maximum 1000 items"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "value": 9
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-array-max-54c1e744/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from one-search.one-engine.workers.dev](https://www.zero.xyz/host/one-search.one-engine.workers.dev/llms.txt)
