get_history
Retrieve trades, deposits, withdrawals, and position adjustments from your Public.com account. Filter by date range and paginate results.
Instructions
Retrieve account transaction history.
Returns trades, money movements (deposits, withdrawals, dividends), and position adjustments (splits, mergers).
Args: account_id: Account ID. Optional if PUBLIC_COM_ACCOUNT_ID is set. start: Start timestamp in ISO 8601 format (e.g. 2025-01-15T09:00:00-05:00). end: End timestamp in ISO 8601 format. page_size: Max number of records to return. next_token: Pagination token for the next page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | ||
| start | No | ||
| end | No | ||
| page_size | No | ||
| next_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |