{"uid":"cap_5BRAdrw65bsyNn6TwF7BW","slug":"one-engine-numeric-range-normalization-b98049f6","name":"ONE Engine Numeric Range Normalization","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/t1?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.0005","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.0005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZeQpcB0MtrZ1U767FK0TG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0005","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 into a specified range with optional scaling, offset, and digit precision controls.","exampleAgentPrompt":"Normalize these sensor readings [12.4, 87.3, 45.1, 3.9, 61.0] to a range between 0 and 100, rounding to 2 decimal places.","exampleUseCases":[{"title":"ML feature normalization pipeline","prompt":"I have these raw feature values [0.5, 120.3, 45.7, 89.1, 3.2] that I need normalized between 0 and 1 with 4 decimal places of precision before feeding them into my model."},{"title":"Score rescaling for leaderboard","prompt":"Take these player scores [1540, 870, 2300, 410, 1980] and rescale them to fit between 0 and 100 with no decimal places so I can display them on a leaderboard."},{"title":"Sensor data range clipping","prompt":"I've got a batch of temperature readings [22.1, -5.3, 101.7, 37.4, 88.9] — normalize them to a 0 to 50 range with 1 decimal digit and apply a factor of 1.2."}],"resultDescription":"Returns a JSON object containing the normalized values array, where each input number has been rescaled to the specified [min, max] range with optional factor, offset, and digit rounding applied.","failureModes":["Input array exceeds 1000 elements — request rejected","Non-finite values (NaN, Infinity) in the values array — computation error","Min equals max causing division-by-zero in normalization","Payment failure via x402 — 402 response with payment details","Malformed request body — 400 validation error","digits or size parameters outside acceptable integer bounds"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap, pay-per-call numeric normalization service that supports fine-grained control over output range, scaling factor, offset, and decimal precision — especially in agentic pipelines where you want to avoid spinning up your own compute. At $0.0005 USDC per call it is ideal for lightweight preprocessing steps in ML, analytics, or signal processing workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:25.913Z","isFirstParty":false,"canonicalSlug":"one-engine-numeric-range-normalization-b98049f6"}