{"uid":"cap_z5Ss62xueXlOnACW1_njJ","slug":"kihustle-discount-tier-calculator-ddf774b4","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/agents/api/v1/discount-tier-calculator","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_COMpoYOyDKmmXt4QXHAYs","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 for a given quantity and unit price based on provided tier definitions","exampleAgentPrompt":"I want to buy 150 units at $8.50 each — can you check my discount tier config and tell me which tier applies and what the final pricing would be?","exampleUseCases":[{"title":"Wholesale order discount lookup","prompt":"I'm placing a wholesale order for 500 units at $12.00 each. Here are my discount tiers: [{'min_qty':1,'discount':0},{'min_qty':100,'discount':0.05},{'min_qty':500,'discount':0.12}] — which tier kicks in and what's the discounted price?"},{"title":"Dynamic storefront pricing","prompt":"My store has three discount tiers set up and a customer wants to buy 75 units at $4.99 each. Can you run the tier calculator with those tiers to figure out what discount percentage and final price to show them at checkout?"},{"title":"SaaS seat pricing calculator","prompt":"We offer seat-based pricing with volume tiers. A prospect wants 250 seats at $15 per seat per month. Use our tier structure — under 50 is full price, 50-199 gets 10% off, 200+ gets 20% off — and calculate what tier they fall into and the total monthly cost."}],"resultDescription":"Returns a JSON object with a result field indicating the computed discount tier outcome and a status field confirming success. Likely includes the applicable discount level or final price based on the matched tier for the submitted quantity and unit price.","failureModes":["Missing or empty tiers array returns an error or unprocessable result","Non-integer quantity causes validation failure","Negative unit_price may produce unexpected results","Malformed tier objects (missing required keys) may cause processing errors","Network timeout or server error returns non-200 status","Quantity below minimum tier threshold may return no discount applied"],"whenToPreferThis":"Use this endpoint when you need to programmatically determine which volume discount tier applies to a specific quantity and unit price, especially in ecommerce, wholesale, or SaaS pricing contexts where tier boundaries are configurable. Prefer this over manual lookup when tiers are dynamic or user-defined.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:03:03.678Z","isFirstParty":false}