{"uid":"cap_4P4UoPfAKS6z95WdgjQoA","slug":"gross-profit-iqr-outlier-flags-calculator-4b7e5801","name":"Gross Profit IQR Outlier Flags Calculator","description":"Gross profit - IQR outlier flags: Flag observations beyond 1.5 times the interquartile range; statistical flags are not errors or fraud findings. Metric: Gross profit. 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 iqr outlier flags report.","url":"https://market.datapackvibe.com/x402/assistant-finance-gross-profit-outliers?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["revenue","cost_of_sales"],"properties":{"revenue":{"type":"number","default":10000,"maximum":1000000000000,"minimum":-1000000000000,"description":"Amount in a consistent supplied currency and reporting period"},"cost_of_sales":{"type":"number","default":6000,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period"}},"additionalProperties":false},"default":[{"revenue":10000,"cost_of_sales":6000},{"revenue":11000,"cost_of_sales":6600.000000000001},{"revenue":10000,"cost_of_sales":6000},{"revenue":11000,"cost_of_sales":6600.000000000001}],"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_tQVrnHxP-LfGyHh5tiGxe","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":"Flags gross profit observations that fall beyond 1.5× the interquartile range, returning a statistical outlier report in JSON format.","exampleAgentPrompt":"Can you flag any gross profit outliers in my dataset using IQR? I have 5 periods: revenues of 10000, 11000, 10500, 95000, and 10200 with cost of sales of 6000, 6600, 6300, 57000, and 6100 respectively.","exampleUseCases":[{"title":"Quarterly earnings anomaly detection","prompt":"I have 8 quarters of revenue and cost-of-sales data and want to know which quarters have statistically anomalous gross profit — can you run the IQR outlier check on these rows: Q1 rev 50000 COGS 30000, Q2 rev 52000 COGS 31200, Q3 rev 51000 COGS 30600, Q4 rev 48000 COGS 28800, Q5 rev 53000 COGS 31800, Q6 rev 200000 COGS 120000, Q7 rev 50500 COGS 30300, Q8 rev 49000 COGS 29400?"},{"title":"Retail store gross profit audit","prompt":"We have 12 store locations and I want to flag any stores with gross profit values beyond 1.5 times the interquartile range — here are the revenue and cost_of_sales figures for each: store revenues from 80000 to 95000 except store 7 which had 400000, all with roughly 60% COGS ratio. Can you run the IQR outlier analysis?"},{"title":"Monthly SaaS revenue data cleaning","prompt":"Before I build my gross profit forecast model, I need to clean my 24 months of data by flagging statistical outliers using IQR — can you check these monthly revenue and cost-of-sales pairs and tell me which months are flagged as outliers?"}],"resultDescription":"A JSON object containing IQR-based outlier flags for each gross profit observation, along with the formula used, units, and limitations. Each row is assessed against the 1.5×IQR threshold computed from the submitted dataset. The response explicitly notes these are statistical flags, not error or fraud findings.","failureModes":["Fewer than 2 rows submitted (minimum required)","More than 200 rows submitted (maximum exceeded)","Missing required fields (revenue or cost_of_sales) in one or more rows","cost_of_sales values outside 0 to 1,000,000,000,000 range","revenue values outside -1,000,000,000,000 to 1,000,000,000,000 range","Payment of 0.01 USDC not completed via x402 protocol"],"whenToPreferThis":"Choose this endpoint when you need a fast, bounded statistical outlier check on gross profit across a set of observations (2–200 rows) and want a machine-readable JSON result with the formula and limitations included. It is purpose-built for gross profit using revenue minus cost-of-sales, not generic IQR computation. Prefer this over a general statistics API when you specifically need gross profit outlier flags with transparent methodology and per-call pricing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:30.835Z","isFirstParty":false,"canonicalSlug":"gross-profit-iqr-outlier-flags-calculator-4b7e5801"}