# Price After Percent Discount – Before and After Comparison

> Price After Percent Discount – 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-15).

Calculates and compares the final prices after applying percent discounts to two different retail price/discount scenarios (before and after).

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-discount-price-compare?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/price-after-percent-discount-before-and-after-comparison-0908c231
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_agriwYa3Eumdqo4UDQHRL

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-percent-discount-before-and-after-comparison-0908c231 -d '<json body>'
```

Example prompt: Can you compare two retail discount scenarios for me? Before: a $100 list price with a 20% discount, and after: a $110 list price with a 22% discount — show me the final prices for both.

## When to prefer this

Use this endpoint when you need a simple, local, side-effect-free arithmetic comparison of two retail discount scenarios — ideal for price change analysis, promotional planning, or negotiation prep. Prefer this over live commerce APIs when you only have list prices and percentages and don't need real inventory, tax, shipping, or platform fee data.

## Known failure modes

- discount_percent out of range (must be 0–100) returns validation error
- list_price exceeds maximum (1,000,000,000,000) returns validation error
- missing required fields (list_price or discount_percent in either before/after object) returns schema error
- non-numeric inputs rejected by schema validation
- negative list_price not accepted (minimum 0)

## How this service works

Price after percent discount - Before and after comparison: Before and after comparison for Price after percent discount. 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 object containing the discounted final price for each scenario (before and after), computed from the supplied list prices and discount percentages. No live inventory, account, or platform fee data is included — purely local arithmetic calculation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "type": "object",
   "default": {
    "list_price": 110.00000000000001,
    "discount_percent": 22
   },
   "required": [
    "list_price",
    "discount_percent"
   ],
   "properties": {
    "list_price": {
     "type": "number",
     "default": 100,
     "maximum": 1000000000000,
     "minimum": 0
    },
    "discount_percent": {
     "type": "number",
     "default": 20,
     "maximum": 100,
     "minimum": 0
    }
   },
   "additionalProperties": false
  },
  "before": {
   "type": "object",
   "default": {
    "list_price": 100,
    "discount_percent": 20
   },
   "required": [
    "list_price",
    "discount_percent"
   ],
   "properties": {
    "list_price": {
     "type": "number",
     "default": 100,
     "maximum": 1000000000000,
     "minimum": 0
    },
    "discount_percent": {
     "type": "number",
     "default": 20,
     "maximum": 100,
     "minimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/price-after-percent-discount-before-and-after-comparison-0908c231/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)
