{"uid":"cap_0_ecaCHbbkeIZLz8VlfS4","slug":"dataforge-pareto-analysis-api-0e1c88bd","name":"DataForge Pareto Analysis API","description":"Low-cost statistical and analytical micro-APIs for agents and operations workflows.","url":"https://dataforge-production-ba33.up.railway.app/api/pareto?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"number"}}}},"values":{"type":"object","additionalProperties":{"type":"number"}}}},"responseSchema":{"type":"json","example":{"items":[{"pct":40,"label":"A","value":40,"cumulativePct":40}],"total":100}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WB5tGN9l8zeR9M3UMk0F-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs Pareto (80/20) analysis on labeled numeric data, returning sorted items with individual and cumulative percentages","exampleAgentPrompt":"Run a Pareto analysis on these sales figures: Product A $40k, Product B $25k, Product C $20k, Product D $10k, Product E $5k — I want to see each one's share and the running cumulative percentage.","exampleUseCases":[{"title":"Revenue concentration analysis","prompt":"Do a Pareto breakdown on my revenue by product line: Enterprise $850k, SMB $320k, Consumer $180k, Partners $90k, Other $60k — show me which ones are driving 80% of the total."},{"title":"Defect root cause prioritization","prompt":"I have defect counts by category: Misconfiguration 120, Network timeout 85, Auth failure 60, Data corruption 22, Other 13 — run a Pareto analysis so I can see which causes to tackle first."},{"title":"Cost driver identification","prompt":"Can you apply the 80/20 rule to our operational costs? Cloud infra $420k, Salaries $310k, Marketing $95k, Office $40k, Software licenses $35k, Misc $20k — I want cumulative percentages so I know where to focus cuts."}],"resultDescription":"Returns an array of items sorted descending by value, each with its label, original value, percentage of total, and cumulative percentage. Also returns the overall total. This lets the caller immediately identify which items cross the 80% cumulative threshold.","failureModes":["Empty or missing items array returns an error or zero-item result","Non-numeric values in the value field cause a validation error","Missing required label or value fields on individual items may cause a 400 error","All-zero values result in undefined percentage calculations","Payment failure (402) if USDC payment header is missing or insufficient"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap, stateless Pareto (80/20) computation on a labeled dataset without building your own sorting and cumulative-sum logic. At $0.004 per call it is well-suited for agent workflows, automated reporting pipelines, or operational dashboards that need repeated ranked breakdowns without a full analytics platform.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T21:40:25.147Z","isFirstParty":false,"canonicalSlug":"dataforge-pareto-analysis-api-0e1c88bd"}