---
title: "Withdraw funds from a crypto-spot wallet"
method: POST
path: "/v1/brokers/{id}/withdraw"
tags: ["Brokers"]
---

# Withdraw funds from a crypto-spot wallet

`POST /v1/brokers/{id}/withdraw`

## Request

- Base URL: `https://api.marketintell.ai`
- URL: `https://api.marketintell.ai/v1/brokers/{id}/withdraw`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Drain the agent wallet to the configured withdrawal address. Defaults to USDC; up to 20 additional ERC-20 token addresses can be supplied. Only `crypto-spot-base` connections support withdraw. Requires `trade` scope.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `tokens` string[]: Additional ERC-20 token addresses to drain (USDC always included).

## Response `200`

Withdrawal result

- object
  - `success` boolean
  - `data` object
    - `withdrawn_to` string

## Other responses

- `400`: Withdraw not supported for this broker, or validation failed
- `404`: Connection not found

---

[API](https://skmtc.dev/marketintell/apis/marketintell-api.md) · [All operations](https://skmtc.dev/marketintell/apis/marketintell-api/llms.txt) · [OpenAPI document](https://skmtc.dev/marketintell/apis/marketintell-api/revisions/f3ef87afc41f?raw)
