# Delx In Range

> Delx In 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-17).

Checks whether an integer value falls within a specified [min, max] range, returning a boolean result.

## Facts

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

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-in-range-0ba6289f -d '<json body>'
```

Example prompt: Is the value 73 within the range of 50 to 100?

## When to prefer this

Use this endpoint when you need a fast, stateless, pay-per-call numeric range check without setting up any infrastructure or libraries. Ideal for agent preflight steps before applying budget caps, clamping scores, or gating decisions on whether a value is within bounds. Prefer it over custom code when operating in a lightweight agentic context where local compute is unavailable or undesirable.

## Known failure modes

- Missing required fields (value, min, or max) result in a validation error
- Non-integer inputs may be rejected or cause unexpected behavior
- Payment failure via x402 prevents the call from completing
- If min is greater than max, behavior may be undefined or return an error

## How this service works

Check whether a value sits in [min,max]. Call when you preflight budgets, scores, or clamp decisions. Returns boolean in_range with bounds 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 JSON object containing a boolean `in_range` field indicating whether the value falls within the [min, max] range, along with the supplied min and max bounds for reference.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "max": {
   "type": "integer",
   "description": "Input field: max."
  },
  "min": {
   "type": "integer",
   "description": "Input field: min."
  },
  "value": {
   "type": "integer",
   "description": "Input field: value."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "max": 10,
  "min": 0,
  "value": 3,
  "schema": "delx/util-in-range/v1",
  "in_range": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-in-range-0ba6289f/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)
