{"uid":"cap_yOqnkJcKQ8AFrg-uTOOKX","slug":"one-engine-numeric-round-t3-2cc8a543","name":"ONE Engine Numeric Round (t3)","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/t3?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.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QTf0C0vytsF0ZFyngvHfa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 numeric values with optional min/max clamping, scaling factor, offset, and decimal digit control.","exampleAgentPrompt":"Round these numbers [3.14159, 2.71828, 1.61803] to 2 decimal places, clamp them between 1 and 3, and apply a scale factor of 1.5.","exampleUseCases":[{"title":"Round financial price list","prompt":"I have a list of raw prices [12.3456, 0.9987, 5.001, 99.999] — can you round them all to 2 decimal places and make sure none go below 0 or above 100?"},{"title":"Normalize sensor readings","prompt":"I've got sensor readings [0.003421, 1.87654, -0.00023, 4.99871] that need to be rounded to 3 decimal places and clamped between 0 and 5 before I store them."},{"title":"Scale and round a dataset","prompt":"Take these raw values [10, 25, 37, 82, 156], multiply each by a factor of 0.01, then round everything to 4 decimal places so I can use them as normalized scores."}],"resultDescription":"Returns an object containing the transformed array of numbers after rounding, optional clamping to min/max bounds, scaling by factor, and offset application. The exact response shape may include the processed values array and metadata about the operation.","failureModes":["Passing more than 1000 values in the array causes rejection","Non-finite numbers (NaN, Infinity) in the values array may cause errors","Missing required 'values' field returns a validation error","Invalid types (e.g. strings in values array) cause schema validation failure","Payment failure via x402 protocol blocks the call"],"whenToPreferThis":"Choose this endpoint when you need a cheap, pay-per-call numeric rounding and transformation utility without setting up your own compute — especially useful inside autonomous agent workflows on Base where x402 micropayments are already available. Ideal for batch-rounding up to 1000 numbers in a single call with optional clamping and scaling, at $0.001 USDC per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:55.594Z","isFirstParty":false,"canonicalSlug":"one-engine-numeric-round-t3-2cc8a543"}