{"uid":"cap_XnUb6y86d6RmU0teXWmhf","slug":"kihustle-dca-cost-basis-calculator-20540a60","name":"KiHustle DCA Cost Basis 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/api/v1/dca-cost-basis-calculator","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"purchases":{"type":"array","items":{"type":"object","additionalProperties":true}}}},"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_HgzUWjoBj7rsX6nU0uDjs","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 dollar-cost averaging (DCA) cost basis from a list of cryptocurrency or asset purchase records","exampleAgentPrompt":"Can you calculate my DCA cost basis? I bought Bitcoin three times: 0.1 BTC at $30,000, 0.15 BTC at $25,000, and 0.05 BTC at $40,000.","exampleUseCases":[{"title":"Crypto tax cost basis prep","prompt":"I need to figure out my cost basis for tax reporting — I bought Ethereum 5 times over the past year at different prices and amounts. Here are my purchases: 1 ETH at $1,800, 0.5 ETH at $2,200, 2 ETH at $1,500, 0.75 ETH at $1,900, and 1.25 ETH at $2,000. What's my average cost basis?"},{"title":"DCA strategy performance check","prompt":"I've been dollar-cost averaging into Bitcoin every month for 6 months. My purchases were: $200 at $27,000, $200 at $29,500, $200 at $25,000, $200 at $31,000, $200 at $28,000, and $200 at $30,000. What's my average buy price and total BTC accumulated?"},{"title":"Portfolio blended entry price","prompt":"I bought Solana across several different purchases — 10 SOL at $20, 25 SOL at $15, 5 SOL at $35, and 20 SOL at $18. Can you calculate my weighted average cost basis across all those buys?"}],"resultDescription":"Returns a computed summary of the DCA cost basis, including the weighted average purchase price, total amount invested, total quantity acquired, and a success/processed status confirmation.","failureModes":["Empty or missing purchases array returns an error or empty result","Malformed purchase objects with missing price or quantity fields may cause computation errors","Non-numeric values in price or quantity fields may cause processing failures","Very large arrays of purchases may time out or return partial results"],"whenToPreferThis":"Choose this endpoint when you need to compute a weighted average cost basis from multiple cryptocurrency or asset purchases at varying prices and quantities. It is purpose-built for DCA scenarios where an investor has made many buys at different prices and needs to know their blended average entry price, making it ideal for tax reporting, portfolio review, or investment strategy analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T01:05:15.717Z","isFirstParty":false}