Skip to content

Developer API

Conventions

The envelope every answer shares, cursor pagination, date parameters, ids, amounts and currencies, and how categories are named.

Every endpoint of the Developer API answers in the same shape and reads its parameters the same way. This page covers the envelope around the rows, how a long list is paged, how dates are given, what ids look like, how amounts and currencies are signed and converted, and how a category is named. The base URL is https://app.taiga.finance/api/v1, and the commands read the origin from $TAIGA_API.

Every answer is one JSON object with five keys:

  • data: the rows.
  • next_cursor: the cursor for the next page, or null on the last page. Only /transactions and /balances page; every other endpoint returns all its rows with next_cursor: null.
  • home_currency: the household’s home currency. Every amount_home and every /budget and /cashflow figure is in it.
  • as_of: the token owner’s calendar day today, in their stored time zone.
  • zone: that time zone as an IANA name, or "UTC" when none is stored.

The Canadian dollar example further down this page shows all five.

The write answers use the same envelope, and POST /transactions adds possible_duplicates to it. The exceptions: POST /transactions/batch answers {data: [{id, changed}], changes}, and a transaction DELETE and a rule DELETE answer 204 with no body.

/transactions and /balances return at most limit rows a page: 1 to 1000, 100 by default. A limit outside that range is a 422. Rows come oldest first, transactions by date, then id, then split slot, and balances by date, then account.

When next_cursor isn’t null, pass it back as cursor, with the same from and to, for the next page. A first page of three December transactions:

Terminal window
curl "$TAIGA_API/api/v1/transactions?from=2025-12-01&to=2025-12-31&limit=3" \
-H "Authorization: Bearer $TAIGA_TOKEN"
{
"data": [
{
"id": "1611782",
"split_of": null,
"split_slot": null,
"split_note": null,
"date": "2025-12-01",
"posted_date": "2025-12-01",
"authorized_date": null,
"description": "WHOLE FOODS MARKET",
"merchant": "Whole Foods Market",
"amount": -120.47,
"currency": "USD",
"amount_home": -120.47,
"fx_rate": null,
"fx_rate_date": null,
"status": "posted",
"type": "debit",
"parent_category": "Food",
"category": "Groceries",
"counterparty": null,
"account_id": "8442",
"account_name": "Chase Joint Checking",
"institution": "Chase",
"hidden_from_budgets": false,
"tags": [],
"paid_from_fund": null
},
{
"id": "1611783",
"split_of": null,
"split_slot": null,
"split_note": null,
"date": "2025-12-01",
"posted_date": "2025-12-01",
"authorized_date": null,
"description": "WHOLE FOODS MARKET",
"merchant": "Whole Foods Market",
"amount": -200.97,
"currency": "USD",
"amount_home": -200.97,
"fx_rate": null,
"fx_rate_date": null,
"status": "posted",
"type": "debit",
"parent_category": "Food",
"category": "Groceries",
"counterparty": null,
"account_id": "8442",
"account_name": "Chase Joint Checking",
"institution": "Chase",
"hidden_from_budgets": false,
"tags": [],
"paid_from_fund": null
},
{
"id": "1611784",
"split_of": null,
"split_slot": null,
"split_note": null,
"date": "2025-12-01",
"posted_date": "2025-12-01",
"authorized_date": null,
"description": "WORK & CLASS",
"merchant": "Work & Class",
"amount": -109.82,
"currency": "USD",
"amount_home": -109.82,
"fx_rate": null,
"fx_rate_date": null,
"status": "posted",
"type": "debit",
"parent_category": "Food",
"category": "Dining Out",
"counterparty": null,
"account_id": "8442",
"account_name": "Chase Joint Checking",
"institution": "Chase",
"hidden_from_budgets": false,
"tags": [],
"paid_from_fund": null
}
],
"next_cursor": "WyJ0cmFuc2FjdGlvbnMiLCIyMDI1LTEyLTAxIiwxNjExNzg0LDBd",
"home_currency": "USD",
"as_of": "2026-11-11",
"zone": "UTC"
}

The second page sends that cursor back. It starts at 1611785, the next transaction of December 1, and carries its own next_cursor:

Terminal window
curl "$TAIGA_API/api/v1/transactions?from=2025-12-01&to=2025-12-31&limit=3&cursor=WyJ0cmFuc2FjdGlvbnMiLCIyMDI1LTEyLTAxIiwxNjExNzg0LDBd" \
-H "Authorization: Bearer $TAIGA_TOKEN"

The cursor is opaque: it names the walk it belongs to and where the walk stopped. A cursor from a different walk, such as a /balances cursor sent to /transactions, or an altered one, is 400 bad_cursor. Recipes has a complete loop that follows next_cursor to the end of a year.

/transactions, /balances and /cashflow require from and to, as ISO days such as 2025-12-01. Both ends are inclusive: from=2025-12-01&to=2025-12-31 is the whole of December. Leaving one out is a 422; a to before from, or a year outside 1900 to 9998, is 400 bad_range.

