# Price After Percent Discount – Target Gap Calculator

> Price After Percent Discount – Target Gap 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-18).

Calculates the gap between a discounted price (list price minus percent discount) and a specified target price, enabling scenario analysis for retail pricing decisions.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-discount-price-target-gap?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/price-after-percent-discount-target-gap-calculator-43f20518
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gyZk1tXj6z8zvzAS1NRLu

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-target-gap-calculator-43f20518 -d '<json body>'
```

Example prompt: What's the gap between my target price of $75 and the actual sale price if I apply a 20% discount to a $100 list price?

## When to prefer this

Choose this endpoint when you need a quick, local, deterministic calculation of the gap between a percent-discounted retail price and a target price — especially for scenario planning or pricing sanity checks. It does not require live inventory data, platform fees, or account access, making it ideal for lightweight agent-side retail math. Prefer alternatives if you need real-time pricing feeds, inventory data, or order execution.

## Known failure modes

- Invalid discount_percent outside 0–100 range returns validation error
- list_price below 0 rejected by schema minimum constraint
- Missing required fields (list_price or discount_percent) cause request failure
- Target value outside allowed numeric bounds returns error
- Non-numeric inputs cause schema validation failure

## How this service works

Price after percent discount - Target gap calculation: Target gap calculation 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 target gap calculation deliverable.

## Output

Returns the discounted price (list price minus the applied percent discount) and the numeric gap between that discounted price and the specified target value, enabling the user to see how close or far the sale price is from their goal.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  },
  "values": {
   "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-target-gap-calculator-43f20518/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)
