{"uid":"cap_4NWWsH8-1llpc15Ze3xmY","slug":"one-engine-numeric-absolute-value-t1-bdeffc17","name":"ONE Engine Numeric Absolute Value (T1)","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/t1?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.0005","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.0005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-IkTlbvfHd8YAzzQJuHE7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0005","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 up to 1000 numbers, with optional scaling, clamping, offsetting, and digit-rounding transformations.","exampleAgentPrompt":"Take the absolute values of this list of numbers [-3.7, 12.1, -0.5, 99, -47.2], scale them by a factor of 2, and round to 1 decimal digit.","exampleUseCases":[{"title":"Normalize signed sensor readings","prompt":"I have a batch of accelerometer readings that can be negative or positive — [-9.8, 4.2, -0.3, 7.1, -5.5] — can you take the absolute values of all of them and scale by 0.1, rounded to 2 decimal digits?"},{"title":"Clamp financial deltas to positive range","prompt":"I've got these daily P&L deltas: [-500, 200, -80, 1000, -330]. Get the absolute values and clamp the results between 0 and 400 so I can use them as magnitude scores."},{"title":"Prepare distance values from signed coordinates","prompt":"Can you take absolute values of these signed displacement values [-12, 45, -7, 0, -99, 23] and apply an offset of 5 to each result? I need them all positive for a distance calculation."}],"resultDescription":"Returns a JSON object containing an array of transformed numeric values where each input has been converted to its absolute value and optionally scaled by a factor, offset by a constant, clamped to a min/max range, and rounded to a specified number of decimal digits. The response structure follows the generic additionalProperties schema, so the exact output key names may vary.","failureModes":["Array exceeds 1000 elements — request rejected","Non-finite values (NaN, Infinity) in the input array — may cause computation errors","Missing required 'values' field — validation error returned","Payment not included or insufficient — 402 Payment Required response","Type mismatch (e.g. strings in numeric array) — schema validation failure"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap, pay-per-call absolute value transformation on a batch of numbers, especially when combined with scaling, clamping, or rounding in a single call. It is ideal for agentic pipelines that need lightweight numeric normalization without spinning up local compute, and when operating on Base with x402 micropayments at $0.0005 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:35.509Z","isFirstParty":false,"canonicalSlug":"one-engine-numeric-absolute-value-t1-bdeffc17"}