Skip to main content
GET
Retrieve total

Authorizations

Authorization
string
header
required

API key prefixed with finta_

Query Parameters

category_id
string
required

A cat_ ID returned by GET /categories.

Pattern: ^cat_[A-Za-z0-9]+$
start_month
string

Deprecated first whole month for a periodic category, as YYYY-MM. Includes its first calendar day in Pacific Time. Use with end_month, not with full-date parameters.

Pattern: ^\d{4}-(0[1-9]|1[0-2])$
end_month
string

Deprecated last whole month for a periodic category or cutoff month for a point-in-time category, as YYYY-MM. Includes its last calendar day in Pacific Time, even for the current month. Do not combine with full-date parameters.

Pattern: ^\d{4}-(0[1-9]|1[0-2])$
start_date
string<date>

Exact first included calendar date for a periodic category, as YYYY-MM-DD in Pacific Time. Required when point_in_time is false and rejected when it is true. A midmonth start uses a slower raw-entry read for that partial month.

end_date
string<date>

Exact last included calendar date for a periodic category, as YYYY-MM-DD in Pacific Time. Required when point_in_time is false and rejected when it is true. Month-start through today uses fresh MTD rollups; other partial-month cutoffs use slower raw-entry reads.

date
string<date>

Exact inclusive cutoff calendar date for a point-in-time category, as YYYY-MM-DD in Pacific Time. Required when point_in_time is true and rejected when it is false. Today uses fresh MTD rollups; other non-month-end cutoffs use a slower raw-entry read for the cutoff month.

merchant
string

Exact, case-sensitive merchant or counterparty name. Blank means all merchants.

Response

The requested total

object
enum<string>
required
Available options:
total
category_id
string
required

The requested public category ID.

Pattern: ^cat_[A-Za-z0-9]+$
Example:

"cat_o5p6q7r8s9t0u1"

merchant
string | null
required

The exact merchant filter, or null when no merchant filter was applied.

Example:

"AWS"

start_month
string | null
required

The calendar month containing the actual periodic start date. Derived from start_date for full-date requests; it does not widen the range to a whole month. Null for point-in-time totals.

Pattern: ^\d{4}-(0[1-9]|1[0-2])$
Example:

"2026-01"

end_month
string
required

The calendar month containing the actual periodic end or point-in-time cutoff date. Derived from end_date or date for full-date requests; it does not widen the range to a whole month.

Pattern: ^\d{4}-(0[1-9]|1[0-2])$
Example:

"2026-03"

start_date
string<date> | null
required

The actual inclusive periodic start calendar date in Pacific Time. For a legacy month request, this is the first day of start_month. Null when point_in_time is true.

Example:

"2026-01-15"

end_date
string<date> | null
required

The actual inclusive periodic end calendar date in Pacific Time. For a legacy month request, this is the last day of end_month, not clamped to today. Null when point_in_time is true.

Example:

"2026-03-20"

date
string<date> | null
required

The actual inclusive point-in-time cutoff calendar date in Pacific Time. For a legacy month request, this is the last day of end_month, not clamped to today. Null when point_in_time is false.

Example:

null

point_in_time
boolean
required

When true, request the total with date. When false, request it with start_date and end_date.

Example:

false

total_cents
integer
required

Signed total in cents. Assets use debit minus credit; all other categories use credit minus debit.

Example:

-182340

currency
enum<string>
required

ISO 4217 currency code for the total.

Available options:
USD
Example:

"USD"

debit_cents
integer
required

Contributing debit amount in cents before sign calculation.

Example:

182340

credit_cents
integer
required

Contributing credit amount in cents before sign calculation.

Example:

0

refreshed_at
integer | null
required

Unix timestamp covering the entire result, including partial months. For rollup-only reads, the maximum contributing rollup timestamp including MTD. Any live raw-entry portion is current as of the call, even with no matching raw entries. Null only when no contributing timestamp or live raw read is available.

Example:

1786992120