# Get spot withdrawal history

```
GET /api/v1/account/spot_asset/withdraw/history
```

#### Query Parameters

<table><thead><tr><th width="176">Field</th><th width="98">Type</th><th width="95">Need</th><th>Description</th><th>Example</th></tr></thead><tbody><tr><td><code>"account"</code></td><td>string</td><td>required</td><td>User's wallet address</td><td><code>42trU9A5...</code></td></tr><tr><td><code>"limit"</code></td><td>integer</td><td>optional</td><td>Maximum number of records to return, defaults to system defined limit</td><td><code>100</code></td></tr><tr><td><code>"cursor"</code></td><td>string</td><td>optional</td><td>Cursor for pagination. Default to none</td><td><code>1115hVka</code></td></tr></tbody></table>

```
/api/v1/account/spot_asset/withdraw/history?account=42trU9A5...
```

#### Response

* Status 200: Successfully retrieved spot withdrawal history

```json
{
  "success": true,
  "data": [
    {
      "symbol": "SOL",
      "amount": "1.00000000",
      "batch_nonce": 42,
      "transaction_id": "5xGk...",
      "created_at": 1716200000000
    }
    ...
  ],
  "next_cursor": "11114Lz77",
  "has_more": true
}
```

| Field              | Type           | Description                                               |
| ------------------ | -------------- | --------------------------------------------------------- |
| `'symbol'`         | string         | Spot asset symbol                                         |
| `'amount'`         | decimal string | Amount withdrawn                                          |
| `'batch_nonce'`    | integer        | Nonce of the withdrawal batch                             |
| `'transaction_id'` | string         | On-chain transaction identifier                           |
| `'created_at'`     | integer        | Timestamp in milliseconds of when the withdrawal occurred |
| `'next_cursor'`    | string         | Next cursor for pagination                                |
| `'has_more'`       | boolean        | True if there exists a `'next_cursor'`                    |

* Status 400: Invalid request parameters
* Status 401: Unauthorized access
* Status 500: Internal server error

#### Code Example (Python)

```python
import requests

response = requests.get(
    "/api/v1/account/spot_asset/withdraw/history",
    params={"account": "42trU9A5..."},
    headers={"Accept": "*/*"},
)

data = response.json()
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pacifica.gitbook.io/docs/api-documentation/api/rest-api/account/get-spot-withdrawal-history.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
