{"uid":"cap_cnzZxubub4pTOrEFxmPSp","slug":"one-engine-numeric-absolute-value-transform-1c492e32","name":"ONE Engine Numeric Absolute Value Transform","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/t7?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.0065","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.0065/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0065","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0065","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6aBwuQP09JlrNWLBWQcsP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0065","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 an array of numbers, with optional scaling, offsetting, rounding, and clamping transformations.","exampleAgentPrompt":"Take the absolute values of these numbers [-3.7, 12, -0.5, 8.2, -100], scale each result by a factor of 2, offset by 1, and round to 2 decimal places.","exampleUseCases":[{"title":"Financial delta magnitude normalization","prompt":"I have these price changes from yesterday: [-4.2, 13.5, -0.8, 7.1, -22.4]. Get the absolute values of all of them, scale by 0.5, and round to 1 decimal place so I can compare magnitudes."},{"title":"Sensor error residual processing","prompt":"I've got a list of signed error residuals from my sensor readings: [-0.03, 0.12, -0.55, 0.08, -1.2, 0.34]. Compute the absolute values, offset each by 0.01, and clamp all results between 0 and 1."},{"title":"Normalize signed score deltas for ranking","prompt":"Here are score deltas for 6 players: [-15, 7, -3, 22, -8, 1]. Give me the absolute values scaled by a factor of 10 and rounded to 0 decimal digits, so I can rank by magnitude of change."}],"resultDescription":"Returns a JSON object containing the transformed numeric results — an array of absolute values of the input numbers, optionally scaled by a factor, shifted by an offset, rounded to a specified number of decimal digits, and clamped between min and max bounds.","failureModes":["Input array contains non-finite numbers (Infinity, NaN) — API may reject or return errors","Input array exceeds 1000 elements — exceeds documented limit","Missing required 'values' field — returns validation error","Payment insufficient or x402 payment failure — request blocked","Malformed JSON body — returns 400-level error"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, autonomous-agent-friendly absolute value computation with optional chained transformations (scale, offset, round, clamp) on a batch of up to 1000 numbers, particularly in x402/Base micropayment pipelines where no persistent compute environment is available.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:28.585Z","isFirstParty":false,"canonicalSlug":"one-engine-numeric-absolute-value-transform-1c492e32"}