{"uid":"cap_ysoB8obR2AiyVffJp-6ld","slug":"speraxos-dca-order-creation-api-e966de3c","name":"SperaxOS DCA Order Creation API","description":"AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.","url":"https://chat.sperax.io/api/x402/tools/dca/createDCA?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"type":"string","description":"Chain name or ID (e.g. \"arbitrum\", \"42161\"). Default: arbitrum."},"tokenIn":{"type":"string","description":"Source token symbol (e.g. \"USDC\", \"USDs\", \"DAI\")."},"numSwaps":{"type":"number","description":"Number of individual swaps to split the total amount into (e.g. 12 for 12 weekly buys)."},"tokenOut":{"type":"string","description":"Destination token symbol (e.g. \"ETH\", \"ARB\", \"SPA\")."},"frequency":{"type":"string","description":"How often each swap executes: \"daily\", \"weekly\", \"biweekly\", or \"monthly\"."},"totalAmount":{"type":"string","description":"Total amount to DCA (human-readable, e.g. \"500\" for 500 USDC)."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-bPrCjNNHJ30556Uo5YPI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0xD74f5255D557944cf7Dd0E45FF521520002D5748","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates a Dollar-Cost Averaging (DCA) order that automatically splits a total token amount into scheduled recurring swaps on-chain","exampleAgentPrompt":"Set up a DCA strategy on Arbitrum to buy ETH with 500 USDC split into 12 weekly swaps.","exampleUseCases":[{"title":"Weekly ETH accumulation with stablecoins","prompt":"I want to invest 600 USDC into ETH over 12 weeks on Arbitrum — can you set up a DCA plan that buys a bit each week automatically?"},{"title":"Monthly ARB token accumulation","prompt":"Set up a monthly DCA on Arbitrum to buy ARB using 300 USDC, split into 6 monthly purchases."},{"title":"Biweekly SPA token investment","prompt":"Help me DCA into SPA token on Arbitrum with 240 USDC total, splitting it into 12 biweekly swaps using USDs as my source token."}],"resultDescription":"Returns a confirmation of the created DCA order including order details such as the schedule, swap amounts per period, source and destination tokens, chain, and order identifier.","failureModes":["Unsupported token symbol returns an error indicating invalid tokenIn or tokenOut","Unsupported chain name or ID returns a chain resolution error","Invalid or non-positive totalAmount causes a validation failure","numSwaps of zero or negative value returns a bad request error","Insufficient USDC balance for x402 payment fee causes payment failure","Unsupported frequency value outside allowed enum causes a validation error"],"whenToPreferThis":"Use this endpoint when you need to programmatically create a DCA strategy on Arbitrum or another supported EVM chain without managing API keys, paying only $0.001 USDC per call via x402. Prefer this over manual one-time swaps when the user wants to reduce timing risk by spreading purchases over time. Best suited for AI agents orchestrating DeFi workflows that need to automate recurring on-chain token accumulation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:51:34.186Z","isFirstParty":false,"canonicalSlug":"speraxos-dca-order-creation-api-e966de3c"}