List user accounts
Changed onDeprecated. Use the list all user accounts endpoint instead, which returns all account types in a single response, including investment, deposit, line of credit, and annuity accounts.
Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user.
This endpoint returns Daily data regardless of the customer's plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user's connections in a single call. Exact refresh timing may vary by brokerage. To get real-time data on Pay as you Go / Real-time, use the list accounts for a connection endpoint. Customers on Pay as you Go / Daily can force a refresh with the manual refresh endpoint.
Request
- Base URLhttps://api.snaptrade.com
- URLhttps://api.snaptrade.com/accounts
- AuthAPI key in header Signature and API key in query parameter clientId and API key in query parameter timestamp
Query parameters
SnapTrade User ID. This is chosen by the API partner and can be any string that is a) unique to the user, and b) immutable for the user. It is recommended to NOT use email addresses for this property because they are usually not immutable.
SnapTrade User Secret. This is a randomly generated string and should be stored securely. If compromised, please rotate it via the rotate user secret endpoint.
Response
OK
Example response
[
{
"id": "917c8734-8470-4a3e-a18f-57c3f2ee6631",
"brokerage_authorization": "87b24961-b51e-4db8-9226-f198f6518a89",
"name": "Robinhood Individual",
"number": "Q6542138443",
"institution_account_id": "54953432",
"institution_name": "Robinhood",
"created_date": "2024-07-23T22:50:22.761390Z",
"funding_date": "2024-07-25T12:00:00.000000Z",
"opening_date": "2024-07-20T09:30:00.000000Z",
"sync_status": {
"transactions": {
"initial_sync_completed": true,
"last_successful_sync": "2022-01-24",
"first_transaction_date": "2022-01-24"
},
"holdings": {
"initial_sync_completed": true,
"last_successful_sync": "2024-06-28 18:42:46.561408+00:00",
"holdings_unavailable": true
}
},
"balance": {
"total": {
"amount": 15363.23,
"currency": "USD"
}
},
"status": "open",
"raw_type": "Margin",
"account_category": "INVESTMENT",
"meta": {
"type": "Margin",
"status": "ACTIVE",
"institution_name": "Robinhood"
},
"portfolio_group": "2bcd7cc3-e922-4976-bce1-9858296801c3",
"cash_restrictions": []
}
]Changes
- warning
added the new
ANNUITYenum value to the/response property for the response status
- warning
- breaking
the
/response's property type changed fromobjectto no type for status - breaking
the
//response's property type changed fromobjectto no type for status
- breaking