{"uid":"cap_KFrg3OFC2drx_aNkRmOzy","slug":"one-engine-numeric-absolute-value-t5-722b8d32","name":"ONE Engine Numeric Absolute Value (T5)","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/absolute/t5?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.0025","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ieMvzIxF8eZxNN49LlAtF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes absolute values of a numeric array, with optional scaling, offsetting, rounding, and range-clamping transformations.","exampleAgentPrompt":"Take the absolute values of these numbers [-42, 7, -3.14, 0, -100, 58], round to 2 decimal places, and clamp the results between 0 and 60.","exampleUseCases":[{"title":"Normalize financial PnL deltas","prompt":"I have a list of daily profit/loss values like [-250, 130, -80, 400, -15] — can you compute the absolute values of all of them, rounded to 2 decimal digits, so I can see magnitude regardless of direction?"},{"title":"Clamp sensor error magnitudes","prompt":"These are sensor deviation readings: [-9.7, 3.2, -15.4, 0.8, -22.1, 6.5]. Get their absolute values and clamp everything between 0 and 10 so I can filter out extreme outliers."},{"title":"Scale absolute differences for visualization","prompt":"I need to transform these difference values [-0.5, 0.3, -1.2, 0.9, -0.1] into absolute values, then multiply by a factor of 100 and add an offset of 5, keeping 1 decimal place."}],"resultDescription":"Returns a JSON object containing the transformed array of absolute values, optionally scaled by a factor, shifted by an offset, rounded to a specified number of decimal digits, and clamped within the provided min/max bounds. The output size may be controlled via the 'size' parameter.","failureModes":["Non-finite values (NaN, Infinity) in the input array may cause errors or be rejected","Array exceeds 1000 elements limit — request will fail or be truncated","Invalid parameter types (e.g. string instead of number for min/max) cause schema validation errors","Payment failure via x402 returns 402 status and no computation is performed","Malformed JSON body returns a 400 error"],"whenToPreferThis":"Choose this endpoint when you need server-side absolute value computation over arrays of up to 1000 numbers with composable numeric transformations (scaling, offsetting, digit rounding, range clamping) in a single pay-per-call step. It is ideal for autonomous agent pipelines that need lightweight mathematical normalization without spinning up a compute environment. Prefer it over general-purpose code execution when you want a deterministic, low-cost, low-latency numeric utility at $0.0025 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:27.516Z","isFirstParty":false,"canonicalSlug":"one-engine-numeric-absolute-value-t5-722b8d32"}