{"uid":"cap_cqAMd01lwjY_TdiETmGBz","slug":"one-engine-numeric-absolute-value-t3-f7e7e687","name":"ONE Engine Numeric Absolute Value 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/absolute/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_kUr_YeWnsJ0RfoONLcOXI","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":"Computes absolute values and applies numeric transformations (scaling, clamping, offsetting) to an array of up to 1000 numbers.","exampleAgentPrompt":"Take these numbers [-42, 7.5, -3.14, 100, -0.5] and give me their absolute values, then scale by a factor of 2, shift by an offset of 1, and clamp the results between 0 and 50, rounded to 2 decimal digits.","exampleUseCases":[{"title":"Sensor data magnitude normalization","prompt":"I have these raw sensor readings that include negative values: [-120.5, 45.2, -33.8, 200.1, -5.0]. Get their absolute values, scale them by 0.5, and clamp everything between 0 and 100 with 1 decimal place."},{"title":"Financial delta preprocessing","prompt":"These are profit/loss deltas from my trades: [-250, 80, -15, 300, -90, 45]. Convert them all to absolute magnitudes, apply a factor of 1.1, and offset by 5, keeping 2 digits of precision."},{"title":"Physics simulation vector magnitude cleanup","prompt":"I need to normalize these velocity components before my simulation: [-9.81, 3.2, -0.5, 12.4, -7.7]. Take their absolute values, scale by a factor of 0.1, and round to 3 decimal places."}],"resultDescription":"A JSON object containing the transformed numeric results after applying absolute value conversion, optional scaling by factor, optional offset addition, optional clamping to min/max bounds, and optional decimal rounding — returned for all input values in the submitted array.","failureModes":["Array exceeds 1000 elements — request rejected","Non-finite values (NaN, Infinity) in the values array cause rejection","Missing required 'values' field returns validation error","Payment not attached or insufficient — 402 Payment Required","Malformed JSON body returns 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when you need to batch-transform a list of numbers with absolute value, linear scaling, offset, clamping, and digit rounding in a single low-cost API call ($0.001 USDC). Ideal for AI agents doing numeric preprocessing, data cleaning, or feature engineering without spinning up compute infrastructure. Prefer over local code when you need a pay-per-call serverless utility with no setup overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:42:44.054Z","isFirstParty":false,"canonicalSlug":"one-engine-numeric-absolute-value-t3-f7e7e687"}