# SperaxOS DCA Withdraw Position

> SperaxOS DCA Withdraw Position is a paid API for AI agents from chat.sperax.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-21).

Withdraws funds from an existing Dollar-Cost Averaging (DCA) position on Mean Finance, returning tokens to the user's wallet.

## Facts

- Endpoint: POST https://chat.sperax.io/api/x402/tools/dca/withdrawPosition?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/speraxos-dca-withdraw-position-bde5139d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_huYoJIWipivY-d6Cf-FPo

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability speraxos-dca-withdraw-position-bde5139d -d '<json body>'
```

Example prompt: Withdraw my Mean Finance DCA position with ID 12345 on Arbitrum and send the tokens back to my wallet 0xAbc...123.

## When to prefer this

Use this endpoint when a user wants to exit, cancel, or withdraw from an active or partially-executed Mean Finance DCA position on a supported EVM chain. Prefer this over generic swap or transfer endpoints when the specific action is closing a recurring DCA strategy and recovering remaining tokens.

## Known failure modes

- Invalid or non-existent position ID returns an error
- Position already fully executed or closed cannot be withdrawn again
- Unsupported chain value causes request rejection
- Wallet address mismatch or invalid format returns validation error
- Insufficient permissions if wallet does not own the position
- Network congestion or RPC failures may cause transaction delays

## How this service works

SperaxOS is an AI-powered DeFi operating system — track portfolios, execute swaps, analyze on-chain data, and collaborate with intelligent agents that manage your crypto workflow.

## Output

Returns confirmation of the withdrawal transaction, including transaction hash and details of tokens returned to the specified wallet address from the Mean Finance DCA position.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string",
   "description": "Chain where the position exists."
  },
  "positionId": {
   "type": "string",
   "description": "The Mean Finance position ID to withdraw from."
  },
  "walletAddress": {
   "type": "string",
   "description": "The user's wallet address to receive withdrawn tokens. If available, pass from the connected wallet context."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/speraxos-dca-withdraw-position-bde5139d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chat.sperax.io](https://www.zero.xyz/host/chat.sperax.io/llms.txt)
