Get Transactions
get_transactionsRetrieve YNAB transactions filtered by type, account, category, payee, or date range. Includes pagination and delta updates for complete results.
Instructions
List transactions with filters: type ('unapproved' / 'uncategorized'), one of accountId / categoryId / payeeId, month, sinceDate, untilDate (YNAB defaults an omitted sinceDate to one year ago). Rows include import_payee_name_original, the raw bank string, for payee disambiguation. Without a delta request the result is capped at 500 rows (override with limit, up to 2000; page with offset); a capped result returns { transactions, total, returned, offset, has_more, next_offset } instead of a bare array. Prefer search_transactions to find 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 | Budget ID (uses default if not provided) | |
| accountId | No | Filter by account ID | |
| sinceDate | No | Only return transactions on or after this date (YYYY-MM-DD). If omitted, YNAB defaults to one year ago. | |
| untilDate | No | Only return transactions on or before this date (YYYY-MM-DD) | |
| categoryId | No | Filter by category ID | |
| lastKnowledgeOfServer | No | Delta request server knowledge. When provided, returns { transactions, server_knowledge } uncapped. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |