# Price After Percent Discount – Batch Calculation

> Price After Percent Discount – Batch Calculation 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 the final price after applying a percentage discount for a batch of up to 200 retail line items in a single call.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-discount-price-batch?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-batch-calculation-ed7d4057
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fWGRQ2_jg30AHGmLRnhga

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-batch-calculation-ed7d4057 -d '<json body>'
```

Example prompt: Calculate the discounted prices for these two products: a $150 jacket at 25% off and a $89.99 shirt at 15% off — give me the final prices for both.

## When to prefer this

Choose this endpoint when you need to compute post-discount prices for multiple items in a single round-trip, avoiding repeated single-item calls. It is well-suited for retail pricing workflows, promotional scenario analysis, and cart-level markdown calculations where only list price and a percentage discount are known. It does not require live inventory access or platform fee lookups, so it is ideal for purely local, deterministic price computations.

## Known failure modes

- Batch exceeds 200 rows — request rejected with validation error
- discount_percent outside 0–100 range — validation failure
- list_price is negative — validation failure
- Malformed JSON body — 400 Bad Request
- Payment not included or insufficient — 402 Payment Required

## How this service works

Price after percent discount - Batch calculation: Batch 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 batch calculation deliverable.

## Output

Returns an array of computed post-discount prices corresponding to each input row, where each result reflects the list price reduced by the specified discount percentage. No live inventory, fee, or account data is included — results are purely calculated figures.

## 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
    }
   ],
   "maxItems": 200,
   "minItems": 1
  }
 }
}
```

## More

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