{"uid":"cap_O6x9vTLeonlHpiB-8Fl8l","slug":"one-engine-numeric-range-normalizer-7196d293","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/t4?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.0015","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.0015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nLdQK9ApUUFYv47ifhVxp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0015","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 numeric values into a specified min-max range with optional scaling, offsetting, digit rounding, and size controls.","exampleAgentPrompt":"Normalize these values [12, 45, 7, 88, 33] to fit between 0 and 1, rounded to 4 decimal places.","exampleUseCases":[{"title":"ML feature preprocessing pipeline","prompt":"I have these raw feature values [0.5, 12.3, 4.7, 99.1, 23.4] from my dataset — can you normalize them to a 0 to 1 range with 3 decimal digits before I feed them into my model?"},{"title":"Sensor reading rescaling","prompt":"Rescale these temperature sensor readings [15, 42, 7, 88, 61, 34] so they fit between -1 and 1, rounded to 2 decimal places."},{"title":"Score normalization to 0-100","prompt":"I have these raw quiz scores [55, 72, 38, 91, 63, 47] and I need them normalized to a 0-100 scale with no decimal digits."}],"resultDescription":"Returns a JSON object containing the normalized array of numeric values rescaled to the specified min-max range, with optional rounding, factor scaling, and offset applied. The output shape matches the requested size if specified.","failureModes":["Array exceeds 1000 elements — request is rejected","Non-finite values (NaN, Infinity) in the input array cause validation failure","Missing required 'values' field returns a 400-level error","Invalid types for optional parameters (e.g. string instead of number) cause schema rejection","Payment not provided or insufficient USDC causes 402 response"],"whenToPreferThis":"Choose this endpoint when you need fast, cheap, per-call numeric normalization without spinning up a local math library — especially in agentic pipelines running on Base where x402 micropayments are already supported. Ideal for preprocessing steps in ML workflows, dashboard rescaling, or any scenario where raw numeric arrays need to be bounded to a target range before downstream processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:06.492Z","isFirstParty":false,"canonicalSlug":"one-engine-numeric-range-normalizer-7196d293"}