# ONE Engine Even Number Check

> ONE Engine Even Number Check 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).

Checks whether a given integer is even or odd, returning a boolean result.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v1/number/even?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-even-number-check-17b7ab25
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eG8EnOdFIJx402mPTNiJu

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-even-number-check-17b7ab25 -d '<json body>'
```

Example prompt: Is the number 144 even or odd?

## When to prefer this

Choose this endpoint when an agent needs a lightweight, deterministic, pay-per-call parity check without spinning up local compute — useful in serverless pipelines where even a simple arithmetic check benefits from an auditable, on-chain micropayment trail via x402 on Base.

## Known failure modes

- Missing or non-integer 'value' field returns a validation error
- Non-numeric input (e.g. string or float) may be rejected or produce unexpected results
- Payment failure via x402 results in a 402 response before computation occurs
- Network timeout on Cloudflare Workers edge in rare cases

## 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 boolean field 'even': true if the input integer is divisible by 2, false if it is odd.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "even": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-even-number-check-17b7ab25/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)
