{"uid":"cap_EySf1p8Ssq5thT4PMYuan","slug":"agent-quant-dca-schedule-calculator-23187bc8","name":"Agent Quant DCA Schedule Calculator","description":"Pure quant math for AI trading agents: percent change, position sizing, rough liquidation price, DCA schedule, APR/APY. No market data feeds, no API keys. Pay-per-request USDC via x402 on Base and Solana.","url":"https://agent-quant.annushka1190.workers.dev/v1/dca","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object"},"type":{"const":"http"},"method":{"enum":["POST"]},"bodyType":{"const":"json"}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Qv2AMZl-zH0HUXm8R_ZYM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a dollar-cost averaging (DCA) schedule for a given asset, returning a structured buy plan with intervals and amounts — no market data or API keys required.","exampleAgentPrompt":"Set me up a DCA schedule to invest $1,200 into ETH spread evenly over 12 weekly intervals — I want to know exactly how much to buy each week.","exampleUseCases":[{"title":"Weekly crypto accumulation plan","prompt":"I want to invest $500 in SOL over the next 10 weeks using dollar-cost averaging — can you calculate how much I should buy each week?"},{"title":"Daily DCA for volatile token","prompt":"Help me plan a DCA strategy to deploy $300 into a memecoin over 30 daily purchases so I reduce my timing risk — what does that schedule look like?"},{"title":"Bot-driven systematic buy schedule","prompt":"My trading bot needs a DCA schedule: I'm allocating $2,400 total, buying every 4 days for 60 days — compute the per-interval amount and the full schedule for me."}],"resultDescription":"Returns a JSON object with ok: true and a computed DCA schedule, including per-interval buy amounts and the overall investment breakdown across the specified number of intervals and frequency.","failureModes":["Missing required fields in the request body returns a validation error","Invalid or non-numeric investment amounts cause computation failure","Zero or negative interval count results in an error response","Malformed JSON body leads to a 400-level error","Insufficient USDC payment (x402) causes a 402 Payment Required response before computation runs"],"whenToPreferThis":"Choose this endpoint when you need pure mathematical DCA schedule computation without any live market data dependency. It is ideal for AI trading agents, bots, or planning tools that already know the asset and amount and just need a clean, reproducible schedule calculation. Prefer it over full brokerage or trading APIs when you want a lightweight, stateless, pay-per-call math primitive with no API key friction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:30:11.393Z","isFirstParty":false}