# Stock Cover Ordered Trend Analysis

> Stock Cover Ordered Trend Analysis 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-11).

Performs ordered trend analysis on stock cover (days of inventory remaining) given a series of available units and average daily sales figures.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-stock-cover-trend?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stock-cover-ordered-trend-analysis-6df9bc2a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_71r8EdFBTx8pBx1qXgbui

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 stock-cover-ordered-trend-analysis-6df9bc2a -d '<json body>'
```

Example prompt: Can you run an ordered trend analysis on my stock cover for these four periods — period 1: 100 units available, 5 sold per day; period 2: 110 units, 5.5 per day; period 3: 100 units, 5 per day; period 4: 110 units, 5.5 per day?

## When to prefer this

Choose this endpoint when you have a time-ordered series of retail inventory snapshots (units on hand + daily sales rate) and need to understand the trend in stock cover (days of inventory remaining) across those periods. It is purely local computation with no live data dependencies, making it fast and deterministic. Prefer it over more complex inventory platforms when you only need trend analysis from supplied figures without order execution or live system integration.

## Known failure modes

- Fewer than 2 rows supplied — minimum input requirement not met
- average_daily_sales value of 0 or missing exclusiveMinimum violation — division by zero in days-of-cover calculation
- More than 200 rows supplied — exceeds maxItems limit
- Non-numeric or missing required fields (available_units or average_daily_sales) cause validation failure
- Negative values for available_units violate minimum:0 constraint

## How this service works

Stock cover - Ordered trend analysis: Ordered trend analysis for Stock cover. 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 ordered trend analysis deliverable.

## Output

Returns a bounded ordered trend analysis deliverable for stock cover, including trend direction and ordered metrics derived from the supplied available_units and average_daily_sales rows. No live inventory, account access, or external data is fetched; all calculation is local to the supplied figures.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "available_units",
     "average_daily_sales"
    ],
    "properties": {
     "available_units": {
      "type": "number",
      "default": 100,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "average_daily_sales": {
      "type": "number",
      "default": 5,
      "maximum": 1000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "available_units": 100,
     "average_daily_sales": 5
    },
    {
     "available_units": 110.00000000000001,
     "average_daily_sales": 5.5
    },
    {
     "available_units": 100,
     "average_daily_sales": 5
    },
    {
     "available_units": 110.00000000000001,
     "average_daily_sales": 5.5
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stock-cover-ordered-trend-analysis-6df9bc2a/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)
