{"uid":"cap_dK6-CMm8EfOZs580IwaKP","slug":"one-engine-numeric-percent-change-calculator-6c83026c","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/t9?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.018","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.018/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_w2LSF62XRWkDNLcnuk2H_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.018","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 numbers, with optional scaling, offset, and range constraints.","exampleAgentPrompt":"Calculate the percent change for this list of values [100, 120, 90, 150, 130], round results to 2 decimal places, and clamp them between -50 and 50.","exampleUseCases":[{"title":"Stock price delta analysis","prompt":"I have daily closing prices [200, 215, 198, 225, 210] — can you compute the percent change between each consecutive value and round to 2 decimal places?"},{"title":"Sensor reading normalization","prompt":"Take these sensor readings [0.5, 0.75, 0.6, 0.9, 0.8] and calculate their percent changes, applying a scale factor of 100 and clamping results between -100 and 100."},{"title":"Budget variance reporting","prompt":"Here are monthly budget figures [5000, 5300, 4800, 6100, 5900] — calculate the percent change for each and give me results rounded to 1 decimal place."}],"resultDescription":"A JSON object containing the computed percent change results for the input array, potentially scaled by factor, shifted by offset, clamped to min/max bounds, and rounded to the specified number of decimal digits.","failureModes":["Input array exceeds 1000 elements — request rejected","Non-finite numbers (NaN, Infinity) in values array cause validation error","Missing required 'values' field returns 400 error","Division by zero when computing percent change from a zero baseline","Payment not provided or insufficient USDC causes 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a fast, pay-per-call percent change computation with built-in options for scaling, offsetting, and range clamping — especially in autonomous agent workflows on Base where x402 micropayments are already in use. Prefer it over rolling your own computation when you want a single API call to handle rounding and constraint logic in one step.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:43.334Z","isFirstParty":false,"canonicalSlug":"one-engine-numeric-percent-change-calculator-2e33149b"}