{"uid":"cap_g5PxLRafYwx-3OQ_WMre3","slug":"delx-in-range-0ba6289f","name":"Delx In Range","description":"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.","url":"https://api.delx.ai/api/v1/x402/in-range?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"max":{"type":"integer","description":"Input field: max."},"min":{"type":"integer","description":"Input field: min."},"value":{"type":"integer","description":"Input field: value."}}},"responseSchema":{"type":"json","example":{"max":10,"min":0,"value":3,"schema":"delx/util-in-range/v1","in_range":true}},"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_dIRqcgzQyQk1pID7UEkMj","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":"Checks whether an integer value falls within a specified [min, max] range, returning a boolean result.","exampleAgentPrompt":"Is the value 73 within the range of 50 to 100?","exampleUseCases":[{"title":"Budget cap preflight check","prompt":"Before I approve this spend, check if 850 is within my budget range of 500 to 1000."},{"title":"Score validity check for agent output","prompt":"My agent returned a confidence score of 112 — verify whether that's within the valid range of 0 to 100."},{"title":"Sensor reading bounds validation","prompt":"The temperature sensor reported 37 — is that within the acceptable operating range of 20 to 80?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T06:53:29.952Z","isFirstParty":false,"canonicalSlug":"delx-in-range-0ba6289f"}