Get Transactions
get_transactionsLists YNAB transactions with filters for account, category, payee, month, and date range, returning raw bank text and pagination metadata to retrieve transaction history.
Instructions
List transactions with raw bank text in import_payee_name_original. Choose accountId, categoryId or payeeId. sinceDate defaults to one year ago. Non-delta cap: 500 (limit max 2000). Capped: {transactions,total,returned,offset,has_more,next_offset}; otherwise array. Prefer search_transactions for specific rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter by approval/categorization status | |
| limit | No | Row cap (default 500, max 2000). Ignored for delta requests. | |
| month | No | Filter by month (YYYY-MM-DD, first of month) | |
| offset | No | Rows to skip, in YNAB's date-ascending order; pass next_offset from a capped result. | |
| payeeId | No | Filter by payee ID | |
| budgetId | No | ||
| accountId | No | Filter by account ID | |
| 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 | |
| categoryId | No | Filter by category ID | |
| 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. | |
| lastKnowledgeOfServer | No | Delta cursor; returns { transactions, server_knowledge } uncapped. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |