{"uid":"cap_vxaYxD6Nv94Zaejqjon9q","slug":"operating-margin-adjacent-period-changes-a007b836","name":"Operating Margin – Adjacent Period Changes","description":"Operating margin - Adjacent period changes: Report adjacent-observation differences and eligible percent changes; no interpolation. Metric: Operating 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 adjacent period changes report.","url":"https://market.datapackvibe.com/x402/assistant-finance-operating-margin-period-changes?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["operating_profit","revenue"],"properties":{"revenue":{"type":"number","default":10000,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period","exclusiveMinimum":0},"operating_profit":{"type":"number","default":2000,"maximum":1000000000000,"minimum":-1000000000000,"description":"Amount in a consistent supplied currency and reporting period"}},"additionalProperties":false},"default":[{"revenue":10000,"operating_profit":2000},{"revenue":11000,"operating_profit":2200},{"revenue":10000,"operating_profit":2000},{"revenue":11000,"operating_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_j1XmZrrAg00RZbB8ofswa","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 period-over-period differences and percent changes in operating margin across a sequence of supplied financial observations.","exampleAgentPrompt":"Calculate the adjacent period changes in operating margin for these four quarters — Q1: revenue $10,000 and operating profit $2,000; Q2: revenue $11,000 and operating profit $2,200; Q3: revenue $10,000 and operating profit $2,000; Q4: revenue $11,000 and operating profit $2,200.","exampleUseCases":[{"title":"Quarterly earnings margin drift","prompt":"I have four quarters of data — Q1 through Q4 — with revenues of $500k, $520k, $490k, $530k and operating profits of $75k, $80k, $68k, $90k. Can you calculate how much the operating margin changed between each consecutive quarter?"},{"title":"Annual operating margin trend review","prompt":"We have five years of annual financials: revenues of $2M, $2.3M, $2.1M, $2.5M, $2.8M and operating profits of $300k, $360k, $280k, $400k, $450k. Show me the adjacent period operating margin differences and percent changes year over year."},{"title":"Month-over-month margin monitoring","prompt":"Here are six months of data for our retail division — monthly revenues $800k to $950k and operating profits ranging from $120k to $160k. Compute the operating margin change and percent change between each consecutive month so I can spot any deterioration."}],"resultDescription":"A JSON response containing the period-by-period operating margin values, the absolute differences between adjacent observations, eligible percent changes between consecutive periods, the formula used, units, and a note on limitations (no interpolation; supplied figures only).","failureModes":["Fewer than 2 rows supplied — minimum 2 rows required","Revenue value of zero or negative — excluded by schema (exclusiveMinimum: 0)","More than 200 rows — exceeds maxItems limit","Missing required fields (operating_profit or revenue) in any row — validation error","Non-numeric values in numeric fields — schema rejection","Percent change not computed when base margin is zero (division by zero edge case)"],"whenToPreferThis":"Choose this endpoint when you have an ordered sequence of at least two financial periods and need to understand how operating margin moved between each consecutive pair — without interpolation or forecasting. It is ideal for QoQ, YoY, or MoM trend spotting using only the figures you supply. Prefer it over a full trend or regression endpoint when you specifically need the raw adjacent differences and percent changes, not a smoothed or fitted line.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:32.563Z","isFirstParty":false,"canonicalSlug":"operating-margin-adjacent-period-changes-a007b836"}