# Delx Commerce — In-Range Validator

> Delx Commerce — In-Range Validator is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Checks whether an integer value falls within a specified minimum and maximum range, returning a boolean result.

## Facts

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

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-commerce-in-range-validator-c93e96ff -d '<json body>'
```

Example prompt: Is the value 3 within the range of 0 to 10?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call integer range check without setting up auth or managing subscriptions. Ideal for agent workflows that sporadically need numeric bounds validation and want verifiable, on-chain micropayment billing via USDC on Base or Solana.

## Known failure modes

- Missing required fields (value, min, or max) result in a validation error
- Non-integer inputs may be rejected or coerced unexpectedly
- Payment failure via x402 if USDC balance is insufficient
- min greater than max may produce undefined or error behavior

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing the original value, min, max, the schema identifier (delx/util-in-range/v1), and an 'in_range' boolean indicating whether the value falls within the specified bounds.

## 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-commerce-in-range-validator-c93e96ff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
