{"uid":"cap_JeXGZzaiFv6-CUsWtdM0e","slug":"price-after-percent-discount-rolling-mean-report-bdb75c12","name":"Price after Percent Discount – Rolling Mean Report","description":"Price after percent discount - Rolling mean report: Rolling mean report for Price after percent discount. Supplied retail figures only. Local calculation and scenario analysis; no live inventory, account access, platform fee lookup or order execution. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded rolling mean report deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-retail-discount-price-rolling?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["list_price","discount_percent"],"properties":{"list_price":{"type":"number","default":100,"maximum":1000000000000,"minimum":0},"discount_percent":{"type":"number","default":20,"maximum":100,"minimum":0}},"additionalProperties":false},"default":[{"list_price":100,"discount_percent":20},{"list_price":110.00000000000001,"discount_percent":22},{"list_price":100,"discount_percent":20},{"list_price":110.00000000000001,"discount_percent":22}],"maxItems":200,"minItems":2},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_o2g6M8LtbIky_s24ccrsI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a rolling mean of price-after-percent-discount values over a sliding window across a supplied series of list price and discount percent pairs.","exampleAgentPrompt":"Can you run a rolling mean report on these 4 products — list prices 100, 110, 100, 110 with discounts of 20%, 22%, 20%, 22% — using a window size of 2?","exampleUseCases":[{"title":"Smoothing seasonal markdown prices","prompt":"I have a list of 6 products with list prices 200, 180, 220, 195, 210, 205 and discount percentages 15, 18, 20, 12, 17, 22 — can you compute a rolling mean of the discounted prices using a window of 3 so I can see the smoothed price trend?"},{"title":"Retail scenario planning for discount strategy","prompt":"Run a rolling average analysis on these pairs: list prices 50, 60, 55, 65, 70 with discounts 10%, 10%, 15%, 20%, 25% and a window of 2 — I want to see how the average effective price evolves as my discounts deepen."},{"title":"Comparing average net price across product batches","prompt":"I've got two batches of products — batch A at list prices 300 and 320 with 30% discounts, and batch B at 280 and 340 with 25% discounts — can you give me a rolling mean report with window size 2 to compare the average net prices?"}],"resultDescription":"Returns a rolling mean report containing the smoothed discounted price values computed over the specified sliding window across the input rows. Each window position yields an average of the price-after-percent-discount values for that range, enabling trend analysis of effective retail prices.","failureModes":["Fewer than 2 rows supplied — minimum array length not met","Window size exceeds number of rows — rolling mean cannot be computed","list_price or discount_percent out of valid range (negative price, discount > 100%)","Malformed row objects missing required fields list_price or discount_percent","More than 200 rows submitted — exceeds maxItems constraint"],"whenToPreferThis":"Choose this endpoint when you need a local, stateless rolling mean computation specifically for price-after-percent-discount data in a retail context. It is ideal for scenario analysis and smoothing noisy discount price series without requiring live inventory, platform account access, or order execution. Prefer it over general statistics APIs when your inputs are specifically list-price and discount-percent pairs and you want a bounded, cost-effective single-deliverable report at $0.01 USDC per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:27.991Z","isFirstParty":false,"canonicalSlug":"price-after-percent-discount-rolling-mean-report-bdb75c12"}