{"uid":"cap_fD37xfL1BVAkoQDqNj9lx","slug":"marketplace-proceeds-rolling-mean-report-eaf21b38","name":"Marketplace Proceeds Rolling Mean Report","description":"Marketplace proceeds from supplied fees - Rolling mean report: Rolling mean report for Marketplace proceeds from supplied fees. 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-marketplace-proceeds-rolling?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["gross_sale","fee_percent","fixed_fee","refunds"],"properties":{"refunds":{"type":"number","default":5,"maximum":1000000000000,"minimum":0},"fixed_fee":{"type":"number","default":1,"maximum":1000000000000,"minimum":0},"gross_sale":{"type":"number","default":100,"maximum":1000000000000,"minimum":0},"fee_percent":{"type":"number","default":10,"maximum":100,"minimum":0}},"additionalProperties":false},"default":[{"refunds":5,"fixed_fee":1,"gross_sale":100,"fee_percent":10},{"refunds":5.5,"fixed_fee":1.1,"gross_sale":110.00000000000001,"fee_percent":11},{"refunds":5,"fixed_fee":1,"gross_sale":100,"fee_percent":10},{"refunds":5.5,"fixed_fee":1.1,"gross_sale":110.00000000000001,"fee_percent":11}],"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_UfFgJb8RBI4Ke5sPU4S6z","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 net marketplace proceeds (gross sales minus percentage fees, fixed fees, and refunds) over a sliding window across supplied retail rows.","exampleAgentPrompt":"I have 4 marketplace transactions — gross sales of $100, $110, $100, $110 with fee percentages of 10%, 11%, 10%, 11%, fixed fees of $1, $1.10, $1, $1.10, and refunds of $5, $5.50, $5, $5.50 — can you run a rolling mean report with a window of 2 to see the smoothed net proceeds after all fees?","exampleUseCases":[{"title":"Smoothing seasonal marketplace revenue","prompt":"I have 10 weeks of marketplace sales data with varying gross sales, fee percentages between 8-12%, fixed fees around $2, and refunds each week — can you calculate a rolling mean of net proceeds using a window of 4 so I can see the smoothed trend?"},{"title":"Fee structure scenario comparison","prompt":"I want to compare how my net proceeds look under current fee conditions — I'll give you 6 rows of gross sales ranging from $200 to $500, a flat 15% fee percent, $3 fixed fees, and minimal refunds — run a rolling mean with window size 3 so I can see the average proceeds trend."},{"title":"Refund impact on average proceeds","prompt":"Can you run a rolling mean report on my last 8 marketplace transactions? Gross sales are around $150 each, fee percent is 12%, fixed fee is $1.50, but refunds vary a lot between $0 and $30 — use a window of 3 so I can see how the refund spikes affect my smoothed net proceeds."}],"resultDescription":"A rolling mean report showing smoothed net marketplace proceeds across the supplied transaction rows, computed over the specified sliding window. Each window position yields an averaged net-proceeds figure (gross sale minus percentage-based fee minus fixed fee minus refunds), enabling trend analysis and scenario evaluation of fee impacts on retail marketplace earnings.","failureModes":["Fewer than 2 rows supplied — minimum array length not met","Window size exceeds number of rows — rolling window cannot be applied","Negative values submitted for fields with minimum 0 constraint — validation error","fee_percent exceeds 100 — invalid percentage constraint","Any numeric field exceeds the 1e12 maximum — rejected","Malformed row objects missing required fields (gross_sale, fee_percent, fixed_fee, refunds)"],"whenToPreferThis":"Choose this endpoint when you have a series of retail marketplace transaction rows and need to compute a smoothed rolling average of net proceeds after accounting for percentage-based platform fees, fixed fees, and refunds. It is ideal for local scenario analysis and trend smoothing without requiring live platform access, inventory data, or order execution. Best suited for offline financial modeling, fee sensitivity analysis, and revenue trend reporting on supplied datasets.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:32.453Z","isFirstParty":false,"canonicalSlug":"marketplace-proceeds-rolling-mean-report-eaf21b38"}