Summarise spending
summarise_spendingAnalyse Starling Bank transactions locally and total spending by category, counterparty, or month, with filters for date range and direction.
Instructions
Analyses transactions locally and totals them by spending category, by counterparty (merchant/payee), or by month (in/out/net). Defaults: this calendar month so far, money out only, settled + pending, excluding moves between your own spaces. One API request for ranges up to a year.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End. Default: now (ISO-8601, e.g. 2026-01-31 or 2026-01-31T18:00:00Z) | |
| top | No | Max groups returned (default 30) | |
| from | No | Start. Default: first day of this month (ISO-8601, e.g. 2026-01-31 or 2026-01-31T18:00:00Z) | |
| groupBy | No | Default spendingCategory | |
| direction | No | Default OUT (spending); ignored for groupBy=month | |
| accountUid | No | Account UID. Optional: defaults to STARLING_DEFAULT_ACCOUNT_UID, the only account, or the PRIMARY account | |
| categoryUid | No | Category UID: the main account's defaultCategory, or a space / savings goal UID. Optional: defaults to the main account | |
| includeInternalTransfers | No | Default false |