cURL
curl --request GET \ --url https://api.ai2fin.com/api/analytics/summary \ --header 'Authorization: Bearer <token>'
{ "totalIncome": 123, "totalExpenses": 123, "netProfit": 123, "taxDeductible": 123, "categoryBreakdown": [ {} ], "monthlyTrends": [ {} ] }
Retrieve comprehensive financial analytics and insights
JWT token obtained from /api/auth/login endpoint. Use for standard API access and OAuth-based integrations.
day
week
month
year
Analytics retrieved