# Days Inventory Outstanding – Threshold Classification

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

Classifies up to 200 Days Inventory Outstanding (DIO) calculated values against user-supplied inclusive lower and upper bounds, returning a JSON report with formula, units, and limitations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-inventory-days-threshold?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-threshold-classification-233bae6d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DLXmDv100d9RDR6bRbPgZ

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-threshold-classification-233bae6d -d '<json body>'
```

Example prompt: Classify these inventory figures against a DIO threshold band of 30 to 60 days: Company A has average inventory of $5,000 and cost of sales of $30,000 over 365 days; Company B has average inventory of $5,500 and cost of sales of $33,000 over 402 days. Tell me which ones fall within, below, or above the acceptable range.

## When to prefer this

Use this endpoint when you need to classify multiple Days Inventory Outstanding values in a single call against a defined acceptable range, and you already have the raw figures (average inventory, cost of sales, period days). It is ideal for batch compliance checks, portfolio screening, or policy auditing where you want a structured JSON report with the formula and limitations included. Prefer alternatives if you need live market data, real-time inventory feeds, or financial advice rather than a pure classification computation.

## Known failure modes

- Fewer than 2 rows supplied — minimum array length not met
- cost_of_sales is zero or missing — division by zero risk
- period_days exceeds maximum of 3660 or is below 1
- upper bound set lower than lower bound — inverted range
- Input values exceed maximum allowed magnitude (1e12)
- Malformed JSON body — required fields missing from one or more rows

## How this service works

Days inventory outstanding - Threshold classification: Classify up to 200 calculated values against supplied inclusive bounds. 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 threshold classification report.

## Output

A JSON response containing the classification result (within, above, or below threshold) for each input row, along with the computed DIO value, the inclusive lower and upper bounds applied, the DIO formula used, units, and any limitations of the calculation.

## 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
  },
  "lower": {
   "type": "number",
   "default": 0,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  },
  "upper": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/days-inventory-outstanding-threshold-classification-233bae6d/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)
