Spending Summary
get_spending_summaryTotal posted spending (positive amounts only) grouped by category, merchant, month, or week, largest first, with transaction count and average per group. Default window is the last 30 days. Returns the top 20 groups by default (max 100); total_groups gives the full count. The response includes a warnings array of notices about banks that could not contribute (for example, a bank that needs reconnecting), each with a message and, when relevant, a reconnect_url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (1 to 100). Defaults to 20. | |
| end_date | No | Date in YYYY-MM-DD format. Defaults to today. | |
| group_by | Yes | How to group spending: category, merchant, month (YYYY-MM), or week (YYYY-Www). | |
| account_id | No | Limit results to a specific account. Use an account id returned by list_accounts. | |
| start_date | No | Date in YYYY-MM-DD format. Defaults to 30 days ago. |