List all accounts linked to a piggy bank.
List all accounts linked to a piggy bank. A piggy bank can be linked to multiple accounts.
Parameters
X-Trace-Idstring<uuid>headerUnique identifier associated with this request.
limitinteger<int32>queryNumber of items per page. The default pagination is per 50 items.
pageinteger<int32>queryPage number. The default pagination is per 50 items.
idstringrequiredpathThe ID of the piggy bank.
Response
A list of accounts
Response fields application/vnd.api+json
Show child attributes
typestringrequiredImmutable value
accountsidstringrequired2Show child attributes
created_atstring<date-time>read only2026-10-01T00:00:00+00:00updated_atstring<date-time>read only2026-10-01T00:00:00+00:00activebooleantruefalseorderinteger<int32> | nullOrder of the account. Is NULL if account is not asset or liability.
1namestringrequiredMy checking accounttypeShortAccountTypePropertyassetexpenseimportrevenuecashliabilityliabilitiesinitial-balancereconciliationrequiredCan only be one one these account types. import, initial-balance and reconciliation cannot be set manually.
assetaccount_roleAccountRoleProperty | nulldefaultAssetsharedAssetsavingAssetccAssetcashWalletAssetnullIs only mandatory when the type is asset.
defaultAssetobject_group_idstring | nullThe group ID of the group this object is part of. NULL if no group.
5object_group_orderinteger<int32> | nullread onlyThe order of the group. At least 1, for the highest sorting.
5object_group_titlestring | nullThe name of the group. NULL if no group.
Example Groupobject_has_currency_settingbooleanread onlyIndicates whether the account has a currency setting. If false, the account uses the administration's primary currency. Asset accounts and liability accounts always have a currency setting, while expense and revenue accounts do not.
truecurrency_idstringThe currency ID of the currency associated with this object.
5currency_namestringThe currency name of the currency associated with this object.
Eurocurrency_codestringThe currency code of the currency associated with this object.
EURcurrency_symbolstringread only$currency_decimal_placesinteger<int32>read only2primary_currency_idstringread onlyThe currency ID of the administration's primary currency.
5primary_currency_namestringread onlyThe currency name of the administration's primary currency.
Europrimary_currency_codestringread onlyThe currency code of the administration's primary currency.
EURprimary_currency_symbolstringread onlyThe currency symbol of the administration's primary currency.
$primary_currency_decimal_placesinteger<int32>read onlyThe currency decimal places of the administration's primary currency.
2current_balancestring<amount>read onlyThe current balance of the account in the account's currency. If the account has no currency, this is the balance in the administration's primary currency. Either way, the currency_* fields reflect the currency used.
123.45pc_current_balancestring<amount> | nullread onlyThe current balance of the account in the administration's primary currency. The primary_currency_* fields reflect the currency used. This field is NULL if the user does have 'convert to primary' set to true in their settings.
123.45balance_differencestring<amount>read onlyIf you submit a start AND end date, this will be the difference between those two moments.
123.45pc_balance_differencestring<amount> | nullread onlyIf you submit a start AND end date, this will be the difference in the currency of the account or the administration's primary currency between those two moments.
123.45opening_balancestring<amount>Represents the opening balance, the initial amount this account holds in the currency of the account or the administration's primary currency if the account has no currency. Either way, the currency_* fields reflect the currency used.
-1012.12pc_opening_balancestring<amount>The opening balance of the account in the administration's primary currency (pc). The primary_currency_* fields reflect the currency used. This field is NULL if the user does have 'convert to primary' set to true in their settings.
-1012.12virtual_balancestring<amount>The virtual balance of the account in the account's currency or the administration's primary currency if the account has no currency.
123.45pc_virtual_balancestring<amount>The virtual balance of the account in the administration's primary currency (pc). The primary_currency_* fields reflect the currency used. This field is NULL if the user does have 'convert to primary' set to true in their settings.
123.45debt_amountstring<amount> | nullIn liability accounts (loans, debts and mortgages), this is the amount of debt in the account's currency (see the currency_* fields). In asset accounts, this is NULL.
1012.12pc_debt_amountstring<amount> | nullIn liability accounts (loans, debts and mortgages), this is the amount of debt in the administration's primary currency (see the currency_* fields. In asset accounts, this is NULL.
1012.12current_balance_datestring<date-time>read onlyThe timestamp for this date is always 23:59:59, to indicate it's the balance at the very END of that particular day.
2026-10-31T23:59:59+00:00notesstring | nullSome example notesmonthly_payment_datestring<date-time> | nullMandatory when the account_role is ccAsset. Moment at which CC payment installments are asked for by the bank.
2026-10-01T00:00:00+00:00credit_card_typeCreditCardTypeProperty | nullmonthlyFullnullMandatory when the account_role is ccAsset. Can only be monthlyFull or null.
monthlyFullaccount_numberstring | null7009312345678ibanstring<iban> | nullGB98MIDL07009312345678bicstring | nullBOFAUS3Nopening_balance_datestring<date-time> | nullRepresents the date of the opening balance.
2026-10-01T00:00:00+00:00liability_typeLiabilityTypeProperty | nullloandebtmortgagenullMandatory when type is liability. Specifies the exact type.
loanliability_directionLiabilityDirectionProperty | nullcreditdebitnull'credit' indicates somebody owes you the liability. 'debit' Indicates you owe this debt yourself. Works only for liabilities.
creditintereststring | nullMandatory when type is liability. Interest percentage.
5.3interest_periodInterestPeriodProperty | nulldailyweeklymonthlyquarterlyhalf-yearyearlynullMandatory when type is liability. Period over which the interest is calculated.
monthlyinclude_net_worthbooleantruetruelongitudenumber<double> | nullLatitude of the accounts's location, if applicable. Can be used to draw a map.
5.916667latitudenumber<double> | nullLatitude of the accounts's location, if applicable. Can be used to draw a map.
51.983333zoom_levelinteger<int32> | nullZoom level for the map, if drawn. This to set the box right. Unfortunately this is a proprietary value because each map provider has different zoom levels.
6last_activitystring<date-time> | nullLast activity of the account.
2026-10-01T00:00:00+00:00Show child attributes
paginationobjectShow child attributes
totalinteger3countinteger20per_pageinteger100current_pageinteger1total_pagesinteger1Bad request
Response fields application/json
messagestringBad RequestexceptionstringBadRequestHttpExceptionUnauthenticated
Response fields application/json
messagestringUnauthenticatedexceptionstringAuthenticationExceptionPage not found
Response fields application/json
messagestringResource not foundexceptionstringNotFoundHttpExceptionInternal exception
Response fields application/json
messagestringInternal ExceptionexceptionstringInternalExceptionAuthorization
firefly_iii_authoauth2OAuth2 authorization code flow. Create a client on your installation's /profile page; it authorizes at /oauth/authorize and issues tokens at /oauth/token there. The URLs below are the demo site's. How to use the API walks through it.
local_bearer_authhttp (bearer)A Personal Access Token, sent as a bearer token. Create one on your installation under Options > Profile > OAuth > Personal Access Tokens.
