Search Transactions
search_transactionsFind YNAB transactions by case-insensitive text across payee, bank payee, memo, account, category, or split details, or by absolute dollar amount; apply account/date filters and paginate results.
Instructions
Search query and/or amount (one required). Case-insensitive substrings: payee, raw bank payee, memo, account, category, split payee/memo/category. Amount: absolute dollars within half a cent. Filters apply after fetching account/date-bounded history. Newest first; paginate with next_offset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size (default 50, max 500) | |
| query | No | Text to find in payee, raw import payee, memo, account, or category (case-insensitive substring) | |
| amount | No | Amount in dollars to match on absolute value (12.34 matches -12.34 and 12.34) | |
| offset | No | Number of matches to skip (default 0); pass next_offset from the previous page | |
| budgetId | No | ||
| accountId | No | Restrict the search to one account | |
| freshness | No | fresh (default) reads YNAB. cached uses a session-isolated 30-second cache; complete means its reported coverage, which expands for older requested dates. Reports freshness; caller delta cursors bypass retention. | |
| sinceDate | No | From YYYY-MM-DD, inclusive; default one year ago. | |
| untilDate | No | Through YYYY-MM-DD, inclusive | |
| projection | No | Output fields: full (default) or lean IDs, values and essential status/link fields. Splits retain child IDs and amounts. | |
| includeFreshness | No | Return an envelope with freshness/coverage metadata even on a fresh read. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |