# Days Inventory Outstanding – Adjacent Period Changes

> Days Inventory Outstanding – Adjacent Period Changes 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).

Calculates adjacent-period differences and percent changes for Days Inventory Outstanding (DIO) across a sequence of supplied financial observations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-inventory-days-period-changes?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/days-inventory-outstanding-adjacent-period-changes-a4cc5193
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QEsCoJyYUixAixwGG5HRG

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-adjacent-period-changes-a4cc5193 -d '<json body>'
```

Example prompt: Can you calculate the adjacent-period changes in Days Inventory Outstanding for these two observations: first period has average inventory of $5,000, cost of sales of $30,000, and 365 days; second period has average inventory of $5,500, cost of sales of $33,000, and 365 days? Show me the differences and percent changes.

## When to prefer this

Choose this endpoint when you need to track how Days Inventory Outstanding changes between consecutive reporting periods without any interpolation — ideal for period-over-period financial reporting, inventory efficiency audits, or identifying trends across quarterly or annual data. Prefer this over a simple batch DIO calculator when the adjacent differences and percent changes are specifically needed, not just the raw DIO values.

## Known failure modes

- Missing required fields (average_inventory, cost_of_sales, or period_days) returns a validation error
- Fewer than 2 rows supplied returns an error since adjacent comparison requires at least two observations
- cost_of_sales of zero is rejected due to exclusiveMinimum constraint
- Values exceeding maximum limits (1 trillion) return a bounds error
- More than 200 rows supplied exceeds maxItems and returns an error
- Payment of 0.01 USDC not received results in 402 Payment Required

## How this service works

Days inventory outstanding - Adjacent period changes: Report adjacent-observation differences and eligible percent changes; no interpolation. 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 adjacent period changes report.

## Output

Returns a JSON object containing the DIO value for each supplied observation, the adjacent-period absolute differences and eligible percent changes between consecutive rows, along with the formula used, units, and limitations of the calculation. No interpolation is performed — only supplied figures are used.

## 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-adjacent-period-changes-a4cc5193/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)
