{"uid":"cap_4xviLRNo2LFT-B9GG_jJe","slug":"one-engine-numeric-absolute-value-transform-2e494dd6","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/t2?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.0007","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.0007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sefC5hP3bCpDcQnofWuJT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0007","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, digit rounding, and min/max clamping.","exampleAgentPrompt":"Take this list of numbers [-3.7, 0, 12.5, -8, 4.2] and give me their absolute values rounded to 1 decimal place, clamped between 0 and 10.","exampleUseCases":[{"title":"Financial delta magnitude normalization","prompt":"I have these daily P&L deltas: [-120.5, 45.0, -8.3, 200.1, -67.9] — give me the absolute magnitudes rounded to 2 decimal places so I can see how volatile each day was regardless of direction."},{"title":"Sensor error deviation cleanup","prompt":"My sensors returned these error readings: [-0.034, 0.012, -0.091, 0.055, -0.003] — compute their absolute values and clamp everything between 0 and 0.1 so I can feed clean deviation magnitudes into my model."},{"title":"Physics simulation force magnitudes","prompt":"I need the magnitudes of these force vectors: [-9.81, 3.2, -15.0, 0, -2.5, 7.7] — strip the signs and scale by a factor of 2, then round to 1 decimal place."}],"resultDescription":"A JSON object containing an array of transformed numeric values: each input number has had its absolute value taken, then optionally scaled by factor, shifted by offset, rounded to the specified number of digits, and clamped between min and max. The exact response shape is flexible (additionalProperties: true).","failureModes":["Input array contains non-finite values (Infinity, NaN) — endpoint may reject or behave unexpectedly","Array exceeds 1000 elements — rejected per schema constraint","Payment failure via x402 protocol — 402 response returned before computation","Missing required 'values' field — 400 validation error","Network timeout on Cloudflare Workers edge node"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, no-infrastructure absolute value computation with optional chaining of scale, offset, rounding, and clamping in a single call — ideal for autonomous agents on x402/Base that want cheap, atomic math operations without standing up their own compute.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:49.322Z","isFirstParty":false,"canonicalSlug":"one-engine-numeric-absolute-value-transform-1c492e32"}