{"uid":"cap_pQAVaTQTEEujrfgoUoQ4W","slug":"mining-operating-contribution-margin-rolling-mean-report-c5fa3bbf","name":"Mining Operating Contribution Margin — Rolling Mean Report","description":"Mining operating contribution margin — Rolling mean report: Rolling mean report for Mining operating contribution margin. Supplied mining assumptions only; formula and units disclosed. No live prices, mining or guaranteed return. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded rolling mean report report.","url":"https://market.datapackvibe.com/x402/assistant-bx-mining-cash-margin-rate-rolling?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["contribution_usd","revenue_usd"],"properties":{"revenue_usd":{"type":"number","default":100,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"contribution_usd":{"type":"number","default":25,"maximum":10000000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"revenue_usd":100,"contribution_usd":25},{"revenue_usd":110.00000000000001,"contribution_usd":27.500000000000004},{"revenue_usd":100,"contribution_usd":25},{"revenue_usd":110.00000000000001,"contribution_usd":27.500000000000004}],"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_VQC0kEBL9qztLN71n5f-r","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 mining operating contribution margin ratios (contribution_usd / revenue_usd) over a sliding window across a series of time-period rows.","exampleAgentPrompt":"I have 6 quarters of mining revenue and contribution figures — can you calculate the rolling mean of the contribution margin rate using a window of 3 periods? Revenues are 100, 110, 105, 120, 115, 130 and contributions are 25, 27.5, 26, 30, 28.75, 32.5.","exampleUseCases":[{"title":"Quarterly mining margin trend smoothing","prompt":"I have 8 quarters of mining revenue and contribution data and want to smooth out the noise — calculate the rolling mean contribution margin rate with a window of 4 periods. Revenues are 100, 105, 98, 112, 108, 120, 115, 125 and contributions are 25, 26.25, 24.5, 28, 27, 30, 28.75, 31.25."},{"title":"Monthly profitability volatility analysis","prompt":"Can you run a rolling mean report on my mining operation's monthly contribution margins using a 2-period window? I have 5 months of data: revenues 200000, 185000, 210000, 195000, 220000 and contributions 50000, 44000, 63000, 48750, 66000."},{"title":"Annual budget smoothing for mining operations","prompt":"I need to smooth my mining contribution margin data across 10 annual periods using a rolling window of 5 — revenues are 1000000, 1050000, 980000, 1100000, 1080000, 1200000, 1150000, 1250000, 1300000, 1280000 and contributions are 250000, 262500, 245000, 275000, 270000, 300000, 287500, 312500, 325000, 320000."}],"resultDescription":"A rolling mean report containing the smoothed contribution margin rates (contribution_usd / revenue_usd) computed over the specified sliding window across the supplied period rows. Each output data point represents the mean margin ratio over the preceding N periods as defined by the window parameter. No live prices or guaranteed returns are included — the report applies only the supplied mining assumptions with formula and units disclosed.","failureModes":["Fewer than 2 rows supplied — minimum of 2 rows required","Window size larger than the number of rows provided — rolling mean cannot be computed","revenue_usd is zero or negative — excluded by exclusiveMinimum constraint","More than 200 rows supplied — exceeds maxItems limit","Window integer outside 2–200 range — schema validation failure","Malformed row objects missing required contribution_usd or revenue_usd fields"],"whenToPreferThis":"Choose this endpoint when you need a statistically smoothed view of mining operating contribution margin rates over time using a rolling mean, particularly when raw period-to-period figures are volatile and you want to identify underlying trends. Ideal for mining-specific financial analytics where the contribution margin formula and assumptions are fixed and you supply raw revenue and contribution figures per period. At $0.01 USDC per call it is cost-effective for frequent periodic reporting.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:48:03.800Z","isFirstParty":false,"canonicalSlug":"mining-operating-contribution-margin-rolling-mean-report-c5fa3bbf"}