{"uid":"cap_x6R3DAqRfg5ULT8NXuzNW","slug":"one-engine-numeric-range-normalizer-2f0d91dd","name":"ONE Engine Numeric Range Normalizer","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v3/numeric/normalize-range/t6?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["values"],"properties":{"max":{"type":"number"},"min":{"type":"number"},"size":{"type":"integer"},"digits":{"type":"integer"},"factor":{"type":"number"},"offset":{"type":"number"},"values":{"type":"array","description":"Finite numbers, maximum 1000"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Pp5XyDBOzg5L2q4ivbP40","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalizes an array of numbers to a specified range, applying optional scaling, offset, digit rounding, and size constraints.","exampleAgentPrompt":"Normalize these values [14, 37, 52, 8, 99] to a range of 0 to 1, rounded to 3 decimal places.","exampleUseCases":[{"title":"ML feature normalization before training","prompt":"I have these raw feature values [230, 540, 120, 890, 670] and need them normalized between 0 and 1 with 4 decimal places so I can feed them into my model."},{"title":"Score percentile rescaling for dashboard","prompt":"Take these user scores [45, 78, 23, 91, 60, 34] and rescale them so the lowest maps to 0 and the highest maps to 100, rounded to 1 decimal place."},{"title":"Sensor data normalization with fixed output size","prompt":"Normalize these 8 sensor readings [1.2, 3.5, 0.8, 4.1, 2.9, 0.3, 3.8, 1.7] to the range -1 to 1, give me exactly 5 output values, rounded to 2 decimal places."}],"resultDescription":"A JSON object containing the normalized array of numbers transformed to fit the specified min/max range, with optional rounding to a given number of decimal digits, scaling by a factor, shifted by an offset, and truncated/sampled to the requested output size.","failureModes":["Missing required 'values' array returns validation error","More than 1000 values in the array exceeds the limit and is rejected","Non-finite numbers (NaN, Infinity) in the input array cause failure","Invalid types for min/max/factor/offset (e.g. strings) cause a schema error","Payment not included or insufficient triggers x402 payment required response"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call numeric normalization operation without spinning up your own compute, especially in agent pipelines that need to preprocess numeric arrays before ML inference, visualization, or comparison. It is well-suited for small-to-medium arrays (up to 1000 values) and supports combined rescaling, offsetting, and rounding in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:36.757Z","isFirstParty":false,"canonicalSlug":"one-engine-numeric-range-normalizer-7196d293"}