Investments (holdings and investment transactions) and Liabilities (credit cards, student loans, mortgages).
Functions
get-holdings
fn (access-token: Str): Map
fn (access-token: Str, options: Map?): Map
fn (access-token: Str, options: Map?, opts: Map): Map
POST /investments/holdings/get: positions per account plus the
referenced securities. Options: account_ids. Returns {accounts, holdings, securities, item}.
Example
access-token ::hot::ctx/get("plaid.access-token")
out ::plaid::investments/get-holdings(access-token)
map(out.holdings, %.quantity)
get-investment-transactions
fn (access-token: Str, start-date: Str, end-date: Str): Map
fn (access-token: Str, start-date: Str, end-date: Str, options: Map?): Map
fn (access-token: Str, start-date: Str, end-date: Str, options: Map?, opts: Map): Map
POST /investments/transactions/get: buys, sells, dividends, fees and
transfers between two YYYY-MM-DD dates, offset-paginated. Options:
account_ids, count (max 500), offset, async_update. Returns
{investment_transactions, total_investment_transactions, securities, accounts}.
Example
access-token ::hot::ctx/get("plaid.access-token")
out ::plaid::investments/get-investment-transactions(access-token, "2026-01-01", "2026-03-31", {count: 100})
out.total_investment_transactions
get-liabilities
fn (access-token: Str): Map
fn (access-token: Str, options: Map?): Map
fn (access-token: Str, options: Map?, opts: Map): Map
POST /liabilities/get: credit card, student loan and mortgage details
(APRs, minimum payments, due dates). Options: account_ids. Returns
{accounts, liabilities: {credit, student, mortgage}, item}.
Example
access-token ::hot::ctx/get("plaid.access-token")
out ::plaid::investments/get-liabilities(access-token)
out.liabilities.credit