# Unit Return Rate Before and After Comparison

> Unit Return Rate Before and After Comparison 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-26).

Calculates and compares unit return rates for two time periods (before and after), delivering a side-by-side analysis of retail return performance changes.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-unit-return-compare?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/unit-return-rate-before-and-after-comparison-c0b25170
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Lk-RDD0eGj9RCdQ3w_uAI

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 unit-return-rate-before-and-after-comparison-c0b25170 -d '<json body>'
```

Example prompt: Can you compare my unit return rate before and after a change? Before the change I sold 100 units and had 5 returns; after the change I sold 110 units and had 5.5 returns — show me the before and after breakdown.

## When to prefer this

Use this endpoint when you need a quick, local calculation of unit return rate change between two time periods using your own retail figures. It is ideal for scenario analysis, policy impact assessment, or reporting where no live platform access, account authentication, or order execution is needed. Prefer this over building custom calculations when you want a structured before-and-after deliverable at minimal cost ($0.01 USDC).

## Known failure modes

- Missing required fields (sold_units or returned_units for either before or after period) returns a validation error
- sold_units of zero or negative triggers exclusiveMinimum validation failure
- Extremely large unit counts may hit maximum boundary limits
- No live inventory or platform data — results are only as accurate as the figures supplied

## How this service works

Unit return rate - Before and after comparison: Before and after comparison for Unit return rate. 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 before and after comparison deliverable.

## Output

Returns a before-and-after comparison showing the unit return rate for each period (returned units divided by sold units), the absolute and/or relative change between periods, and a structured summary deliverable — all computed locally from the supplied retail figures with no live data access.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "type": "object",
   "default": {
    "sold_units": 110.00000000000001,
    "returned_units": 5.5
   },
   "required": [
    "returned_units",
    "sold_units"
   ],
   "properties": {
    "sold_units": {
     "type": "number",
     "default": 100,
     "maximum": 1000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "returned_units": {
     "type": "number",
     "default": 5,
     "maximum": 1000000000000,
     "minimum": 0
    }
   },
   "additionalProperties": false
  },
  "before": {
   "type": "object",
   "default": {
    "sold_units": 100,
    "returned_units": 5
   },
   "required": [
    "returned_units",
    "sold_units"
   ],
   "properties": {
    "sold_units": {
     "type": "number",
     "default": 100,
     "maximum": 1000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "returned_units": {
     "type": "number",
     "default": 5,
     "maximum": 1000000000000,
     "minimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/unit-return-rate-before-and-after-comparison-c0b25170/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)
