# Delx Commerce — Inventory Skew Calculator

> Delx Commerce — Inventory Skew Calculator is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Computes the skew (difference) between a target inventory level and actual inventory count

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/inventory-skew?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-inventory-skew-calculator-7ab4c214
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ViXqG3nfm5pIr7XDs5sc7

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 delx-commerce-inventory-skew-calculator-7ab4c214 -d '<json body>'
```

Example prompt: What's the inventory skew if my target is 10 units but I currently have 3 in stock?

## When to prefer this

Choose this endpoint when you need a lightweight, instant, pay-per-call computation of the gap between target and actual inventory without setting up a full inventory management system. Ideal for AI agents performing autonomous replenishment checks, alerting workflows, or supply chain audits where no signup or subscription is required and cost predictability per call matters.

## Known failure modes

- Missing required fields (target or inventory) returns a validation error
- Non-integer values for target or inventory may cause a 400 bad request
- Payment failure via x402 protocol results in a 402 Payment Required response
- Extreme integer values may cause overflow or unexpected behavior

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing the computed skew (integer difference between inventory and target), the original target and inventory values, and a schema identifier string (e.g. 'delx/util-inventory-skew/v1').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "integer",
   "description": "Input field: target."
  },
  "inventory": {
   "type": "integer",
   "description": "Input field: inventory."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "skew": 3,
  "schema": "delx/util-inventory-skew/v1",
  "target": 0,
  "inventory": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-inventory-skew-calculator-7ab4c214/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
