# Net Profit Record Ranking Calculator

> Net Profit Record Ranking Calculator 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-23).

Ranks up to 200 supplied financial records by calculated net profit, preserving row indices, for comparative analysis.

## Facts

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

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 net-profit-record-ranking-calculator-4ac95742 -d '<json body>'
```

Example prompt: I have 5 business units with their revenue and cost figures — can you rank them by net profit? Unit 1: revenue 10000, cost of sales 6000, operating expenses 2000, interest expense 200, tax expense 300. Unit 2: revenue 15000, cost of sales 8000, operating expenses 2500, interest expense 300, tax expense 450. Unit 3: revenue 8000, cost of sales 4500, operating expenses 1800, interest expense 150, tax expense 200. Unit 4: revenue 12000, cost of sales 7000, operating expenses 2200, interest expense 250, tax expense 380. Unit 5: revenue 9500, cost of sales 5500, operating expenses 1900, interest expense 180, tax expense 280.

## When to prefer this

Choose this endpoint when you need to rank multiple financial records (2–200) by net profit using supplied figures, preserving original row ordering context. Ideal when you already have the raw financial inputs (revenue, costs, expenses, taxes) and need a ranked comparison without connecting to live financial data feeds. Prefer over manual calculation when comparing many entities simultaneously.

## Known failure modes

- Fewer than 2 rows supplied — minimum of 2 records required
- More than 200 rows supplied — maximum record limit exceeded
- Missing required fields (revenue, cost_of_sales, operating_expenses, interest_expense, or tax_expense) on any row
- Values outside the allowed range (e.g. negative cost_of_sales)
- Malformed JSON input causing schema validation failure
- Payment not completed — endpoint requires 0.01 USDC per call via x402 protocol

## How this service works

Net profit from supplied costs - Record ranking: Rank up to 200 supplied records by calculated value, preserving row indices; higher is not necessarily better. Metric: Net profit from supplied costs. 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 ranked by calculated net profit (revenue minus cost of sales, operating expenses, interest expense, and tax expense), with original row indices preserved, along with the formula used, units, and stated 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",
     "interest_expense",
     "tax_expense"
    ],
    "properties": {
     "revenue": {
      "type": "number",
      "default": 10000,
      "maximum": 1000000000000,
      "minimum": -1000000000000,
      "description": "Amount in a consistent supplied currency and reporting period"
     },
     "tax_expense": {
      "type": "number",
      "default": 300,
      "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"
     },
     "interest_expense": {
      "type": "number",
      "default": 200,
      "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,
     "tax_expense": 300,
     "cost_of_sales": 6000,
     "interest_expense": 200,
     "operating_expenses": 2000
    },
    {
     "revenue": 11000,
     "tax_expense": 330,
     "cost_of_sales": 6600.000000000001,
     "interest_expense": 220.00000000000003,
     "operating_expenses": 2200
    },
    {
     "revenue": 10000,
     "tax_expense": 300,
     "cost_of_sales": 6000,
     "interest_expense": 200,
     "operating_expenses": 2000
    },
    {
     "revenue": 11000,
     "tax_expense": 330,
     "cost_of_sales": 6600.000000000001,
     "interest_expense": 220.00000000000003,
     "operating_expenses": 2200
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/net-profit-record-ranking-calculator-4ac95742/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)
