tools

Analyze spending

Use this when the user asks where money went or compares spending across periods. Read category or merchant spending for a period, optionally against an earlier one. Excludes transfers and loan payments; fees and interest count.

post/v1/tools/betteroff_analyze_spending

Request

  • Base URL: https://api.betteroff.finance
  • URL: https://api.betteroff.finance/v1/tools/betteroff_analyze_spending
  • Auth: one of:
    • OpenID Connect (https://app.betteroff.finance/api/auth/.well-known/openid-configuration, scopes: transactions:read)
    • HTTP bearer

Request body

groupBy'category' | 'merchant'
startDatestring date nullable required

Start date (ISO). Use null for start of current month.

endDatestring date nullable required

End date (ISO). Use null for today.

Response

Tool result

OR

Changes

No recorded changes to this operation across all 1 revision of this API.