logo
Options

Get the options chain for a symbol

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

Returns the option chain for the specified symbol in the specified account.

Execute an API Request

Path
accountIdstring (format: uuid)required

The ID of the account to get the options chain from.

Query
userIdstringrequired

SnapTrade User ID

userSecretstringrequired

SnapTrade User Secret (generated when registering user)

symbolstring (format: uuid)required

Universal symbol ID if symbol

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

Response fields

array of objects

chain of options

object
1
[
2
{
3
"expiryDate": "2022-07-08T04:00:00.000Z",
4
"description": "APPLE INC",
5
"listingExchange": "OPRA",
6
"optionExerciseType": "American",
7
"chainPerRoot": [
8
{
9
"optionRoot": "AAPL",
10
"chainPerStrikePrice": [
11
{
12
"strikePrice": 70,
13
"callSymbolId": 42816081,
14
"putSymbolId": 42816129
15
}
16
],
17
"multiplier": 100
18
}
19
]
20
}
21
]