# KiHustle Discount Tier Calculator

> KiHustle Discount Tier Calculator is a paid API for AI agents from kihustle.tech, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-18).

Calculates the applicable discount tier and final price given quantity, unit price, and a set of pricing tiers

## Facts

- Endpoint: POST https://kihustle.tech/bot-bazaar/api/v1/discount-tier-calculator?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kihustle-discount-tier-calculator-c58d08d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_leVD6voXE909xlI6nMUX4

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 kihustle-discount-tier-calculator-c58d08d6 -d '<json body>'
```

Example prompt: I'm selling 150 units at $12.50 each — can you run these three pricing tiers through the discount calculator to see what tier applies and what the final price comes out to: [{"min_qty":1,"discount":0},{"min_qty":50,"discount":0.1},{"min_qty":100,"discount":0.2}]?

## When to prefer this

Use this endpoint when you need a lightweight, hosted computation to resolve which discount tier applies to a given order and compute the adjusted price, without running the logic locally. Best suited for e-commerce agents, quoting tools, or billing automation that operate with volume-based or tiered pricing models and want to offload the tier-matching arithmetic.

## Known failure modes

- Missing or empty tiers array — calculation cannot proceed without tier definitions
- Non-integer quantity value — schema expects an integer
- Negative or zero unit_price — may produce nonsensical discount results
- Malformed tier objects without required threshold or discount fields — unpredictable tier matching
- Server error returns generic {result: 'processed', status: 'success'} regardless of input validity, making silent failures hard to detect

## How this service works

Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.

## Output

Returns a JSON object confirming the calculation was processed successfully, with a result field indicating the applied discount tier and final pricing outcome based on the supplied tiers, quantity, and unit price.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tiers": {
   "type": "array",
   "items": {
    "type": "object",
    "additionalProperties": true
   }
  },
  "quantity": {
   "type": "integer"
  },
  "unit_price": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "processed",
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kihustle-discount-tier-calculator-c58d08d6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kihustle.tech](https://www.zero.xyz/host/kihustle.tech/llms.txt)
