getDashboardSummary
Get a comprehensive dashboard summary including cash flow and overview statistics.Parameters
No parameters required. Automatically uses the last 6 months for cash flow analysis.Response
object
Cash flow report for the last 6 months
object
Overview statistics including income, expenses, savings, and investments
getCashFlowReport and the Overview Summary section below for detailed response structures.
getCashFlowReport
Generate a cash flow report for a specific time range.Parameters
enum
required
Time range for the report:
this_month: Current monthlast_3_months: Last 3 monthslast_6_months: Last 6 monthsytd: Year to date1_year: Last 12 monthsall: All time
Response
string
Base currency code for the report
string[]
Array of currency codes that were converted to base currency
object
Attribution for currency exchange rate provider
text: Attribution texturl: Attribution URL
object
Summary statistics for the period
string
Total income for the period
string
Total expenses for the period
string
Total transfers for the period
string
Net surplus (income - expenses)
string
Average monthly income
string
Average monthly expenses
string
Average monthly surplus
array
Array of cash flow data points by period
string
Period identifier (e.g., “2024-03”, “2024-Q1”)
string
Income for the period
string
Expenses for the period
string
Transfers for the period
string
Surplus for the period
string[]
Currencies converted in this period
object
Metadata about the report
string
The range parameter used
Date
Report start date
Date
Report end date
enum
Data granularity:
day, week, month, or quartergetCategorySpend
Get spending breakdown by category for a date range.Parameters
Date
required
Start date for the analysis
Date
required
End date for the analysis
number
required
Maximum number of categories to return (minimum: 1)
Response
string
Base currency code
string[]
Array of converted currency codes
object
Currency exchange attribution information
array
Array of category spending data
string
Category ID
string
Category name
string
Category icon
string
Category type (EXPENSE)
string | null
Parent category ID if applicable
string | null
Parent category name
string | null
Parent category icon
object
Total spending for this category
string
Total in base currency
array
Array of amounts by original currency
currency: Currency codeamount: Original amountconvertedAmount: Amount converted to base currency
getCategoryIncome
Get income breakdown by category for a date range.Parameters
Same asgetCategorySpend.
Response
Same structure asgetCategorySpend, but for income categories (type: INCOME).
Overview Summary
The overview summary (part ofgetDashboardSummary) includes the following cash flow types:
- INCOME: Total income
- EXPENSE: Total expenses
- SAVINGS: Savings transactions
- INVESTMENT: Investment transactions
object
Year-to-date totals
object
Current month totals
object
Last month totals
object
6-month average
baseCurrency: Amount in base currencybyCurrency: Array of amounts by currency with original and converted values