# Price After Percent Discount – Threshold Classification

> Price After Percent Discount – Threshold Classification 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 post-discount price from a list price and discount percentage, then classifies each result as above, below, or within a specified numeric threshold range.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-discount-price-threshold?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-threshold-classification-d441ebe7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nt505HK-TITC9CoVF_dPX

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-threshold-classification-d441ebe7 -d '<json body>'
```

Example prompt: I have a list of products: one with a list price of $120 at 15% off and another at $200 with 25% off — can you calculate the final prices after discount and classify each one as below, within, or above my target range of $80 to $160?

## When to prefer this

Choose this endpoint when you need local, deterministic calculation of post-discount prices combined with threshold-based classification across multiple retail items in a single call. It is best suited for scenario analysis and pricing band validation without requiring live inventory, platform fees, or order execution. Prefer it over generic calculators when you specifically need threshold classification (below/within/above a price band) as part of the output.

## Known failure modes

- Fewer than 2 rows provided — minimum item count not met
- discount_percent outside 0–100 range — validation error
- list_price exceeds maximum allowed value (1 trillion)
- Malformed row objects missing required fields (list_price or discount_percent)
- lower threshold greater than upper threshold may yield unexpected classifications

## How this service works

Price after percent discount - Threshold classification: Threshold classification 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 threshold classification deliverable.

## Output

Returns a bounded threshold classification for each input row indicating whether the calculated post-discount price (list_price × (1 − discount_percent/100)) falls below the lower threshold, within the lower-upper range, or above the upper threshold. Up to 200 rows per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "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
   },
   "default": [
    {
     "list_price": 100,
     "discount_percent": 20
    },
    {
     "list_price": 110.00000000000001,
     "discount_percent": 22
    },
    {
     "list_price": 100,
     "discount_percent": 20
    },
    {
     "list_price": 110.00000000000001,
     "discount_percent": 22
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "lower": {
   "type": "number",
   "default": 0,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  },
  "upper": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/price-after-percent-discount-threshold-classification-d441ebe7/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)
