# Days Inventory Outstanding – Record Ranking

> Days Inventory Outstanding – 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-22).

Ranks up to 200 supplied records by their calculated Days Inventory Outstanding (DIO) value, preserving row indices and returning formula, units, and limitations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-inventory-days-rank?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/days-inventory-outstanding-record-ranking-8a988ad4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hHGz4AJD4l3CjMqWUCY_e

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 days-inventory-outstanding-record-ranking-8a988ad4 -d '<json body>'
```

Example prompt: I have 5 business units — rank them by Days Inventory Outstanding using these figures: Unit A has average inventory $8,000 and cost of sales $40,000 over 365 days; Unit B has $6,500 inventory, $35,000 COGS over 365 days; Unit C $12,000 inventory, $50,000 COGS over 365 days; Unit D $4,000 inventory, $28,000 COGS over 365 days; Unit E $9,000 inventory, $45,000 COGS over 365 days.

## When to prefer this

Choose this endpoint when you need to rank multiple entities (2–200) simultaneously by Days Inventory Outstanding using your own supplied figures, without needing live market data or external feeds. It is ideal for batch comparison of business units, suppliers, or portfolio companies when you already have average inventory, cost of sales, and period days figures available.

## Known failure modes

- Fewer than 2 records submitted — minimum is 2 rows
- More than 200 records submitted — maximum batch size exceeded
- cost_of_sales is zero or missing (required to be greater than 0)
- period_days outside allowed range of 1–3660
- Missing required fields average_inventory or cost_of_sales on any row
- Non-numeric values supplied for numeric fields

## How this service works

Days inventory outstanding - Record ranking: Rank up to 200 supplied records by calculated value, preserving row indices; higher is not necessarily better. Metric: Days inventory outstanding. 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

A JSON response containing each input record ranked by its calculated Days Inventory Outstanding value (preserving original row indices), along with the DIO formula used, the units of measurement, and any known limitations of the metric.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "average_inventory",
     "cost_of_sales",
     "period_days"
    ],
    "properties": {
     "period_days": {
      "type": "integer",
      "default": 365,
      "maximum": 3660,
      "minimum": 1
     },
     "cost_of_sales": {
      "type": "number",
      "default": 30000,
      "maximum": 1000000000000,
      "minimum": 0,
      "description": "Amount in a consistent supplied currency and reporting period",
      "exclusiveMinimum": 0
     },
     "average_inventory": {
      "type": "number",
      "default": 5000,
      "maximum": 1000000000000,
      "minimum": 0,
      "description": "Amount in a consistent supplied currency and reporting period"
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "period_days": 365,
     "cost_of_sales": 30000,
     "average_inventory": 5000
    },
    {
     "period_days": 402,
     "cost_of_sales": 33000,
     "average_inventory": 5500
    },
    {
     "period_days": 365,
     "cost_of_sales": 30000,
     "average_inventory": 5000
    },
    {
     "period_days": 402,
     "cost_of_sales": 33000,
     "average_inventory": 5500
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/days-inventory-outstanding-record-ranking-8a988ad4/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)
