{"uid":"cap_dcg9hEPVeqioH_M_jn5xG","slug":"one-engine-numeric-percent-change-calculator-229e9a99","name":"ONE Engine Numeric Percent Change Calculator","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/percent-change/t6?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.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YW93LGghb-connV_xGSrf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes percent change values for an array of numeric inputs, with optional scaling, offset, min/max clamping, and rounding controls.","exampleAgentPrompt":"Calculate the percent change for these numbers [100, 110, 95, 120, 108], rounding to 2 decimal places and clamping results between -50 and 50.","exampleUseCases":[{"title":"Stock price movement analysis","prompt":"I have a list of daily closing prices [150, 162, 158, 171, 165, 180] — can you calculate the percent change between each value, rounded to 2 decimal places?"},{"title":"Sensor reading deviation tracking","prompt":"Compute the percent change across these sensor readings [0.85, 0.91, 0.78, 0.95, 0.88], apply a scale factor of 100, and clamp the output between -20 and 20."},{"title":"Budget variance reporting","prompt":"I need the percent changes for these monthly budget figures [50000, 47000, 53000, 61000, 58000], with results offset by 0 and rounded to 1 decimal place so I can spot the biggest swings."}],"resultDescription":"A JSON object containing computed percent change values for the input array, potentially scaled by a factor, shifted by an offset, clamped to min/max bounds, and rounded to the specified number of digits.","failureModes":["Empty or missing 'values' array returns validation error","Array exceeding 1000 elements rejected","Non-finite numbers (NaN, Infinity) in input array cause errors","Payment failure or insufficient USDC balance blocks the call","Invalid parameter types (e.g. string instead of number) cause schema validation errors"],"whenToPreferThis":"Use this endpoint when you need a pay-per-call, serverless computation of percent change across a numeric array with flexible output controls (clamping, scaling, offset, rounding) and no need to maintain infrastructure. Ideal for lightweight agent workflows on Base that require deterministic numeric transformation at low cost ($0.004/call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:32.462Z","isFirstParty":false,"canonicalSlug":"one-engine-numeric-percent-change-calculator-2e33149b"}