get_history
Retrieve transaction history for a Public.com brokerage account, including trades, deposits, withdrawals, dividends, and position adjustments. 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 |
|---|---|---|---|
| end | No | ||
| start | No | ||
| page_size | No | ||
| account_id | No | ||
| next_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |