List portfolio accounts
Returns one continuation-paginated Chart of Accounts page using the requested metadata sort and account number as the deterministic cursor identity and tie-breaker. Asset sorting uses the visible asset symbol or currency symbol when the account has no asset. Set includeBalances=true to replay the requested account-number keyset against current state with draft-inclusive balances. Metadata-only and enriched requests are independent current-state reads, so account changes can alter rows or pagination between requests. Omit it for the faster metadata-only response.
Request
- Base URL: https://api.tokenbooks.io (the document declares no server; this is the origin it was published from)
- URL: https://api.tokenbooks.io/v1/portfolios/{portfolioSlug}/accounts
- Auth: API key in header x-api-key
Path parameters
Workspace-scoped portfolio slug
Query parameters
Requested number of resources to return. Oversized values are clamped to the route limit.
Opaque token returned by the previous list response.
Metadata sort with an optional - prefix for descending order. Asset sorting uses the visible asset symbol or currency symbol when the account has no asset.
Case-insensitive account number or name search.
Account numbers to include.
Top-level account types to include.
Exact persisted origin values.
Persisted account subtypes to include.
Normal-balance entry types to include.
Current wallet identities to include as repeated or CSV chainId:address values.
Select only accounts without a current wallet when wallets is omitted, or include them alongside selected wallets.
Public account asset identifiers to include.
Public account currency identifiers to include.
Whether to include only active or only archived accounts.
Payment-label presence state to include.
Whether to include parent or leaf accounts.
Whether returned logical page rows include current balances.
Response
Continuation-paginated account metadata, optionally enriched with current balances.
Changes
No recorded changes to this operation across all 1 revision of this API.