Get Cashflow By Period
Returns income, expenses, and net cashflow for every calendar period overlapping an inclusive date range, in the household's reporting currency (income is positive, expenses are negative, net is their sum).
Empty periods have zero totals. Period boundaries span the full calendar period, while totals only include the requested dates. is_complete reports whether the period has ended in the household's time zone. Excludes transfer categories, hidden or deleted transactions, deleted accounts, and split parents (their children count instead). Pending transactions are included.
Authorization
PersonalApiToken Personal API token (penny_pat_…). Paste only the token; the Bearer prefix is added automatically. Read-only tokens only allow read requests, and read/write tokens follow your current household membership and role. See https://penny.finance/docs/api#authentication.
In: header
Path Parameters
ID of the household that owns the resource. GET /v1/households lists the households you can access.
Query Parameters
First day of the range, inclusive, as YYYY-MM-DD. Transactions are selected by their date.
dateLast day of the range, inclusive, as YYYY-MM-DD. If it is earlier than start_date, no transactions match; this is not an error.
dateSize of the calendar periods the range is divided into. The response has one entry in periods for every period that overlaps the range.
Value in
- "daily"
- "monthly"
- "quarterly"
- "yearly"
Comma-separated account IDs, such as Ac7kP2mN9qRs,Ac4tW8bL1xDv; repeating the parameter for each ID also works. Limits the results to transactions in these accounts.
Comma-separated tag IDs, such as Tg8qN1cK5rWd,Tg2bX6mJ9pHs; repeating the parameter for each ID also works. Limits the results to transactions that have at least one of these tags.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.penny.finance/v1/households/Hh4vK8pQ2sLm/analytics/cashflow-by-period?start_date=2026-08-01&end_date=2026-08-31&time_segment=monthly" \ -H "Authorization: Bearer $PENNY_API_TOKEN"{ "periods": [ { "start_date": "2026-08-01", "end_date": "2026-08-31", "income": { "amount": "5200.00", "currency": "USD" }, "expenses": { "amount": "-450.92", "currency": "USD" }, "net": { "amount": "4749.08", "currency": "USD" }, "is_complete": false } ]}Get Spending By Period GET
Groups income and expenses into daily, monthly, quarterly, or yearly periods over an inclusive date range, in the household's reporting currency. Empty…
Get Merchant Breakdown GET
Totals transactions by merchant over an inclusive date range in the household's reporting currency, ordered by absolute amount (largest first). Transactions…