Retrieve total
Calculates one signed total for the requested category and its descendants.
Check the category’s point_in_time field from GET /categories before choosing date
parameters. Periodic categories (point_in_time: false), such as income-statement and
cash-flow categories, require start_date and end_date. Point-in-time categories
(point_in_time: true), such as balance-sheet categories, require date and reject
start_date and end_date.
Existing integrations may continue using the deprecated month contract. Periodic
categories accept start_month and end_month; point-in-time categories accept only
end_month. Month parameters use YYYY-MM and cannot be combined with full-date
parameters. Responses include both representations so clients can migrate independently.
Dates use YYYY-MM-DD, but totals have monthly granularity and ignore the day (DD). For
example, 2026-02-03 and 2026-02-28 select the same February total.
Periodic totals include both selected months. Point-in-time totals are cumulative through
the selected month. Assets use debit minus credit. All other categories use credit minus debit.
merchant is an exact, case-sensitive match. A blank value means all merchants.
refreshed_at is the Unix timestamp of the most recent change to data included in the
result. It is null when no data matches. Newly imported activity may not appear immediately.
The API rejects period and department_id. It ignores other unknown query parameters.
Authorizations
API key prefixed with finta_
Query Parameters
A cat_ ID returned by GET /categories.
^cat_[A-Za-z0-9]+$Deprecated first month for a periodic category, as YYYY-MM. Use with end_month, not with full-date parameters.
^\d{4}-(0[1-9]|1[0-2])$Deprecated last month for a periodic category or cutoff month for a point-in-time category, as YYYY-MM. Do not combine with full-date parameters.
^\d{4}-(0[1-9]|1[0-2])$First selected month for a periodic category, as YYYY-MM-DD. Required when point_in_time is false and rejected when it is true. The day is ignored.
Last selected month for a periodic category, as YYYY-MM-DD. Required when point_in_time is false and rejected when it is true. The day is ignored.
Selected month for a point-in-time category, as YYYY-MM-DD. Required when point_in_time is true and rejected when it is false. The day is ignored.
Exact, case-sensitive merchant or counterparty name. Blank means all merchants.
Response
The requested total
total The requested public category ID.
^cat_[A-Za-z0-9]+$"cat_o5p6q7r8s9t0u1"
The exact merchant filter, or null when no merchant filter was applied.
"AWS"
The selected first month for a periodic total. Derived from start_date for full-date requests and null for point-in-time totals.
^\d{4}-(0[1-9]|1[0-2])$"2026-01"
The selected last or cutoff month. Derived from end_date or date for full-date requests.
^\d{4}-(0[1-9]|1[0-2])$"2026-03"
The requested periodic start date. For a legacy month request, this is the first day of start_month. Null when point_in_time is true.
"2026-01-15"
The requested periodic end date. For a legacy month request, this is the last day of end_month. Null when point_in_time is true.
"2026-03-20"
The requested point-in-time date. For a legacy month request, this is the last day of end_month. Null when point_in_time is false.
null
When true, request the total with date. When false, request it with start_date and end_date.
false
Signed total in cents. Assets use debit minus credit; all other categories use credit minus debit.
-182340
ISO 4217 currency code for the total.
USD "USD"
Contributing debit amount in cents before sign calculation.
182340
Contributing credit amount in cents before sign calculation.
0
Unix timestamp of the most recent change to data included in the result. Null when no data matches.
1786992120