{"uid":"cap_MY6CRNh0e54CwFlV7AcSz","slug":"one-engine-percent-change-t1-ed1d3f7b","name":"ONE Engine Percent Change (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/percent-change/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_NXk3GdhKTSTLhfKS1qHzj","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 percent change between consecutive numeric values in a provided array, with optional scaling and bounding parameters.","exampleAgentPrompt":"Calculate the percent change between each consecutive value in this list: [100, 115, 108, 132, 120], rounded to 2 decimal digits.","exampleUseCases":[{"title":"Stock price movement analysis","prompt":"I have a list of daily closing prices — [200, 210, 205, 220, 215, 230] — can you calculate the percent change from one day to the next, rounded to 2 decimal places?"},{"title":"Revenue growth rate tracking","prompt":"Here are my monthly revenue figures for the past year: [50000, 52000, 49000, 55000, 58000, 61000, 60000, 63000, 67000, 65000, 70000, 74000]. Compute the percent change between each consecutive month."},{"title":"Sensor reading delta computation","prompt":"I've got a series of sensor readings [1.02, 1.08, 0.97, 1.15, 1.10] and I need the percent change between each reading, scaled by a factor of 1 and clamped between -100 and 100."}],"resultDescription":"Returns a JSON object containing computed percent change values for each consecutive pair in the input array, optionally scaled by a factor, offset, clamped to min/max bounds, sized to a specific output length, and rounded to a specified number of decimal digits.","failureModes":["Input array exceeds 1000 elements — request rejected","Non-finite numbers (NaN, Infinity) in values array cause computation errors","Missing required 'values' field returns a validation error","Payment not included or invalid x402 payment header causes 402 response","Division by zero when a value is 0 and percent change is undefined"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, low-cost ($0.0005 USDC) pay-per-call computation of sequential percent changes on a numeric array without standing up your own compute infrastructure. Ideal for AI agents running on Base that need on-demand statistical transformation without managing servers or libraries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:42.087Z","isFirstParty":false,"canonicalSlug":"one-engine-percent-change-t1-ed1d3f7b"}