# Returned Goods Value Recovery – Weighted Result Mean

> Returned Goods Value Recovery – Weighted Result Mean 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-12).

Computes a weighted mean of the recovery rate (recovered_value / returned_goods_cost) across up to 200 retail return records, using caller-supplied weights.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-retail-return-recovery-weighted-mean?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/returned-goods-value-recovery-weighted-result-mean-fdd1cb1b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D7DH-80s_szoXEbabItsZ

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 returned-goods-value-recovery-weighted-result-mean-fdd1cb1b -d '<json body>'
```

Example prompt: Calculate the weighted mean return recovery rate for these 4 retail records: [{recovered: 600, cost: 1000, weight: 1}, {recovered: 660, cost: 1100, weight: 2}, {recovered: 600, cost: 1000, weight: 1}, {recovered: 660, cost: 1100, weight: 2}] — I want a single weighted average recovery figure across all of them.

## When to prefer this

Choose this endpoint when you have multiple retail return records with varying importance (e.g. different sales volumes or confidence levels) and want a single summary metric that properly accounts for those differences via weighting. Prefer over a simple mean when records are not equally representative. Best suited for offline or batch analysis of supplied retail figures — not for live order data, real-time rate feeds, or platform-integrated return processing.

## Known failure modes

- Fewer than 2 rows supplied — minimum of 2 rows required
- returned_goods_cost of 0 or less — exclusiveMinimum enforced, will reject zero-cost records
- weights array length does not match rows array length — mismatch will cause an error
- More than 200 rows submitted — hard cap of 200 records per call
- Non-numeric values in recovered_value, returned_goods_cost, or weights fields

## How this service works

Returned goods value recovery - Weighted result mean: Weighted result mean for Returned goods value recovery. Supplied retail figures only, up to 200 records. No platform access, live rates or order execution. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded weighted result mean report.

## Output

A single bounded weighted result mean report representing the weighted average of (recovered_value / returned_goods_cost) across all supplied rows, weighted by the provided weights array. The result summarizes overall value recovery performance as one comparable metric.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "recovered_value",
     "returned_goods_cost"
    ],
    "properties": {
     "recovered_value": {
      "type": "number",
      "default": 600,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "returned_goods_cost": {
      "type": "number",
      "default": 1000,
      "maximum": 1000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "recovered_value": 600,
     "returned_goods_cost": 1000
    },
    {
     "recovered_value": 660,
     "returned_goods_cost": 1100
    },
    {
     "recovered_value": 600,
     "returned_goods_cost": 1000
    },
    {
     "recovered_value": 660,
     "returned_goods_cost": 1100
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "weights": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 1000000000000,
    "minimum": 0
   },
   "default": [
    1,
    2,
    1,
    2
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/returned-goods-value-recovery-weighted-result-mean-fdd1cb1b/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)
