# Retail Discount Calculator

> Retail Discount Calculator 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).

Calculates the discounted price and savings amount for a retail item given an original price and a discount percentage.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/discount-price-retail?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/retail-discount-calculator-f8276415
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gpn1KQ3TyKk0dQyMoMr7F

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 retail-discount-calculator-f8276415 -d '<json body>'
```

Example prompt: What's the final price and how much does a customer save on an item originally priced at $80 with a 15% discount applied?

## When to prefer this

Use this endpoint when you need a quick, reliable server-side computation of a retail discount — particularly in automated retail workflows, pricing agents, or e-commerce pipelines where you want to offload arithmetic and receive a clean discounted price and savings figure without implementing the calculation client-side.

## Known failure modes

- Missing or non-numeric price or discount_percent returns a validation error
- Discount percentage outside 0–100 range may produce unexpected results
- Network or server errors may return 5xx responses
- Payment failure via x402 protocol blocks the call from completing

## How this service works

Retail Discount calculator: Calculate savings and discounted price. Tailored for retail workflows.

## Output

Returns the final discounted price after the percentage reduction is applied to the original price, along with the calculated savings (the dollar amount reduced). Both values are computed from the input price and discount_percent fields.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "price": {
   "type": "number",
   "default": 80
  },
  "discount_percent": {
   "type": "number",
   "default": 15
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/retail-discount-calculator-f8276415/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)
