# Operating Profit Record Ranking

> Operating Profit Record Ranking is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-14).

Ranks up to 200 supplied business records by calculated operating profit, returning results sorted by value with formula, units, and limitations metadata.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-operating-profit-rank?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/operating-profit-record-ranking-620ecfea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_crxwMz_rBYMKBttYEl5V_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability operating-profit-record-ranking-620ecfea -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/operating-profit-record-ranking-620ecfea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
