{"uid":"cap_LNA5cBmvjrfkI8xP8ObZx","slug":"one-engine-numeric-absolute-top-10-filter-93306e66","name":"ONE Engine Numeric Absolute Top-10 Filter","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/t10?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.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_odHLrLMYbaa_6ECJ4WP8H","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the top 10 absolute values from an array of numbers, with optional scaling, rounding, and range filtering.","exampleAgentPrompt":"From this list of values [-450, 12, 380, -900, 27, -55, 610, -300, 88, -720, 5, 430], give me the top 10 by absolute magnitude, rounded to 2 decimal places.","exampleUseCases":[{"title":"Outlier detection in sensor readings","prompt":"I have a list of temperature deltas from my sensors: [3.2, -87.5, 12.1, -4.4, 99.0, -101.3, 0.5, 44.2, -67.8, 23.9, -5.1, 88.4]. Find me the top 10 by absolute value so I can flag the biggest anomalies."},{"title":"Financial P&L extremes ranking","prompt":"Here are my daily P&L numbers for the past month: [120, -450, 80, -330, 200, -90, 510, -620, 15, -280, 430, -170, 300, -50, 410, -390, 60, -220, 350, -480, 140, -310, 270, -130, 190, -70, 490, -240, 160, -400]. Give me the top 10 days by absolute magnitude, scaled by a factor of 1000 and rounded to 0 decimal places."},{"title":"Physics simulation force ranking","prompt":"I've computed these force vectors (in Newtons): [-9.81, 4.2, -15.6, 0.3, 22.1, -18.7, 7.4, -2.9, 13.5, -11.2, 6.8, -20.4]. Return the top 10 by absolute value so I can prioritize which forces to simulate first."}],"resultDescription":"A JSON object containing the top 10 numbers from the input array ranked by absolute value, potentially filtered by min/max bounds, scaled by a factor, offset by a constant, and rounded to a specified number of decimal digits.","failureModes":["Input array exceeds 1000 elements — request rejected","Non-finite values (NaN, Infinity) in input array cause validation errors","Missing required 'values' field returns 400 error","Payment not included or insufficient USDC causes 402 Payment Required","Network timeout on Cloudflare Workers edge"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap ($0.03/call), pay-per-use computation of top absolute values from a numeric array without standing up your own infrastructure. Ideal for autonomous agents that occasionally need numeric ranking by magnitude and want to avoid managing compute resources. Best when the array is under 1000 elements and results need optional scaling/rounding in one pass.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:41.192Z","isFirstParty":false,"canonicalSlug":"one-engine-numeric-absolute-top-10-filter-93306e66"}