# 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-21).

Calculates the applicable discount tier for a given quantity and unit price based on a set of pricing tiers

## Facts

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

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-c197c926 -d '<json body>'
```

Example prompt: I'm selling a product at $12.50 per unit and a customer wants to buy 150 units — can you check which discount tier kicks in and what the result would be, using these tiers: [{"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 to programmatically determine which volume or bulk discount tier applies to a given purchase quantity and unit price, especially when the tiers are dynamic or user-defined. Prefer this over manual tier logic when tiers are configurable at runtime or when automating pricing decisions in an agent workflow.

## Known failure modes

- Missing required fields (tiers, quantity, or unit_price) result in a processing error
- Invalid tier objects with unexpected schema may cause incorrect tier matching
- Non-integer quantity or non-numeric unit_price may cause computation failure
- Empty tiers array may return a default or error response
- Negative quantity or price values may yield unexpected results

## 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 indicating the processing result and success status, typically confirming which discount tier was matched and the computed outcome based on the provided 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-c197c926/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)
