{"uid":"cap_leVD6voXE909xlI6nMUX4","slug":"kihustle-discount-tier-calculator-c58d08d6","name":"KiHustle Discount Tier Calculator","description":"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.","url":"https://kihustle.tech/bot-bazaar/api/v1/discount-tier-calculator?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tiers":{"type":"array","items":{"type":"object","additionalProperties":true}},"quantity":{"type":"integer"},"unit_price":{"type":"number"}}},"responseSchema":{"type":"json","example":{"result":"processed","status":"success"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_at-QtM1hstGVM3O1zPFZK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the applicable discount tier and final price given quantity, unit price, and a set of pricing tiers","exampleAgentPrompt":"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}]?","exampleUseCases":[{"title":"Bulk order discount evaluation","prompt":"A customer wants to buy 200 units at $8.00 each. I have three tiers: no discount under 50 units, 10% off for 50–199, and 20% off for 200+. Can you calculate which tier applies and what the total discounted price should be?"},{"title":"Dynamic pricing for a checkout system","prompt":"At checkout the cart has 75 items priced at $15.00 each. Run my tiered discount rules — 0% for 1–24, 5% for 25–74, 15% for 75+ — and tell me what discount gets applied and the final unit price."},{"title":"Sales quote generation for a client","prompt":"I need to put together a quote for a client ordering 500 units at $3.25 each. My pricing tiers are: 0% discount for 1–99, 12% for 100–499, and 18% for 500 and above. What's the applicable tier and final price per unit?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:02.572Z","isFirstParty":false,"canonicalSlug":"kihustle-discount-tier-calculator-d7e6222d"}