Search Transactions
search_transactionsSearch transactions by keyword and filter by date, account, category, tags, and other criteria. Returns matching transactions plus search metadata for pagination.
Instructions
Search one page of transactions using Monarch's text search.
Args: query: Nonempty search text for Monarch's transaction search. limit: Maximum transactions to request (default: 500). offset: Transactions to skip for pagination. start_date: Inclusive start, accepting ISO dates or natural language. Without end_date, the end defaults to today. end_date: Inclusive end. Without start_date, the start defaults to the first day of the end date's month. account_id: Account ID from get_accounts. category_id: Category ID from get_transaction_categories. tag_ids: Comma-separated tag IDs. has_attachments: Filter by attachment presence. has_notes: Filter by notes presence. hidden_from_reports: True for hidden transactions, False for visible ones. is_split: Filter by split status. is_recurring: Filter by recurring status. is_pending: True for pending transactions, False for posted transactions. verbose: False uses get_transactions' compact fields; True keeps full API objects.
Boolean filters default to None (no restriction). Returns matching transactions and search_metadata with the query, this page's result_count, and applied filters. Use offset for further pages; result_count is not the total number of matches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| offset | No | ||
| tag_ids | No | ||
| verbose | No | ||
| end_date | No | ||
| is_split | No | ||
| has_notes | No | ||
| account_id | No | ||
| is_pending | No | ||
| start_date | No | ||
| category_id | No | ||
| is_recurring | No | ||
| has_attachments | No | ||
| hidden_from_reports | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transactions | Yes | ||
| search_metadata | Yes |