{"uid":"cap_uyvWy7w1o4eX2ykkOSaLV","slug":"net-margin-sequential-input-change-attribution-calculator-d2edf024","name":"Net Margin Sequential Input-Change Attribution Calculator","description":"Net margin - Sequential input-change attribution: Change each input from baseline to final in declared field order, reporting each incremental effect; order dependent. Metric: Net margin. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20 analysis modes. No live feed, financial advice or trade execution. 0.01 USDC includes one bounded sequential input-change attribution report.","url":"https://market.datapackvibe.com/x402/assistant-finance-net-margin-waterfall?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after":{"type":"object","default":{"revenue":11000,"net_profit":2200},"required":["net_profit","revenue"],"properties":{"revenue":{"type":"number","default":10000,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period","exclusiveMinimum":0},"net_profit":{"type":"number","default":2000,"maximum":1000000000000,"minimum":-1000000000000,"description":"Amount in a consistent supplied currency and reporting period"}},"additionalProperties":false},"before":{"type":"object","default":{"revenue":10000,"net_profit":2000},"required":["net_profit","revenue"],"properties":{"revenue":{"type":"number","default":10000,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period","exclusiveMinimum":0},"net_profit":{"type":"number","default":2000,"maximum":1000000000000,"minimum":-1000000000000,"description":"Amount in a consistent supplied currency and reporting period"}},"additionalProperties":false}}},"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_a8IzO7mehFT1X94u30_FY","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":"Performs a sequential (waterfall) attribution analysis on net margin by changing each input from baseline to final values in field order, reporting each incremental effect.","exampleAgentPrompt":"Run a sequential input-change attribution (waterfall) on net margin: baseline was revenue $10,000 and net profit $2,000, and the final figures are revenue $11,000 and net profit $2,200 — show me how each input change contributed to the margin shift step by step.","exampleUseCases":[{"title":"Quarterly margin improvement attribution","prompt":"Our Q1 numbers were revenue $5,000,000 and net profit $400,000, and Q2 came in at revenue $5,500,000 and net profit $550,000. Can you run a sequential waterfall attribution on net margin so I can see how much each input — revenue then profit — contributed to the margin improvement?"},{"title":"Annual profitability review for a startup","prompt":"Last year our revenue was $800,000 and net profit was negative $50,000. This year revenue hit $1,200,000 and net profit turned positive at $120,000. Walk me through a step-by-step attribution of how those input changes drove the net margin turnaround, changing revenue first then profit."},{"title":"Client financial report margin decomposition","prompt":"I need to explain to a client why their net margin moved. Before: revenue $3,000,000, net profit $210,000. After: revenue $2,800,000, net profit $252,000. Give me a sequential attribution report showing each input's incremental effect on net margin in field order."}],"resultDescription":"Returns a JSON object containing the net margin formula, the sequential step-by-step attribution of each input change (revenue first, then net profit) from baseline to final values with incremental margin effects at each step, units, and a statement of limitations. The order of attribution is field-declaration order, making the result path-dependent.","failureModes":["Missing required fields (revenue or net_profit in before/after objects) returns validation error","Revenue value of zero or negative triggers exclusiveMinimum violation","Net profit or revenue values exceeding 1,000,000,000,000 exceed maximum bounds","Malformed JSON body returns schema validation error","Payment not included or insufficient USDC causes x402 payment-required response"],"whenToPreferThis":"Choose this endpoint when you need to decompose a change in net margin into the sequential, ordered contribution of each individual input (revenue, then net profit) — a classic waterfall/bridge chart analysis. It is ideal for financial reporting, investor communications, or management reviews where you want to show step-by-step attribution rather than a simultaneous multi-factor regression. Prefer it over simple before/after comparison when the narrative of 'which factor moved first and by how much' matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:48:44.753Z","isFirstParty":false,"canonicalSlug":"net-margin-sequential-input-change-attribution-calculator-d2edf024"}