{"uid":"cap_cS-wntRIbf2tEOTyzcwfQ","slug":"one-engine-percent-change-t3-da147827","name":"ONE Engine Percent Change (T3)","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/t3?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.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0-hfXXIbiKxv4F7x95W6X","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 an array, with optional scaling, offsetting, and output constraints.","exampleAgentPrompt":"Calculate the percent change between each consecutive pair in this list of values: [100, 110, 99, 121, 108.9], rounded to 2 decimal digits.","exampleUseCases":[{"title":"Stock price change analysis","prompt":"I have a series of daily closing prices [150.00, 153.75, 148.20, 155.60, 162.30] — can you compute the percent change between each consecutive day, rounded to 2 decimal places?"},{"title":"Sensor reading drift detection","prompt":"Here are hourly temperature readings from my sensor: [72.1, 72.4, 73.0, 71.8, 70.5, 69.9]. Calculate the percent change between each consecutive reading, keeping results between -10 and 10."},{"title":"Revenue growth rate calculation","prompt":"I have monthly revenue figures [45000, 47250, 44100, 51030, 48478.5] — compute the percent change month over month, scaled by a factor of 0.01 and rounded to 4 digits so I get decimal fractions instead of whole percentages."}],"resultDescription":"Returns a JSON object containing the computed percent changes between consecutive values in the input array, with optional transformations such as clamping to min/max bounds, rounding to a specified number of decimal digits, scaling by a factor, and applying an offset.","failureModes":["Input array contains non-finite numbers (Infinity, NaN) — validation error returned","Array exceeds 1000 elements — request rejected","Division by zero when a value of 0 is followed by another value — may return Infinity or error","Missing required 'values' field — schema validation error","Payment failure via x402 — 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a cheap, pay-per-call serverless computation of percent change across a numeric array, especially within an autonomous agent workflow using x402 micropayments on Base. Prefer this over building custom logic when you need optional output normalization (min/max clamping, scaling, decimal rounding) alongside the percent change in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:59.666Z","isFirstParty":false,"canonicalSlug":"one-engine-percent-change-t3-da147827"}