{"uid":"cap_HS9D-EoTAu_YnSx2bO-fx","slug":"net-margin-ordered-trend-analysis-b5c0ec42","name":"Net Margin Ordered Trend Analysis","description":"Net margin - Ordered trend analysis: Fit a descriptive straight-line trend to up to 200 equally spaced supplied observations; no forecast. 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 ordered trend analysis report.","url":"https://market.datapackvibe.com/x402/assistant-finance-net-margin-trend?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","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},"default":[{"revenue":10000,"net_profit":2000},{"revenue":11000,"net_profit":2200},{"revenue":10000,"net_profit":2000},{"revenue":11000,"net_profit":2200}],"maxItems":200,"minItems":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_8soulCVQMEJRgujYiXhdG","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":"Fits a descriptive straight-line trend to a supplied series of net margin observations (up to 200 equally-spaced data points) and returns the trend formula, units, and limitations as JSON.","exampleAgentPrompt":"Fit a straight-line trend to my net margin data — I have 8 quarterly observations: revenue was 10000, 11000, 10500, 12000, 11500, 13000, 12500, 14000 and net profit was 1200, 1430, 1260, 1560, 1495, 1820, 1625, 1960. Give me the trend formula and tell me if margins are improving.","exampleUseCases":[{"title":"Quarterly profitability trend for startup","prompt":"I have 6 quarters of data for my startup — revenue was 50000, 62000, 71000, 80000, 95000, 110000 and net profit was 3000, 4340, 5680, 6400, 8550, 10450. Fit a trend line to the net margin and tell me the formula and whether we're trending up."},{"title":"Annual net margin trend for established retailer","prompt":"Can you analyze the net margin trend for our retail business? Here are 5 years of annual figures — revenues 500000 to 620000 stepping by 30000, and net profits 40000, 43500, 41000, 47000, 52000. I want the slope and intercept of the fitted line."},{"title":"Identify margin deterioration across 12 monthly periods","prompt":"We're worried our margins are eroding — run a trend analysis on these 12 monthly net margin data points: revenues are all 200000 and net profits go 24000, 23500, 22800, 22000, 21500, 21000, 20200, 19800, 19000, 18500, 17900, 17200. Show me the trend formula and the rate of decline."}],"resultDescription":"A JSON object containing the fitted straight-line trend formula (slope and intercept), the metric label (net margin), units, and stated limitations of the analysis. No forecast values are produced — the report describes the historical trend only.","failureModes":["Fewer than 2 rows supplied — minimum observation count not met","Revenue value is zero or negative — violates exclusiveMinimum constraint","Row count exceeds 200 — maxItems limit breached","Net profit or revenue values missing from a row — required field validation failure","Non-numeric values passed for revenue or net_profit — schema type error","Payment not confirmed — x402 payment required before response is returned"],"whenToPreferThis":"Choose this endpoint when you have a supplied historical series of net profit and revenue pairs and need a simple, descriptive linear trend fitted to the derived net margin — especially when you want a structured JSON result with the formula and caveats and do not need a forecast or live market data. It is well-suited for batch financial reporting workflows where profitability trend summaries are needed across multiple periods without requiring external data feeds.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:48:09.015Z","isFirstParty":false,"canonicalSlug":"net-margin-ordered-trend-analysis-b5c0ec42"}