Connections

List all connections

get
https://api.snaptrade.com/api/v1/authorizations

Returns a list of all connections for the specified user. Note that Connection and Brokerage Authorization are interchangeable, but the term Connection is preferred and used in the doc for consistency.

A connection is usually tied to a single login at a brokerage. A single connection can contain multiple brokerage accounts.

SnapTrade performs de-duping on connections for a given user. If the user has an existing connection with the brokerage, when connecting the brokerage with the same credentials, SnapTrade will return the existing connection instead of creating a new one.

Execute an API Request

Query
userIdstringrequired

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.

userSecretstringrequired

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.

Authorization
Request
Installation
$
npm install snaptrade-typescript-sdk
1
Loading...

Response fields

array of objects

A list of all connections for the specified user.

object

A single connection with a brokerage. Note that Connection and Brokerage Authorization are interchangeable, but the term Connection is preferred and used in the doc for consistency.

A connection is usually tied to a single login at a brokerage. A single connection can contain multiple brokerage accounts.

SnapTrade performs de-duping on connections for a given user. If the user has an existing connection with the brokerage, when connecting the brokerage with the same credentials, SnapTrade will return the existing connection instead of creating a new one.

1
[
2
{
3
"id": "87b24961-b51e-4db8-9226-f198f6518a89",
4
"created_date": "2024-08-20T21:56:19.123Z",
5
"brokerage": {
6
"id": "ebf91a5b-0920-4266-9e36-f6cfe8c40946",
7
"slug": "ROBINHOOD",
8
"name": "Robinhood",
9
"display_name": "Robinhood",
10
"description": "Robinhood is an American multinational financial services corporation based in Menlo Park, California.",
11
"aws_s3_logo_url": "https://passiv-brokerage-logos.s3.ca-central-1.amazonaws.com/robinhood-logo.png",
12
"aws_s3_square_logo_url": "https://passiv-brokerage-logos.s3.ca-central-1.amazonaws.com/robinhood-logo-square.png",
13
"url": "https://robinhood.com",
14
"enabled": true,
15
"maintenance_mode": true,
16
"allows_trading": true,
17
"allows_fractional_units": true,
18
"has_reporting": true,
19
"is_real_time_connection": true,
20
"brokerage_type": {
21
"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",
22
"name": "Traditional Brokerage"
23
},
24
"exchanges": [
25
"2bcd7cc3-e922-4976-bce1-9858296801c3",
26
"4bcd8cc3-c122-4974-dc21-1858296801f4"
27
],
28
"open_url": "string"
29
},
30
"name": "Connection-1",
31
"type": "trade",
32
"disabled": false,
33
"disabled_date": "2022-01-21T20:11:19.217Z",
34
"meta": {
35
"identifier": 123456
36
},
37
"updated_date": "2024-08-20T21:56:20.057Z"
38
}
39
]