{"uid":"cap_TiBrqQqzDJJLBRswdwy8O","slug":"kihustle-dca-cost-basis-calculator-b96420d1","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/agents/api/v1/dca-cost-basis-calculator?utm_source=zero.xyz","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_Sh8ZOb1qTZA_flYBdoH2b","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 average cost basis across a series of dollar-cost-averaging (DCA) purchase entries for a crypto or investment asset","exampleAgentPrompt":"I've been DCA-ing into Bitcoin over the past few months — I bought 0.1 BTC at $40,000, 0.05 BTC at $35,000, and 0.2 BTC at $42,000. Can you calculate my average cost basis across all those purchases?","exampleUseCases":[{"title":"Crypto DCA break-even price check","prompt":"I bought Ethereum three times: 0.5 ETH at $1,800, 1 ETH at $1,500, and 0.75 ETH at $2,100. What's my average cost basis and how much have I invested in total?"},{"title":"Tax-season cost basis reporting","prompt":"I need my average cost basis for my Bitcoin stack for tax purposes — I made six DCA purchases over the year at various prices and amounts. Can you crunch those numbers and tell me my blended entry price and total invested?"},{"title":"Side hustle investment tracking","prompt":"I've been putting $200 into a crypto asset every month for 5 months at prices of $0.80, $0.65, $0.90, $0.72, and $0.85. What's my average cost basis per coin and how many coins do I hold in total?"}],"resultDescription":"Returns a computed summary including the weighted average cost basis (average price paid per unit), total amount invested, total units acquired, and a success status confirming the calculation completed.","failureModes":["Empty purchases array returns an error or zero-value result","Missing price or quantity fields within individual purchase objects may cause incorrect calculations","Malformed array items (non-numeric values) may result in processing errors","API may return a generic success status even for edge-case inputs, requiring client-side validation"],"whenToPreferThis":"Use this endpoint when you need a quick, server-side calculation of weighted average cost basis from a list of DCA purchase entries without building the math locally. It is particularly useful for agents helping users understand their crypto investment positions, prepare for tax reporting, or track their dollar-cost averaging strategy performance.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T18:54:40.259Z","isFirstParty":false,"canonicalSlug":"kihustle-dca-cost-basis-calculator-20540a60"}