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

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

## Facts

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

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

Example prompt: I have a tiered pricing structure with three discount levels, and I want to buy 250 units at $4.99 each — can you calculate which discount tier applies and what the result is?

## When to prefer this

Use this endpoint when you need a lightweight, fast server-side computation to determine which discount tier applies to a given order quantity and unit price, especially when your pricing logic is complex enough to require backend validation rather than client-side calculation. Prefer this over manual calculations when tiers are dynamic or frequently updated.

## Known failure modes

- Invalid or empty tiers array returns an error or unexpected result
- Non-integer quantity value causes schema validation failure
- Missing required fields (tiers, quantity, unit_price) may return error or null result
- Tiers array with overlapping or malformed tier objects may produce incorrect discount matching
- Zero or negative unit_price may cause unexpected computation behavior

## 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 result of the tier calculation with a 'result' field (e.g. 'processed') and a 'status' field (e.g. 'success'), signaling which discount tier was matched and that the computation completed successfully.

## 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-d7e6222d/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)