The days are explicit so that no answer depends on a server’s clock. The one place a clock enters is as_of, the owner’s today in the zone they stored, which also sets the default month of /budget.

Every id is a string, such as "8442" for an account or "1611782" for a transaction. Treat them as opaque strings. The account_id parameter takes an id from /accounts, and a value that isn’t one is 400 bad_account_id.

A split transaction reads as its legs, one row each. A leg’s id is its parent’s id, -s and its slot number. A Home Depot purchase of -147.97 split into -100.00 and -47.97 reads as two rows, 1611777-s1 and 1611777-s2. Each carries:

  • split_of: the parent’s id, here "1611777".
  • split_slot: the leg’s number, 1 to n.
  • split_note: the leg’s own note, or null.

On a transaction that isn’t split, all three are null, as in the page above.

A write always names the parent: a leg’s id on any write path is 400 split_leg_id. Send its split_of instead.

amount is in the row’s own currency: money out is negative, money in is positive. Amounts are JSON numbers, not strings.

amount_home is the same figure in the envelope’s home_currency. fx_rate is the rate it was converted at, and fx_rate_date the day that rate was published. On a row already in the home currency, amount_home equals amount and both fx_rate fields are null. A Canadian dollar account in a US dollar household, one payment out and one deposit in:

Terminal window
curl "$TAIGA_API/api/v1/transactions?from=2026-10-01&to=2026-10-02&account_id=8173&limit=2" \
-H "Authorization: Bearer $TAIGA_TOKEN"
{
"data": [
{
"id": "1559639",
"split_of": null,
"split_slot": null,
"split_note": null,
"date": "2026-10-01",
"posted_date": "2026-10-01",
"authorized_date": null,
"description": "TD MORTGAGE PMT",
"merchant": "Td Mortgage Pmt",
"amount": -2203.82,
"currency": "CAD",
"amount_home": -1553.83,
"fx_rate": 0.705060540205,
"fx_rate_date": "2026-09-30",
"status": "posted",
"type": "debit",
"parent_category": "Housing",
"category": "Mortgage",
"counterparty": null,
"account_id": "8173",
"account_name": "TD Every Day Chequing",
"institution": "TD Canada Trust",
"hidden_from_budgets": false,
"tags": [],
"paid_from_fund": null
},
{
"id": "1559641",
"split_of": null,
"split_slot": null,
"split_note": null,
"date": "2026-10-02",
"posted_date": "2026-10-02",
"authorized_date": null,
"description": "OTTAWA CONTRACT CONSULTING",
"merchant": "Ottawa Contract Consulting",
"amount": 3000.0,
"currency": "CAD",
"amount_home": 2115.18,
"fx_rate": 0.705060540205,
"fx_rate_date": "2026-09-30",
"status": "posted",
"type": "credit",
"parent_category": "Income",
"category": "Income",
"counterparty": null,
"account_id": "8173",
"account_name": "TD Every Day Chequing",
"institution": "TD Canada Trust",
"hidden_from_budgets": false,
"tags": [],
"paid_from_fund": null
}
],
"next_cursor": null,
"home_currency": "USD",
"as_of": "2026-11-11",
"zone": "UTC"
}

When a currency has no reference rate, amount_home, fx_rate and fx_rate_date are all null, and that row is in no total. In the same household’s /accounts, the UAE dirham balance has no home figure while the euro one does. Two of its 13 rows, unaltered:

{
"data": [
{
"id": "8181",
"name": "Wise AED balance",
"institution": "Wise",
"type": "checking",
"currency": "AED",
"balance": 5400.0,
"balance_date": "2026-11-07",
"amount_home": null,
"fx_rate": null,
"fx_rate_date": null,
"visibility": "full",
"is_joint": false,
"archived": false,
"hidden": false
},
{
"id": "8180",
"name": "Wise EUR balance",
"institution": "Wise",
"type": "checking",
"currency": "EUR",
"balance": 2350.0,
"balance_date": "2026-11-07",
"amount_home": 2623.78,
"fx_rate": 1.1165,
"fx_rate_date": "2026-11-06",
"visibility": "full",
"is_joint": false,
"archived": false,
"hidden": false
}
],
"next_cursor": null,
"home_currency": "USD",
"as_of": "2026-11-11",
"zone": "UTC"
}

A row carries its category as two fields: parent_category, such as "Food", and category, the sub-category alone, such as "Groceries". Written as one string, the pair is Parent::Sub, as in Food::Groceries. The export recipe in Recipes joins the two that way. Some rows hold the same name in both, such as Transportation.

A write takes the joined form, Parent::Sub, and only a pair that GET /categories lists. A bare name such as Groceries is 400 bad_category; a well-formed pair that isn’t in the list is 400 unknown_category. A precondition is written in the read’s shape, so expected.category is the sub-category alone. A rule’s category is Parent::Sub both when you write it and when GET /rules reads it back.