{"uid":"cap_99yn1EIpRN6CbaSzDxyv-","slug":"one-engine-numeric-round-t9-93d23cae","name":"ONE Engine Numeric Round (T9)","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/round/t9?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.018","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.018/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jRp_2p4l5MSikC4hU9vPi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.018","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Rounds an array of up to 1000 numeric values with optional scaling, offsetting, digit precision, and clamping to min/max bounds.","exampleAgentPrompt":"Round this list of numbers to 2 decimal places and clamp them between 0 and 100: [3.14159, 99.999, -5.7, 42.0001, 0.005].","exampleUseCases":[{"title":"Financial figure rounding for reports","prompt":"I have these raw transaction amounts that need to be rounded to 2 decimal places before I put them in the report: [12.3456, 0.999, 105.5012, 7.0001, 88.8888]. Can you round all of them to 2 digits?"},{"title":"Clamping sensor readings to valid range","prompt":"These sensor readings can only be valid between 0 and 50, but some are out of range — can you clamp and round them all to 1 decimal place? The values are: [-3.2, 24.678, 51.9, 0.0045, 49.999]."},{"title":"Scaling and rounding a price list by a factor","prompt":"I need to apply a 1.15 markup factor to these prices and then round everything to 2 decimal places: [9.99, 24.50, 3.75, 149.0, 0.49]."}],"resultDescription":"Returns an object containing the transformed array of numbers after rounding, optional scaling, offsetting, and clamping have been applied according to the input parameters.","failureModes":["Input array exceeds 1000 elements — request rejected","Non-finite numbers (NaN, Infinity) in values array cause errors","Invalid digit precision (negative or non-integer) may cause unexpected output","min greater than max causes undefined clamping behavior","Payment failure via x402 returns HTTP 402 before processing"],"whenToPreferThis":"Choose this endpoint when you need to batch-round, clamp, scale, or offset an array of numbers in a single pay-per-call API call without running local computation — especially useful in autonomous agent workflows on Base/x402 where serverless numeric transforms are needed at low cost ($0.018 USDC per call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:03.835Z","isFirstParty":false,"canonicalSlug":"one-engine-numeric-round-t9-93d23cae"}