Transactions as CSV, a row per Category each is tracked to (EXPORT-1)
A row for each Category a transaction is tracked to, so a split transaction has a row per Category, newest first: `Date`, `Merchant`, `Type` (`Expense` or `Income`), `Amount` (the whole transaction), `Budget month` (or `Untracked`), `Category`, `Category amount`, `Note`, and `Added by` (their full name). Deleted transactions aren't included. The same file as the website's export. Without `from` and `to`, every transaction. With them, transactions *dated* in those months (a transaction's budget month can differ from its date's). Amounts are plain numbers in dollars (`1234.50`, `-12.00`), months `YYYY-MM`, dates `YYYY-MM-DD`. It works even when the household's trial has ended: its records stay its own. Required scope: `transactions:read` (personal access tokens; sessions have every scope).
A row for each Category a transaction is tracked to, so a split transaction has a row per
Category, newest first: Date, Merchant, Type (Expense or Income), Amount (the
whole transaction), Budget month (or Untracked), Category, Category amount, Note,
and Added by (their full name). Deleted transactions aren't included. The same file as the
website's export.
Without from and to, every transaction. With them, transactions dated in those months
(a transaction's budget month can differ from its date's).
Amounts are plain numbers in dollars (1234.50, -12.00), months YYYY-MM, dates
YYYY-MM-DD. It works even when the household's trial has ended: its records stay its own.
Required scope: transactions:read (personal access tokens; sessions have every scope).
Authorization
bearerAuth Authorization: Bearer <token>: a mobile session token, or a personal access token
(srp_…) created in Account → API tokens (DEV-1).
Personal access tokens:
- Act as their user, in any household the user belongs to (each call names it in its path).
- Carry scopes (DEV-2), and each operation's description names the one it needs:
budget:read/budget:write(months, groups, items, funds, favorites, harvest, cover),transactions:read/transactions:write(transactions, merchant suggestions),households:read/households:manage(households, members, invites),account:read/account:write(me, settings). A write scope includes its read scope. A call outside the token's scopes gets 403insufficient_scope, with the needed scope indetails.required_scope. - Can't manage tokens or passwords (403
session_required). - May expire (401
unauthenticatedafterwards). - Are rate-limited (DEV-3): 120 requests/minute per token with bursts up to 120. Every
response carries
X-RateLimit-Limit,X-RateLimit-Remaining, andX-RateLimit-Reset(seconds until the bucket is full again); over the limit the answer is 429rate_limitedwithRetry-After(seconds). Limits are kept per server instance, so they're approximate.
Subscriptions (BILL-4): once a household's free trial is over and its owner has no
subscription, every budget, transaction, and merchant-suggestion call answers 402
payment_required. Account, settings, and household calls keep working; subscribing
(on the web, Account → Billing) restores access to everything.
Sessions (web cookie or mobile bearer) have every scope and aren't limited this way. Cross-origin browser calls (CORS, for the API docs playground) must use a bearer token; cookies are never accepted cross-origin.
In: header
Path Parameters
ULID.
^[0-9A-HJKMNP-TV-Z]{26}$Query Parameters
The first month to include (YYYY-MM). Send it with to; without both, all time.
^[0-9]{4}-(0[1-9]|1[0-2])$The last month to include (YYYY-MM), inclusive. Send it with from.
^[0-9]{4}-(0[1-9]|1[0-2])$Adds, after Added by: Added at (UTC), Last edited by, Last edited at (UTC)
(empty if it was never edited), Latitude, Longitude, Location accuracy (meters)
(when it was saved with a location), and SpendRock Transaction ID (its id). Times are
YYYY-MM-DD HH:MM:SS.
falseHeader Parameters
The API version (DEV-5), YYYY-MM-DD. Without it: your personal access token's pinned version, or the latest. 400 unknown_version / version_retired.
^\d{4}-\d{2}-\d{2}$Response Body
text/csv
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/households/01J8Z3N4Q5R6S7T8V9W0X1Y2Z3/export/transactions.csv""string"The budget as CSV, a row per Category per month (EXPORT-1) GET
A row for each Category in each month that has a budget, oldest month first, in the budget's order (income first): `Month`, `Type` (`Income` or `Expense`), `Group`, `Category`, `Category type` (an expense's `Standard`, `Fund`, or `Debt`; empty for income), `Planned`, `Spent`, `Received`, `Remaining`, `Balance` (a Fund's or Debt's balance at the month's end; empty for others), and `Note`. The same file as the website's export. Without `from` and `to`, every month. Amounts are plain numbers in dollars (`1234.50`, `-12.00`), months `YYYY-MM`, dates `YYYY-MM-DD`. It works even when the household's trial has ended: its records stay its own. Required scope: `budget:read` (personal access tokens; sessions have every scope).
Recurring transactions as CSV, every rule (EXPORT-1) GET
Every recurring transaction, active, paused, and ended: what it adds each month, not the copies it has added (those are in the transactions export) or those still to come. A row for each Category it's tracked to: `Merchant`, `Type`, `Amount`, `Repeats` (`Monthly on the 15th`), `Day of month`, `Next date` (active ones), `Final month` (empty: no end), `Status` (`Active`, `Paused`, or `Ended`), `Resumes on` (the date a paused one adds its next, when set), `Category`, `Category amount`, `Note`, and `Added by`. The same file as the website's export. Amounts are plain numbers in dollars (`1234.50`, `-12.00`), months `YYYY-MM`, dates `YYYY-MM-DD`. It works even when the household's trial has ended: its records stay its own. Required scope: `transactions:read` (personal access tokens; sessions have every scope).