{"uid":"cap_0u7FZup9jFU0EusAAU16l","slug":"delx-commerce-json-numeric-range-check-8a3472c7","name":"Delx Commerce — JSON Numeric Range Check","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/json-numeric-range-check?utm_source=zero.xyz","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_rf7Y_NZrGE0aSCtNVPQqx","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 that specified numeric fields within a JSON object fall within a given minimum and maximum range, returning a pass/fail result with a list of invalid fields.","exampleAgentPrompt":"Check whether the numeric fields 'price', 'quantity', and 'discount' in this JSON object all fall between 0 and 1000: {\"price\": 450, \"quantity\": 5, \"discount\": 1200}.","exampleUseCases":[{"title":"Sensor data bounds validation","prompt":"I have a JSON object with sensor readings — 'temperature', 'humidity', and 'pressure' — and I need to make sure all of them are between -50 and 150. Can you check which ones are out of range?"},{"title":"E-commerce price integrity check","prompt":"Before we process this order payload, can you verify that the 'unit_price', 'shipping_cost', and 'tax' fields are all between 0 and 9999? Here's the object: {\"unit_price\": 29.99, \"shipping_cost\": 5.00, \"tax\": -2.00}."},{"title":"Survey score validation","prompt":"I've got a JSON response from a survey with fields 'satisfaction', 'nps_score', and 'effort_score'. All of them should be between 1 and 10. Can you tell me which ones, if any, are outside that range?"}],"resultDescription":"Returns a result object indicating whether all checked fields passed (passed: true/false), a list of invalid_fields that were out of range, an overall status ('pass' or 'fail'), and evidence metadata including a SHA-256 hash of the input, a flag confirming no data was retained, and a count of external calls made (always 0).","failureModes":["Missing or malformed JSON object input returns a validation error","Specifying field names that do not exist in the object may return them as invalid or be silently skipped","Providing non-numeric values in fields listed for range checking may cause those fields to be flagged as invalid","Exceeding maxProperties (128) or maxItems (256 fields) limits may result in a rejection error","Missing minimum or maximum parameters may cause undefined range behavior"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, verifiable, pay-per-call check that specific numeric fields in a JSON object satisfy a bounded range constraint — especially in automated agent workflows where auditability (via SHA-256 evidence) and no data retention are important. It is preferable to custom validation logic when you need an external, trustless attestation of range compliance, or when integrating with x402-compatible micropayment flows on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:42.742Z","isFirstParty":false,"canonicalSlug":"delx-commerce-json-numeric-range-check-8a3472c7"}