# ONE Engine Minimum of Two Numbers

> ONE Engine Minimum of Two Numbers 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 smaller of two numeric inputs

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v1/number/min?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-minimum-of-two-numbers-3eab98ae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6-37eXRFg0TyUoMGxX0ra

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-minimum-of-two-numbers-3eab98ae -d '<json body>'
```

Example prompt: What's the minimum of 42 and 17?

## When to prefer this

Use this endpoint when you need a simple, cheap, pay-per-call minimum computation without spinning up local logic — especially in autonomous agent pipelines on Base using x402 micropayments where offloading arithmetic to a utility API is acceptable.

## Known failure modes

- Missing 'a' or 'b' parameters returns an error
- Non-numeric input values cause a parse or validation error
- Network timeout on the Cloudflare Worker edge
- Payment failure via x402 if USDC balance is insufficient

## How this service works

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

## Output

Returns a JSON object with a single field 'value' containing the smaller of the two input numbers. Example: {"value": 4} when comparing 4 and 9.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "a": {
   "type": "number"
  },
  "b": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-minimum-of-two-numbers-3eab98ae/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)
