{"uid":"cap_hW-o58vglsJ485ExnJNBH","slug":"one-engine-numeric-absolute-value-transformer-fa03340f","name":"ONE Engine Numeric Absolute Value Transformer","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/t8?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.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Qb_En2gMIFDE63eG6os4a","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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 normalization, scaling, and filtering parameters.","exampleAgentPrompt":"Take these numbers — [-3.7, 12, -0.5, 8.2, -100] — and give me their absolute values, rounded to 2 decimal digits.","exampleUseCases":[{"title":"Sanitize signed sensor readings","prompt":"I have a list of sensor delta readings that can be negative: [-4.2, 0.8, -12.3, 5.0, -0.1]. Can you return the absolute values of all of them, rounded to 1 decimal place?"},{"title":"Normalize financial loss figures","prompt":"Here are some profit/loss numbers from our ledger: [-500.50, 200.00, -75.25, -1200.00, 300.75]. Give me the absolute values scaled by a factor of 0.01 so I can work in percentage terms, with 4 digits of precision."},{"title":"Compute magnitude of signed offsets","prompt":"I've got these displacement values [-9, 3, -7, 0, -2, 5] and I need their absolute values clamped between 0 and 10, output as integers with 0 decimal digits."}],"resultDescription":"Returns a JSON object containing the transformed numeric array where each input value has been converted to its absolute value, with optional application of scaling (factor), offset, digit rounding, and min/max clamping. The response shape is flexible (additionalProperties: true).","failureModes":["Empty or missing 'values' array returns a validation error","More than 1000 values in the array exceeds the documented maximum and may be rejected","Non-finite numbers (NaN, Infinity) in the input array may cause computation errors","Invalid types (strings instead of numbers) in the values array will fail schema validation","Payment failure via x402 protocol results in a 402 response before computation"],"whenToPreferThis":"Choose this endpoint when you need a cheap, pay-per-call absolute value computation over an array of up to 1000 numbers, especially with optional normalization, scaling, digit rounding, or clamping — all in one call. Prefer this over local computation when running inside a sandboxed agent environment without math libraries, or when you want a consistent, stateless numeric transform billed via x402 on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:23.721Z","isFirstParty":false,"canonicalSlug":"one-engine-numeric-absolute-value-transformer-fa03340f"}