{"uid":"cap_5uys8DVohxXFu0EOJ2wjj","slug":"kihustle-margin-calculator-d90bb5d9","name":"KiHustle Margin 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/margin-calculator","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"cost":{"type":"number"},"selling_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_lXX005LW_oDDZ24QWWsyP","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 profit margin percentage given a cost and selling price","exampleAgentPrompt":"What's my profit margin if my cost is $12.50 and I'm selling it for $35?","exampleUseCases":[{"title":"Pricing a digital product","prompt":"I want to sell an ebook for $29 and it cost me $4 to produce — what's my profit margin?"},{"title":"Evaluating a wholesale resale opportunity","prompt":"If I buy a product wholesale for $18 and sell it at $49.99, what margin am I working with?"},{"title":"Checking margin before a price drop","prompt":"I'm thinking of dropping my product price from $60 to $45, my cost is $15 — what does my margin look like at the new price?"}],"resultDescription":"Returns a JSON object with a 'result' field indicating the computed margin and a 'status' field confirming success. The exact margin value is included in the result.","failureModes":["Missing cost or selling_price fields returns an error","Non-numeric values for cost or selling_price may cause processing failure","Selling price lower than or equal to zero could produce undefined behavior","Negative margin scenarios (cost exceeds selling price) may or may not be handled gracefully"],"whenToPreferThis":"Use this endpoint when you need a quick, lightweight margin calculation from raw cost and selling price inputs without setting up a local formula. Useful for AI agents automating pricing decisions for side hustle or e-commerce workflows, especially when operating in an x402 micropayment environment where per-call billing is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:03:03.053Z","isFirstParty":false}