{"uid":"cap_Qa4F5fEAg3Z6G3WnjH4Ng","slug":"one-engine-numeric-normalize-range-t2-bdc050b2","name":"ONE Engine Numeric Normalize Range (t2)","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/t2?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.0007","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.0007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4KthFKC17UwiGBGHIuzhL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0007","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 target range, with optional scaling, offset, rounding, and size capping","exampleAgentPrompt":"Normalize these sensor readings [12, 45, 7, 99, 33] to fit between 0 and 1, rounded to 4 decimal places.","exampleUseCases":[{"title":"ML feature normalization pipeline","prompt":"I have these raw feature values [0.5, 120, 33, 7, 88, 201] and need them normalized to a 0-to-1 range with 6 decimal digits of precision before I feed them into my model."},{"title":"Score rescaling to percentage","prompt":"Rescale these exam scores [45, 78, 92, 61, 55, 88, 70] so that the lowest possible is 0 and the highest is 100, rounded to 2 decimal places."},{"title":"Bounded data capping for visualization","prompt":"Take these temperature readings [-5, 12, 34, 67, 102, 88, 45] and normalize them to fit between 10 and 90, applying a factor of 1.2 and an offset of 2, keeping only the first 5 results."}],"resultDescription":"Returns a JSON object containing the normalized array of numbers rescaled to the specified min/max range, with optional rounding, factor scaling, offset adjustment, and size truncation applied as requested.","failureModes":["Array exceeds 1000 element limit — request rejected","Non-finite values (NaN, Infinity) in input array cause validation error","Min equals max causing division-by-zero in normalization","Invalid types for numeric parameters (e.g. string instead of number)","Payment failure via x402 protocol results in 402 response before processing"],"whenToPreferThis":"Choose this endpoint when you need lightweight, pay-per-call numeric normalization without standing up your own compute — especially for AI agent pipelines preprocessing features, rescaling sensor data, or preparing bounded datasets. Ideal when you need precise control over min/max bounds, scale factor, offset, rounding precision, and output size 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:17.545Z","isFirstParty":false,"canonicalSlug":"one-engine-numeric-normalize-range-t2-bdc050b2"}