> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pacifica.fi/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Spot Deposit History

> This endpoint returns spot asset deposit history.

```http theme={null}
GET /api/v1/account/spot_asset/deposit/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>

```http theme={null}
/api/v1/account/spot_asset/deposit/history?account=42trU9A5...
```

#### Response

* Status 200: Successfully retrieved spot deposit history

```json theme={null}
{
  "success": true,
  "data": [
    {
      "symbol": "SOL",
      "amount": "1.50000000",
      "transaction_id": "5xGk...",
      "created_at": 1716200000000
    }
    ...
  ],
  "next_cursor": "11114Lz77",
  "has_more": true
}
```

| Field | Type | Description |
| - | - | - |
| `'symbol'` | string | Spot asset symbol |
| `'amount'` | decimal string | Amount deposited |
| `'transaction_id'` | string | On-chain transaction identifier |
| `'created_at'` | integer | Timestamp in milliseconds of when the deposit 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 theme={null}
import requests

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

data = response.json()
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.