{"uid":"cap_DCBgU_wcoBhoKq_6uB1xM","slug":"net-margin-batch-calculator-2e159136","name":"Net Margin Batch Calculator","description":"Net margin - Batch calculation: Calculate up to 200 supplied records and locate invalid rows. 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 batch calculation report.","url":"https://market.datapackvibe.com/x402/assistant-finance-net-margin-batch?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}],"maxItems":200,"minItems":1}}},"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_PILvB4Yc-m0LnSmd_Wy_c","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":"Calculates net margin percentage for up to 200 rows of supplied net profit and revenue figures, flagging invalid rows and returning results with formula, units, and limitations.","exampleAgentPrompt":"Can you calculate the net margin for these 5 companies — their revenue and net profit figures are: [(500000, 45000), (1200000, 80000), (300000, -15000), (750000, 120000), (900000, 60000)]? I need the formula and any invalid rows flagged too.","exampleUseCases":[{"title":"Multi-company profitability comparison","prompt":"I have revenue and net profit data for 12 competitors in our industry — can you batch-calculate the net margin for all of them and flag any rows with bad data? Here are the pairs: [(2000000, 180000), (3500000, 420000), (800000, -30000), (1100000, 95000), (4200000, 610000), (600000, 12000), (980000, 77000), (1500000, 210000), (2800000, -50000), (750000, 88000), (3100000, 400000), (1900000, 145000)]."},{"title":"Quarterly financial reporting validation","prompt":"Before we finalize the quarterly report, run a net margin batch calculation on all 8 of our business units so we can catch any invalid figures — revenue and net profit per unit: [(500000, 62000), (430000, 38000), (710000, 95000), (290000, -8000), (820000, 110000), (640000, 72000), (370000, 41000), (910000, 130000)]. Include the formula used."},{"title":"Portfolio profitability screening","prompt":"I'm screening 6 small-cap stocks for profitability — can you calculate net margin for each using these revenue and net profit numbers: [(15000000, 1200000), (8000000, 320000), (22000000, -500000), (11000000, 950000), (6000000, 410000), (18000000, 2100000)]? Flag any that look invalid."}],"resultDescription":"A JSON response containing the net margin percentage for each submitted row (calculated as net_profit / revenue × 100), the formula used, units, any limitations of the calculation, and identification of any invalid or out-of-range rows within the batch.","failureModes":["Row missing required net_profit or revenue field — row flagged as invalid","Revenue value of zero or below minimum (exclusiveMinimum 0) — invalid row flagged","Batch exceeds 200 rows — request rejected","Values outside allowed range (revenue > 1 trillion, net_profit outside ±1 trillion) — validation error","Malformed JSON input — request error","Payment not processed — 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need to compute net margin for multiple records at once (1–200 rows) in a single API call, want automatic invalid-row detection, and need the formula and units returned alongside results for audit or reporting purposes. Ideal for financial analysis workflows, batch reporting, or portfolio screening where real-time market data is not required and all figures are already known.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:48:05.781Z","isFirstParty":false,"canonicalSlug":"net-margin-batch-calculator-2e159136"}