# Economic Order Quantity Record Ranking

> Economic Order Quantity 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-18).

Ranks multiple sets of EOQ inputs by their calculated economic order quantity values, enabling scenario comparison across retail inventory configurations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-economic-order-rank?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/economic-order-quantity-record-ranking-ecfc4c8f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JvgH33rT_C-y2Y7peWcSc

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 economic-order-quantity-record-ranking-ecfc4c8f -d '<json body>'
```

Example prompt: I have four product scenarios with different annual demands and costs — can you rank them by their economic order quantity? Scenario 1: annual demand 1000, order cost $20, holding cost $2/unit. Scenario 2: annual demand 1100, order cost $22, holding cost $2.20/unit. Scenario 3: annual demand 800, order cost $15, holding cost $1.50/unit. Scenario 4: annual demand 1500, order cost $30, holding cost $3/unit.

## When to prefer this

Choose this endpoint when you need to compare and rank multiple inventory or retail scenarios by their optimal order quantity simultaneously, rather than calculating a single EOQ in isolation. It is best suited for local, offline scenario analysis where you have retail demand and cost figures ready and need a ranked deliverable without live inventory system access or order execution.

## Known failure modes

- Fewer than 2 rows submitted — minimum of 2 rows required
- annual_holding_cost_per_unit set to zero — excluded via exclusiveMinimum constraint, returns validation error
- Rows exceed 200 item maximum — request rejected
- Non-numeric values in numeric fields — schema validation failure
- Missing required fields (annual_demand, order_cost, annual_holding_cost_per_unit) — validation error

## How this service works

Economic order quantity - Record ranking: Record ranking for Economic order quantity. Supplied retail figures only. Local calculation and scenario analysis; no live inventory, account access, platform fee lookup or order execution. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded record ranking deliverable.

## Output

Returns a ranked list of the submitted product/scenario rows ordered by their computed Economic Order Quantity (EOQ = sqrt(2 × annual_demand × order_cost / annual_holding_cost_per_unit)), along with each row's EOQ value and its rank position among the submitted records.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "annual_demand",
     "order_cost",
     "annual_holding_cost_per_unit"
    ],
    "properties": {
     "order_cost": {
      "type": "number",
      "default": 20,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "annual_demand": {
      "type": "number",
      "default": 1000,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "annual_holding_cost_per_unit": {
      "type": "number",
      "default": 2,
      "maximum": 1000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "order_cost": 20,
     "annual_demand": 1000,
     "annual_holding_cost_per_unit": 2
    },
    {
     "order_cost": 22,
     "annual_demand": 1100,
     "annual_holding_cost_per_unit": 2.2
    },
    {
     "order_cost": 20,
     "annual_demand": 1000,
     "annual_holding_cost_per_unit": 2
    },
    {
     "order_cost": 22,
     "annual_demand": 1100,
     "annual_holding_cost_per_unit": 2.2
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/economic-order-quantity-record-ranking-ecfc4c8f/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)
