# Gross Margin Return on Inventory – Base-100 Rebase Report

> Gross Margin Return on Inventory – Base-100 Rebase Report 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-18).

Calculates a base-100 rebased index series of Gross Margin Return on Inventory (GMROI) across multiple retail data rows, anchored to a chosen base period.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-inventory-margin-return-index?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gross-margin-return-on-inventory-base-100-rebase-report-b4d6ef9f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dkMzv7Zxfho05rYawqBVn

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 gross-margin-return-on-inventory-base-100-rebase-report-b4d6ef9f -d '<json body>'
```

Example prompt: Take my 4 quarters of retail margin data — gross profits of 5000, 5500, 5000, 5500 with average inventory costs of 2500, 2750, 2500, 2750 — and give me a base-100 GMROI rebase report anchored to period 0.

## When to prefer this

Choose this endpoint when you need to normalize a time-series of GMROI figures to a common base-100 index for trend visualization, benchmarking, or scenario analysis using locally supplied retail data — not when you need live inventory data, platform fee lookups, or order execution. Ideal for retail analysts running what-if scenarios or comparing inventory efficiency across periods without needing external data integration.

## Known failure modes

- average_inventory_cost of zero or negative causes division error (field enforces exclusiveMinimum: 0)
- fewer than 2 rows provided returns validation error
- base_index pointing beyond the number of supplied rows causes out-of-bounds error
- extremely large gross_profit values near the ±1 trillion boundary may cause precision issues
- malformed row objects missing required fields (gross_profit or average_inventory_cost) return schema validation errors

## How this service works

Gross margin return on inventory - Base-100 rebase report: Base-100 rebase report for Gross margin return on inventory. 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 base-100 rebase report deliverable.

## Output

Returns a base-100 rebased index series of GMROI values computed from the supplied gross_profit and average_inventory_cost rows, anchored at the specified base_index period (defaulting to period 0). Each period's GMROI is expressed relative to the base period value of 100, enabling trend and scenario comparison across up to 200 retail data rows.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "gross_profit",
     "average_inventory_cost"
    ],
    "properties": {
     "gross_profit": {
      "type": "number",
      "default": 5000,
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "average_inventory_cost": {
      "type": "number",
      "default": 2500,
      "maximum": 1000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "gross_profit": 5000,
     "average_inventory_cost": 2500
    },
    {
     "gross_profit": 5500,
     "average_inventory_cost": 2750
    },
    {
     "gross_profit": 5000,
     "average_inventory_cost": 2500
    },
    {
     "gross_profit": 5500,
     "average_inventory_cost": 2750
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "base_index": {
   "type": "integer",
   "default": 0,
   "maximum": 199,
   "minimum": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gross-margin-return-on-inventory-base-100-rebase-report-b4d6ef9f/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)
