{"uid":"cap_lFURYS5n7_pNCwTSBbyes","slug":"json-numeric-range-check-d549371c","name":"JSON Numeric Range Check","description":"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…","url":"https://api.delx.ai/api/v1/x402/json-numeric-range-check","method":"POST","headers":{},"bodySchema":{"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."}}},"responseSchema":{"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"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CSqjL5Qk8V2IEE0rBuk2k","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Preflight check before downstream tool","prompt":"I'm about to pass this structured pricing plan to our invoicing system which only accepts amounts between 0.01 and 9999.99 — can you check the 'amount', 'discount', and 'tax' fields are all within those bounds first?"},{"title":"Validate agent-generated sensor data","prompt":"My agent generated this JSON batch of temperature readings. Please check that 'temp_celsius' and 'humidity_percent' are within 0–100 for humidity and -40 to 85 for temperature, and tell me how many are out of range."},{"title":"Enforce scoring rubric bounds","prompt":"This JSON has a 'score' and 'confidence' field from my evaluation pipeline — make sure both are between 0 and 1 inclusive, and give me the count of any violations."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:17:45.586Z","isFirstParty":false}