# JSON Numeric Range Check

> JSON Numeric Range Check is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Validates and checks selected numeric fields in a JSON object against caller-supplied inclusive minimum and maximum bounds, returning counts and normalized values as deterministic versioned JSON.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/json-numeric-range-check
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/json-numeric-range-check-d549371c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lFURYS5n7_pNCwTSBbyes

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 json-numeric-range-check-d549371c -d '<json body>'
```

Example prompt: Before sending this order payload to the fulfillment API, check that the 'quantity' and 'unit_price' fields are within the allowed range of 1 to 10000 — flag anything out of bounds and tell me the normalized values.

## When to prefer this

Use this endpoint when you need a lightweight, stateless, pay-per-call numeric bounds validator for JSON objects — especially as a preflight gate before passing structured data to a downstream tool with strict numeric contracts. Prefer this over building custom validation logic when you need deterministic, versioned results with counts and normalization included. It is not a substitute for full JSON Schema validation or type-checking services.

## Known failure modes

- Missing required fields array or object body returns an error
- Minimum value greater than maximum value may cause validation error or undefined behavior
- Non-numeric values in specified fields may be skipped or cause field-level errors
- Exceeding 256 fields in array or 128 properties in object may result in truncation or rejection
- Payment not supplied (x402 protocol) results in 402 Payment Required

## How this service works

JSON Numeric Range Check: JSON Numeric Range Check checks selected numeric fields against inclusive bounds from bounded caller-supplied values without an external provider. Call JSON Numeric Range Check before an agent hands structured data or a batch plan to a downstream tool with a stricter contract. Returns the bounded transformation or validation finding with counts, normalized values, and a versioned result contract for JSON Numeric Range Check as versioned deterministic JSON. Price: $0.00…

## Output

Returns a deterministic versioned JSON result containing: which fields were checked, counts of in-range and out-of-range values, normalized values clamped or flagged against the supplied bounds, and a versioned result contract identifier. No data is retained after processing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "fields": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 8192
   },
   "maxItems": 256,
   "description": "Fields supplied to JSON Numeric Range Check; used only for this bounded calculation and processed in memory without retention."
  },
  "object": {
   "type": "object",
   "description": "Object supplied to JSON Numeric Range Check; used only for this bounded calculation and processed in memory without retention.",
   "maxProperties": 128,
   "additionalProperties": true
  },
  "maximum": {
   "type": "number",
   "description": "Maximum supplied to JSON Numeric Range Check; used only for this bounded calculation and processed in memory without retention."
  },
  "minimum": {
   "type": "number",
   "description": "Minimum supplied to JSON Numeric Range Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "passed": true,
   "invalid_fields": []
  },
  "schema": "delx/util-json-numeric-range-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "4c4a3da6026b44f2496b41463f74706930eaa5acc0a60d89ef6d4e9c805dbac5",
   "external_calls": 0
  },
  "operation": "data_batch:json_numeric_range_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/json-numeric-range-check-d549371c/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)
