# Delx Map Range

> Delx Map Range is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-21).

Linearly maps a numeric value from one range into another (e.g. rescaling 0–100 to 0–255)

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/map-range?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-map-range-dffed0bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M39vqLWjtzrx43PLQ7m6F

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 delx-map-range-dffed0bf -d '<json body>'
```

Example prompt: Map the value 75 from an input range of 0 to 100 into an output range of 0 to 255 — I need the rescaled number.

## When to prefer this

Choose this endpoint when you need a simple, fast, stateless linear range remapping with no external dependencies or API keys, especially within an agentic pipeline that already uses x402 micropayments on Base. Ideal for rescaling metrics, sensor readings, or UI values in real time.

## Known failure modes

- Missing required fields (value, in_min, in_max, out_min, out_max) returns validation error
- Division by zero if in_min equals in_max (degenerate input range)
- Value outside input range may produce extrapolated result beyond output range
- Payment failure via x402 if USDC balance is insufficient

## How this service works

Map a value from one range into another. Call when you rescale agent metrics between UI and model ranges. Returns mapped value for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.

## Output

Returns a single mapped numeric value representing the input rescaled linearly into the specified output range, computed locally without network dependencies.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {
   "type": "integer",
   "description": "Input field: value."
  },
  "in_max": {
   "type": "integer",
   "description": "Input field: in max."
  },
  "in_min": {
   "type": "integer",
   "description": "Input field: in min."
  },
  "out_max": {
   "type": "integer",
   "description": "Input field: out max."
  },
  "out_min": {
   "type": "integer",
   "description": "Input field: out min."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "value": 50,
  "schema": "delx/util-map-range/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-map-range-dffed0bf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
