# Price After Capped Percentage Coupon – Distribution Histogram

> Price After Capped Percentage Coupon – Distribution Histogram 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-17).

Computes a distribution histogram of final prices after applying a percentage-based coupon capped at a maximum discount amount, across up to 200 retail records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-retail-capped-coupon-price-histogram?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/price-after-capped-percentage-coupon-distribution-histogram-65a843d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IdA9gTFDCh_OpZjIk33NW

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 price-after-capped-percentage-coupon-distribution-histogram-65a843d9 -d '<json body>'
```

Example prompt: I have 4 retail products with list prices and a 30% discount capped at $20 each — can you give me a distribution histogram of the final prices grouped into 5 bins?

## When to prefer this

Choose this endpoint when you need a statistical distribution view of retail prices after applying a percentage-based coupon that is bounded by a maximum discount cap, using your own supplied data (not live platform rates). Ideal for offline catalog analysis, pre-promotion planning, or reporting on small-to-medium product sets (up to 200 items) where a histogram bucketing is the desired output format.

## Known failure modes

- Fewer than 2 rows supplied — minimum row count not met
- More than 200 rows supplied — exceeds maximum item limit
- bins value outside 1–30 range — rejected by schema validation
- Invalid or missing required fields (list_price, discount_percent, maximum_discount) in any row
- Malformed numeric values causing computation errors
- Payment not received — x402 payment required before response is delivered

## How this service works

Price after capped percentage coupon - Distribution histogram: Distribution histogram for Price after capped percentage coupon. 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 distribution histogram report.

## Output

A distribution histogram report showing how the computed post-coupon prices (list price minus the lesser of the percentage discount or the maximum discount cap) are spread across the requested number of bins, including bin ranges and frequency counts, based on up to 200 supplied retail records.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "list_price",
     "discount_percent",
     "maximum_discount"
    ],
    "properties": {
     "list_price": {
      "type": "number",
      "default": 100,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "discount_percent": {
      "type": "number",
      "default": 30,
      "maximum": 100,
      "minimum": 0
     },
     "maximum_discount": {
      "type": "number",
      "default": 20,
      "maximum": 1000000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "list_price": 100,
     "discount_percent": 30,
     "maximum_discount": 20
    },
    {
     "list_price": 110.00000000000001,
     "discount_percent": 33,
     "maximum_discount": 22
    },
    {
     "list_price": 100,
     "discount_percent": 30,
     "maximum_discount": 20
    },
    {
     "list_price": 110.00000000000001,
     "discount_percent": 33,
     "maximum_discount": 22
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/price-after-capped-percentage-coupon-distribution-histogram-65a843d9/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)
