Get Merchant Breakdown
Totals transactions by merchant over an inclusive date range in the household's reporting currency, ordered by absolute amount (largest first). Transactions without a merchant are grouped under merchant_id: null.
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.
dateComma-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.
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 category IDs, such as Ct5nR8wY1jFu,Ct3dM7qA9sXe; repeating the parameter for each ID also works. Limits the results to transactions assigned to one of these categories.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.penny.finance/v1/households/Hh4vK8pQ2sLm/analytics/merchant-breakdown?start_date=2026-08-01&end_date=2026-08-31" \ -H "Authorization: Bearer $PENNY_API_TOKEN"{ "merchants": [ { "merchant_id": "Mr7cJ2wN5sXe", "merchant_name": "Payroll", "amount": { "amount": "5200.00", "currency": "USD" }, "transaction_count": 2 }, { "merchant_id": "Mr9dL3xT6bQa", "merchant_name": "Trader Joe's", "amount": { "amount": "-312.75", "currency": "USD" }, "transaction_count": 5 }, { "merchant_id": "Mr5tG8wB2nHk", "merchant_name": "Chipotle", "amount": { "amount": "-78.00", "currency": "USD" }, "transaction_count": 4 }, { "merchant_id": null, "merchant_name": null, "amount": { "amount": "-42.18", "currency": "USD" }, "transaction_count": 2 }, { "merchant_id": "Mr4hT7wK2cNe", "merchant_name": "Netflix", "amount": { "amount": "-17.99", "currency": "USD" }, "transaction_count": 1 } ], "income": { "amount": "5200.00", "currency": "USD" }, "expenses": { "amount": "-450.92", "currency": "USD" }}Get Cashflow By Period GET
Returns income, expenses, and net cashflow for every calendar period overlapping an inclusive date range, in the household's reporting currency (income is…
Get Category Breakdown GET
Breaks down income and expenses by category group and category over an inclusive date range, with totals and percentage shares. Ungrouped categories and…