# ONE Engine Absolute Value

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

Returns the absolute value of a given finite number, removing its sign.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v1/number/absolute?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/one-engine-absolute-value-cfd840dd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BA7zilRl7DDYn2ybJ0RQJ

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-absolute-value-cfd840dd -d '<json body>'
```

Example prompt: What is the absolute value of -73.8? Just give me the positive magnitude.

## When to prefer this

Choose this endpoint when an autonomous agent needs a simple, pay-per-call absolute value computation without provisioning any external math library or service, particularly in agentic pipelines on Base where x402 micropayment billing is already in use.

## Known failure modes

- Non-finite input (Infinity, NaN) rejected — the schema requires a finite number
- Missing or non-numeric 'value' field in request body returns an error
- 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

A JSON object with a 'value' field containing the non-negative absolute value of the input number (e.g. {"value": 42.5}).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {
   "type": "number",
   "description": "Finite number"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-absolute-value-cfd840dd/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)
