# ONE Engine Numeric Percent Change Calculator

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

Computes percent change values for an array of numeric inputs, with optional scaling, offset, min/max clamping, and rounding controls.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/numeric/percent-change/t6?utm_source=zero.xyz
- Price: $0.004/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-numeric-percent-change-calculator-229e9a99
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dcg9hEPVeqioH_M_jn5xG

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-numeric-percent-change-calculator-229e9a99 -d '<json body>'
```

Example prompt: Calculate the percent change for these numbers [100, 110, 95, 120, 108], rounding to 2 decimal places and clamping results between -50 and 50.

## When to prefer this

Use this endpoint when you need a pay-per-call, serverless computation of percent change across a numeric array with flexible output controls (clamping, scaling, offset, rounding) and no need to maintain infrastructure. Ideal for lightweight agent workflows on Base that require deterministic numeric transformation at low cost ($0.004/call).

## Known failure modes

- Empty or missing 'values' array returns validation error
- Array exceeding 1000 elements rejected
- Non-finite numbers (NaN, Infinity) in input array cause errors
- Payment failure or insufficient USDC balance blocks the call
- Invalid parameter types (e.g. string instead of number) cause schema validation errors

## How this service works

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

## Output

A JSON object containing computed percent change values for the input array, potentially scaled by a factor, shifted by an offset, clamped to min/max bounds, and rounded to the specified number of digits.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "values"
 ],
 "properties": {
  "max": {
   "type": "number"
  },
  "min": {
   "type": "number"
  },
  "size": {
   "type": "integer"
  },
  "digits": {
   "type": "integer"
  },
  "factor": {
   "type": "number"
  },
  "offset": {
   "type": "number"
  },
  "values": {
   "type": "array",
   "description": "Finite numbers, maximum 1000"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-numeric-percent-change-calculator-229e9a99/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)
