logo
Trading

Get symbol quotes

get
https://api.snaptrade.com/api/v1/accounts/{accountId}/quotes

Returns live quote(s) from the brokerage for the specified symbol(s).

Execute an API Request

Path
accountIdstring (format: uuid)required

The ID of the account to get quotes.

Query
userIdstringrequired

SnapTrade User ID

userSecretstringrequired

SnapTrade User Secret (generated when registering user)

symbolsstringrequired

List of universal_symbol_id or tickers to get quotes for.

use_tickerboolean

Should be set to True if providing tickers.

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

Response fields

array of objects

Symbols and Tickers Quotes object

object
1
[
2
{
3
"symbol": {
4
"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",
5
"symbol": "VAB.TO",
6
"raw_symbol": "VAB",
7
"description": "VANGUARD CDN AGGREGATE BOND INDEX ETF",
8
"currency": {
9
"id": "87b24961-b51e-4db8-9226-f198f6518a89",
10
"code": "USD",
11
"name": "US Dollar"
12
},
13
"exchange": {
14
"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",
15
"code": "TSX",
16
"mic_code": "XTSE",
17
"name": "Toronto Stock Exchange",
18
"timezone": "America/New_York",
19
"start_time": "09:30:00",
20
"close_time": "16:00:00",
21
"suffix": ".TO"
22
},
23
"type": {
24
"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",
25
"code": "cs",
26
"description": "Common Stock",
27
"is_supported": true
28
},
29
"currencies": [
30
{
31
"id": "87b24961-b51e-4db8-9226-f198f6518a89",
32
"code": "USD",
33
"name": "US Dollar"
34
}
35
],
36
"figi_code": "BBG000B9XRY4",
37
"figi_instrument": {
38
"figi_code": "BBG000B9Y5X2",
39
"figi_share_class": "BBG001S5N8V8"
40
}
41
},
42
"bid_price": 8.43,
43
"ask_price": 8.43,
44
"last_trade_price": 8.74,
45
"bid_size": 260,
46
"ask_size": 344
47
}
48
]