Developer API
Categories, tags and rules lists
The three lists a script reads before it writes: the categories, tags and rules a write refers to by name.
A write names a category, a tag or a rule, and these three endpoints list the ones that exist. A read-only token can call them. Each answer uses the envelope the other reads use.
GET /categories
Section titled “GET /categories”Every category, as the Parent::Sub string a write sends, with parent and sub beside it. A transaction row shows the same pair split into parent_category and category. Any token reads this list.
curl "$TAIGA_API/api/v1/categories" \ -H "Authorization: Bearer $TAIGA_TOKEN"Three of the 55 rows in the response:
{ "data": [ { "category": "Children::Children", "parent": "Children", "sub": "Children" }, { "category": "Children::Child Care", "parent": "Children", "sub": "Child Care" }, { "category": "Education::Education", "parent": "Education", "sub": "Education" } ], "next_cursor": null, "home_currency": "USD", "as_of": "2026-11-11", "zone": "UTC"}| Field | Type | Description |
|---|---|---|
category |
string |
Parent::Sub — what a write takes. |
parent |
string |
The parent category, as /transactions reads it in parent_category. |
sub |
string |
The sub-category, as /transactions reads it in category. |
| Status | Code | Description |
|---|---|---|
| 401 | invalid_token |
No bearer, or not a live personal token. |
| 403 | notice_required |
Review a notice in the app first. |
| 405 | read_only |
The path only reads. |
| 405 | method_not_allowed |
The path does not serve this method; Allow names those it does. |
| 429 | rate_limited |
Too many requests, or too many failed tokens from your network. |
| 429 | too_many_in_flight |
Too many requests at once. |
GET /tags
Section titled “GET /tags”The household’s tags. Any token reads this list. In the capture the household had no tags yet:
curl "$TAIGA_API/api/v1/tags" \ -H "Authorization: Bearer $TAIGA_TOKEN"{ "data": [], "next_cursor": null, "home_currency": "USD", "as_of": "2026-11-11", "zone": "UTC"}| Field | Type | Description |
|---|---|---|
id |
string |
The tag’s id. |
name |
string |
The tag’s name, what a tag write takes. |
| Status | Code | Description |
|---|---|---|
| 401 | invalid_token |
No bearer, or not a live personal token. |
| 403 | notice_required |
Review a notice in the app first. |
| 405 | read_only |
The path only reads. |
| 405 | method_not_allowed |
The path does not serve this method; Allow names those it does. |
| 429 | rate_limited |
Too many requests, or too many failed tokens from your network. |
| 429 | too_many_in_flight |
Too many requests at once. |
GET /rules
Section titled “GET /rules”The household’s rules in precedence order, a partner’s included. yours is true on a rule the token’s owner made; writable is true only on a rule this token wrote. A rule’s category and split recipe legs are Parent::Sub. Any token reads this list; the rules page covers writing one.
curl "$TAIGA_API/api/v1/rules" \ -H "Authorization: Bearer $TAIGA_TOKEN"Three of the 9 rules in the response, all made in the app:
{ "data": [ { "id": "5541", "pattern": "WHOLE FOODS", "match_type": "contains", "category": "Food::Groceries", "merchant": "Whole Foods Market", "split_recipe": null, "account_id": null, "account_name": null, "account_scoped": false, "account_hidden": false, "amount_min": null, "amount_max": null, "currency": "USD", "app_only_actions": [], "category_valid": true, "yours": true, "writable": false }, { "id": "5542", "pattern": "TRADER JOE", "match_type": "contains", "category": "Food::Groceries", "merchant": "Trader Joe's", "split_recipe": null, "account_id": null, "account_name": null, "account_scoped": false, "account_hidden": false, "amount_min": null, "amount_max": null, "currency": "USD", "app_only_actions": [], "category_valid": true, "yours": true, "writable": false }, { "id": "5543", "pattern": "KING SOOPERS GAS", "match_type": "contains", "category": "Transportation::Gas", "merchant": "King Soopers Fuel", "split_recipe": null, "account_id": null, "account_name": null, "account_scoped": false, "account_hidden": false, "amount_min": null, "amount_max": null, "currency": "USD", "app_only_actions": [], "category_valid": true, "yours": true, "writable": false } ], "next_cursor": null, "home_currency": "USD", "as_of": "2026-11-12", "zone": "UTC"}| Field | Type | Description |
|---|---|---|
account_hidden |
boolean |
Whether the rule’s account is one you cannot see, so account_id is null. |
account_id |
string or null |
The id of the one account the rule acts on; null when it acts on every account, or when its account is hidden from you or gone (see account_scoped). |
account_name |
string or null |
That account’s name; null when you cannot see it. |
account_scoped |
boolean |
Whether the rule acts on one account only. |
amount_max |
number or null |
The largest amount the rule acts on, compared without sign; null for no bound. |
amount_min |
number or null |
The smallest amount the rule acts on, compared without sign; null for no bound. |
app_only_actions |
string[] |
What else the rule does that only the app sets: tag, paid_from_fund, attribution; empty when nothing. |
category |
string or null |
The category the rule sets, Parent::Sub; null when none. |
category_valid |
boolean |
False when the rule’s category is no longer one of your household’s; such a rule acts on nothing. |
currency |
string or null |
The currency any amount_min or amount_max is in: the account’s on a rule that acts on one account, else your home currency; null when the rule’s account is gone (it acts on nothing) or hidden from you. |
id |
string |
The rule’s id. |
match_type |
string |
contains or exact. |
merchant |
string or null |
The merchant name the rule sets; null when none. |
pattern |
string |
The text the rule matches. |
split_recipe |
object or null |
The split the rule applies; null when none. |
split_recipe.legs |
object[] |
The legs, in slot order. |
split_recipe.legs[].category |
string |
The leg’s category, Parent::Sub. |
split_recipe.legs[].kind |
string |
fixed, percent or remainder. |
split_recipe.legs[].value |
number or null |
A fixed leg’s amount or a percent leg’s share (0 to 1); null on a remainder leg. |
writable |
boolean |
Whether this token wrote the rule last, so it may change or delete it. |
yours |
boolean |
Whether you wrote the rule. |
| Status | Code | Description |
|---|---|---|
| 401 | invalid_token |
No bearer, or not a live personal token. |
| 403 | notice_required |
Review a notice in the app first. |
| 405 | read_only |
The path only reads. |
| 405 | method_not_allowed |
The path does not serve this method; Allow names those it does. |
| 429 | rate_limited |
Too many requests, or too many failed tokens from your network. |
| 429 | too_many_in_flight |
Too many requests at once. |