{"uid":"cap_crxwMz_rBYMKBttYEl5V_","slug":"operating-profit-record-ranking-620ecfea","name":"Operating Profit Record Ranking","description":"Operating profit - Record ranking: Rank up to 200 supplied records by calculated value, preserving row indices; higher is not necessarily better. Metric: Operating 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 record ranking report.","url":"https://market.datapackvibe.com/x402/assistant-finance-operating-profit-rank?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["revenue","cost_of_sales","operating_expenses"],"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"},"operating_expenses":{"type":"number","default":2000,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period"}},"additionalProperties":false},"default":[{"revenue":10000,"cost_of_sales":6000,"operating_expenses":2000},{"revenue":11000,"cost_of_sales":6600.000000000001,"operating_expenses":2200},{"revenue":10000,"cost_of_sales":6000,"operating_expenses":2000},{"revenue":11000,"cost_of_sales":6600.000000000001,"operating_expenses":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_-jOD0fJcCuu0pJI-w3XTI","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":"Ranks up to 200 supplied business records by calculated operating profit, returning results sorted by value with formula, units, and limitations metadata.","exampleAgentPrompt":"I have 5 business units — can you rank them by operating profit? Unit A: revenue $10M, COGS $6M, opex $2M; Unit B: revenue $8M, COGS $5M, opex $1.5M; Unit C: revenue $12M, COGS $7M, opex $3M; Unit D: revenue $9M, COGS $5.5M, opex $2M; Unit E: revenue $11M, COGS $6.5M, opex $2.5M.","exampleUseCases":[{"title":"Rank retail stores by operating profit","prompt":"I have 6 retail stores and want to know which is most profitable — can you rank them? Store 1: revenue $500K, cost of sales $300K, operating expenses $80K; Store 2: revenue $450K, COGS $280K, opex $90K; Store 3: revenue $600K, COGS $360K, opex $100K; Store 4: revenue $420K, COGS $250K, opex $70K; Store 5: revenue $550K, COGS $330K, opex $95K; Store 6: revenue $480K, COGS $290K, opex $85K."},{"title":"Compare portfolio companies by operating income","prompt":"I'm reviewing 4 portfolio companies for my quarterly report — can you rank them by operating profit? Alpha Corp: revenue $2M, COGS $1.2M, opex $400K; Beta Ltd: revenue $3.5M, COGS $2.1M, opex $600K; Gamma Inc: revenue $1.8M, COGS $1M, opex $350K; Delta Co: revenue $4M, COGS $2.4M, opex $800K."},{"title":"Rank product lines by profitability","prompt":"We have 3 product lines and need to know which to prioritize — please rank them by operating profit: Product X has revenue $750K, cost of sales $450K, and operating expenses $120K; Product Y has revenue $620K, COGS $370K, opex $100K; Product Z has revenue $900K, COGS $540K, opex $180K."}],"resultDescription":"Returns a JSON object containing the input records re-ranked by calculated operating profit (revenue minus cost_of_sales minus operating_expenses), preserving original row indices, along with the formula used, units, and known limitations of the calculation.","failureModes":["Fewer than 2 rows supplied — minimum array length is 2","More than 200 rows supplied — maximum array length is 200","Negative values provided for cost_of_sales or operating_expenses — these fields require non-negative numbers","Values exceeding ±1,000,000,000,000 (1 trillion) for any field","Missing required fields (revenue, cost_of_sales, or operating_expenses) in any row","Payment not completed — endpoint requires 0.01 USDC via x402 protocol"],"whenToPreferThis":"Choose this endpoint when you need to rank multiple business records (2–200 rows) by operating profit in a single call and need the formula and units documented in the response. It is ideal for batch comparisons of stores, product lines, divisions, or portfolio companies where you supply all figures directly and need a ranked leaderboard rather than a single calculation or statistical distribution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T19:03:21.209Z","isFirstParty":false,"canonicalSlug":"operating-profit-record-ranking-620ecfea"}