# Net Merchandise Sales – Benchmark Correlation

> Net Merchandise Sales – Benchmark Correlation 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-15).

Computes the correlation between calculated net merchandise sales values (gross sales minus discounts and returns) and a supplied benchmark series, across up to 200 row observations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-net-merchandise-sales-correlation?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/net-merchandise-sales-benchmark-correlation-986241a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nARnYu8_8_dEkSCdL8f3Y

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 net-merchandise-sales-benchmark-correlation-986241a4 -d '<json body>'
```

Example prompt: I have 4 months of retail data — gross merchandise sales of 10000, 11000, 10000, 11000 with discounts of 500, 550, 500, 550 and returns of 300, 330, 300, 330. Can you compute the benchmark correlation of the resulting net merchandise sales against the benchmark series [10, 20, 30, 40]?

## When to prefer this

Choose this endpoint when you need a fast, local correlation calculation between a net merchandise sales time series and an external benchmark, without needing live inventory access, account data, or order execution. Ideal for retail analysts running scenario analysis, promotion reviews, or trend alignment checks against market indices or internal targets. Best suited for batch sizes up to 200 observations at low cost ($0.01 USDC per call).

## Known failure modes

- Fewer than 2 rows or benchmark values provided — minimum 2 items required for correlation
- Row count and benchmark array length mismatch — correlation requires paired observations
- Negative or out-of-range values for gross_merchandise_sales, discounts, or returns exceeding bounds
- Zero-variance series (all identical values) causing undefined or NaN correlation result
- Malformed JSON input not matching the required schema structure

## How this service works

Net merchandise sales - Benchmark correlation: Benchmark correlation for Net merchandise sales. 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 benchmark correlation deliverable.

## Output

Returns a benchmark correlation deliverable: a correlation coefficient (and supporting statistics) measuring the linear relationship between the calculated net merchandise sales series (gross sales minus discounts minus returns) and the supplied benchmark series, computed locally with no live inventory or platform access.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "gross_merchandise_sales",
     "discounts",
     "returns"
    ],
    "properties": {
     "returns": {
      "type": "number",
      "default": 300,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "discounts": {
      "type": "number",
      "default": 500,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "gross_merchandise_sales": {
      "type": "number",
      "default": 10000,
      "maximum": 1000000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "returns": 300,
     "discounts": 500,
     "gross_merchandise_sales": 10000
    },
    {
     "returns": 330,
     "discounts": 550,
     "gross_merchandise_sales": 11000
    },
    {
     "returns": 300,
     "discounts": 500,
     "gross_merchandise_sales": 10000
    },
    {
     "returns": 330,
     "discounts": 550,
     "gross_merchandise_sales": 11000
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "benchmarks": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 1000000000000000000,
    "minimum": -1000000000000000000
   },
   "default": [
    10,
    20,
    30,
    40
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/net-merchandise-sales-benchmark-correlation-986241a4/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)
