{"uid":"cap_77eQhzpp0wrWO1JILBEjU","slug":"break-even-ad-cost-per-order-iqr-outlier-flags-61a5cb08","name":"Break-even Ad Cost Per Order – IQR Outlier Flags","description":"Break-even ad cost per order - IQR outlier flags: IQR outlier flags for Break-even ad cost per order. Supplied retail figures only. Local calculation and scenario analysis; no live inventory, account access, platform fee lookup or order execution. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded iqr outlier flags deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-retail-break-even-ad-cost-outliers?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["order_revenue","product_cost","fulfilment_cost","payment_fees","other_variable_costs"],"properties":{"payment_fees":{"type":"number","default":5,"maximum":1000000000000,"minimum":0},"product_cost":{"type":"number","default":40,"maximum":1000000000000,"minimum":0},"order_revenue":{"type":"number","default":100,"maximum":1000000000000,"minimum":0},"fulfilment_cost":{"type":"number","default":10,"maximum":1000000000000,"minimum":0},"other_variable_costs":{"type":"number","default":5,"maximum":1000000000000,"minimum":0}},"additionalProperties":false},"default":[{"payment_fees":5,"product_cost":40,"order_revenue":100,"fulfilment_cost":10,"other_variable_costs":5},{"payment_fees":5.5,"product_cost":44,"order_revenue":110.00000000000001,"fulfilment_cost":11,"other_variable_costs":5.5},{"payment_fees":5,"product_cost":40,"order_revenue":100,"fulfilment_cost":10,"other_variable_costs":5},{"payment_fees":5.5,"product_cost":44,"order_revenue":110.00000000000001,"fulfilment_cost":11,"other_variable_costs":5.5}],"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_OFuH7aleyylF9hdRCTju6","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 break-even advertising cost per order for retail orders and flags statistical outliers using IQR (interquartile range) method across a batch of supplied rows.","exampleAgentPrompt":"I have a batch of retail orders with revenue, product cost, fulfilment cost, payment fees, and other variable costs — can you calculate the break-even ad cost per order for each one and flag any IQR outliers?","exampleUseCases":[{"title":"Flagging anomalous campaign orders","prompt":"I've got 50 orders from last month's ad campaign. Each has order revenue, product cost, fulfilment, payment fees, and misc variable costs. Can you calculate the break-even ad cost per order for each and tell me which ones are IQR outliers?"},{"title":"Retail profitability sanity check","prompt":"Before I review my ad spend with the team, can you run IQR outlier detection on these retail order rows — revenue is around $100, product cost $40, fulfilment $10, payment fees $5, other costs $5 — and flag anything that looks statistically unusual?"},{"title":"Comparing two product lines for ad efficiency","prompt":"I want to compare break-even ad cost across two sets of orders with different cost structures and see which individual rows are flagged as outliers by IQR — here are the order_revenue, product_cost, fulfilment_cost, payment_fees, and other_variable_costs for each."}],"resultDescription":"Returns IQR outlier flags for each input row's computed break-even ad cost per order. Each row indicates whether its break-even advertising cost is a statistical outlier (below Q1 − 1.5×IQR or above Q3 + 1.5×IQR) based on the distribution across all supplied rows. No live data, inventory, or platform fee lookups are performed — all calculations use the supplied figures only.","failureModes":["Fewer than 2 rows supplied — minimum 2 rows required for IQR calculation","More than 200 rows submitted — exceeds maxItems limit","Missing required fields (order_revenue, product_cost, fulfilment_cost, payment_fees, other_variable_costs) in any row","Negative or non-numeric values for cost/revenue fields","Payment failure or insufficient USDC balance for the $0.01 per-call fee"],"whenToPreferThis":"Use this endpoint when you have a batch of retail order rows with known cost components and want to both compute break-even advertising cost per order and automatically identify statistical outliers via IQR — without needing live inventory, platform, or account data. Prefer this over generic statistics APIs when your domain is specifically retail/ecommerce unit economics and you want pre-built break-even logic combined with outlier detection in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:42.095Z","isFirstParty":false,"canonicalSlug":"break-even-ad-cost-per-order-iqr-outlier-flags-61a5cb08"}