Skip to main content
The Investments product lets developers connect to a customer’s investment (brokerage) account and retrieve the current holdings and trade history. Use it for wealth-management, portfolio tracking, and financial-advice use cases.
API Reference
  • Search investment holdings: GET /bank-linking/investment-holdings
  • Search investment transactions: GET /bank-linking/investment-transactions

Overview

Investments refers to an investment account (also known as a brokerage account) where one has various stocks and other securities such as mutual funds, CDs, bonds, and ETFs. The investment product lets you connect an investment account and get back all relevant information about the account. There are two types of investment data: investment holdings and investment transactions. See Retrieving Connection Data for an example on fetching the data.

Investment Holdings

Investment Holdings refers to the current holdings of an investment account — what securities are currently in the account, along with other relevant information such as the number of shares, the cost basis, and the current value of the holding. This is similar to the Balances product but is a breakdown, since it includes all the securities in an account.

Sample response for a single holding

{
    "id": "WQ57LwnwzUo5WMM5Fi7nn2",
    "accountId": "W9kbkRme9VT2iz6qRT3212",
    "customerId": "WQ43wxs1bjUhohY8ekjeje",
    "financialAccountId": "WQ44KLVNHt9ARfp7aRWCC4",
    "symbol": "RKLB",
    "description": "Rocket Lab USA",
    "quantity": 2.00000000000000000000,
    "currentValue": 11.12000000000000000000,
    "costBasis": 11.11000000000000000000,
    "currency": "USD",
    "isin": "US7731221062",
    "cusip": "773122106",
    "type": "stock",
    "serviceProviderDetails": [
        // data
    ]
}

Investment Transactions

Investment Transactions are the trade history of an account. For example, if the account owner purchased 10 shares of Google in a single trade, that would be a transaction. Unlike holdings, which are a snapshot of the present, transactions are the history of the account and give insight into how the current holdings were assembled.

Sample response for a single transaction

{
    "id": "WQ57iFJpqR524P82QZrFiW",
    "accountId": "W9kbkRme9VT2iz6qRT3212",
    "customerId": "WQ43wxs1bjUhohY8ekjeje",
    "financialAccountId": "WQ44KLVNHt9ARfp7aRWCC4",
    "amount": 11.11000000000000000000,
    "currency": "USD",
    "description": "Rocket Lab USA Limit Buy",
    "transactionDate": "2023-06-16T00:00:00Z",
    "postedDate": "2023-06-16T00:00:00Z",
    "symbol": "RKLB",
    "quantity": 2.00000000000000000000,
    "costBasis": 5.56000000000000000000,
    "type": "buy",
    "status": "POSTED",
    "serviceProviderDetails": [
        // data
    ]
}
Investments support varies by service provider. See the provider-specific mapping pages under Partner Details for what is supported.