{"uid":"cap_Y9UqIgMRzn-i9Spn774WZ","slug":"abc-xyz-inventory-classifier-86c34aff","name":"ABC-XYZ Inventory Classifier","description":"Classify SKU by revenue share and demand variability (CV).","url":"https://x402-niche-briefs.fly.dev/v1/abc-xyz-inventory-classifier?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["cumulative_revenue_pct","demand_mean","demand_std"],"properties":{"demand_std":{"type":"string","description":"Std dev weekly demand"},"demand_mean":{"type":"string","description":"Mean weekly demand"},"cumulative_revenue_pct":{"type":"string","description":"Cumulative revenue % at this SKU"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","class","cv","policy","as_of"],"properties":{"cv":{"type":"number"},"as_of":{"type":"string"},"class":{"type":"string"},"input":{"type":"object","required":["cumulative_revenue_pct","demand_mean","demand_std"],"properties":{"demand_std":{"type":"number"},"demand_mean":{"type":"number"},"cumulative_revenue_pct":{"type":"number"}}},"policy":{"type":"string"}}}}}}},"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_F15BNYxXXpDXKHx36W9v-","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":"Classifies a SKU into ABC (revenue share) and XYZ (demand variability) categories given cumulative revenue percentage and weekly demand statistics.","exampleAgentPrompt":"Classify this SKU using ABC-XYZ analysis — its cumulative revenue share is 72%, mean weekly demand is 150 units, and the standard deviation of weekly demand is 45 units.","exampleUseCases":[{"title":"Replenishment policy for top SKU","prompt":"I have a product that accounts for 85% of cumulative revenue, with a mean weekly demand of 200 units and a standard deviation of 20 units — what's its ABC-XYZ class and what inventory policy should I use?"},{"title":"Flagging volatile low-revenue items","prompt":"Can you classify this slow-moving SKU that sits at 95% cumulative revenue, has a mean weekly demand of 10 units, and a standard deviation of 18 units? I want to know if it's worth keeping in stock."},{"title":"Rationalizing mid-tier SKU inventory","prompt":"Run an ABC-XYZ classification for a SKU at 55% cumulative revenue with mean weekly demand of 80 units and a standard deviation of 30 units — I need to decide how much safety stock to hold."}],"resultDescription":"Returns the SKU's ABC class (A, B, or C based on revenue share), XYZ class (X, Y, or Z based on demand coefficient of variation), the computed CV value, a recommended inventory policy string, and a timestamp for the classification.","failureModes":["Missing required query parameters (cumulative_revenue_pct, demand_mean, or demand_std) result in a 400 error","Non-numeric or out-of-range values for demand_mean or demand_std may cause validation errors","demand_std of 0 may cause a CV of 0 (perfectly stable, class X) or a divide-by-zero edge case","cumulative_revenue_pct outside 0–100 range may return unexpected classification results","Service unavailability on fly.dev infrastructure returns 5xx errors","Payment failure via x402 protocol results in 402 Payment Required before classification is attempted"],"whenToPreferThis":"Choose this endpoint when you need a fast, single-SKU ABC-XYZ classification using pre-computed revenue and demand statistics. It is ideal for e-commerce or retail agents automating inventory segmentation, safety stock decisions, or replenishment policy assignment at the SKU level. Prefer it over manual spreadsheet approaches or full ERP queries when you already have cumulative revenue percentage and weekly demand mean/std readily available.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:47.503Z","isFirstParty":false,"canonicalSlug":"abc-xyz-inventory-classifier-86c34aff"}