Equity Option API
getEquityOptions
The getEquityOptions API provides intraday or end-of-day options data such as strike price, closing price, expiration date, volume and volatility, etc.
View All APIsunderlying_symbolsrequired
A valid equity symbol. A maximum of 5 tickers per request.
AAPL
typeoptional
The type of option desired, Call or Put.
Call
strikePriceoptional
The strike price of the option.
37.5
expirationMonthoptional
The numeric representation of the expiration month.
05
expirationDateoptional
The numeric date for of the expiration day.
2023-11-07
optionTypeoptional
Type of option to be returned. Possible Values: Monthly, Weekly. By default both are returned.
Monthly
fieldsoptional
Additional fields requested.
bid,bidSize,ask,askSize
onlyStrikesoptional
To return only the strike prices.
1
legacySymbolsoptional
Whether to return our new symbology (AAPL|20200417|250.00C) or legacy symbology (AAPL200417C00250000). Only applies to customers starting before April 13, 2020, newer customers should request the legacySymbol field.
always returned
A sequence of characters. (example: GOOG)
always returned
A sequence of characters. (example: GOOG)
as requested
A sequence of characters. (example: GOOG)
always returned
A sequence of characters. (example: GOOG)
always returned
A sequence of characters. (example: GOOG)
always returned
A numeric type defining a number with fractional parts. (example: 2.14)
always returned
A date in the format of YYYY-MM-DD.
always returned
A sequence of characters. (example: GOOG)
always returned
A date in the format of YYYY-MM-DD.
as requested
A numeric type defining a number with fractional parts. (example: 2.14)
as requested
A numeric type defining a number with fractional parts. (example: 2.14)
as requested
A numeric type defining a number with fractional parts. (example: 2.14)
as requested
A numeric type defining a number with fractional parts. (example: 2.14)
as requested
A numeric type defining a number with fractional parts. (example: 2.14)
as requested
A numeric type defining a number with fractional parts. (example: 2.14)
as requested
A numeric type defining a number with fractional parts. (example: 2.14)
as requested
A numeric type defining a whole number. (example: 2)
as requested
A date in the format of YYYY-MM-DD.
as requested
A numeric type defining a number with fractional parts. (example: 2.14)
as requested
A numeric type defining a whole number. (example: 2)
as requested
A date in the format of YYYY-MM-DD.
always returned
A numeric type defining a number with fractional parts. (example: 2.14)
always returned
A numeric type defining a number with fractional parts. (example: 2.14)
always returned
A numeric type defining a number with fractional parts. (example: 2.14)
always returned
A numeric type defining a number with fractional parts. (example: 2.14)
always returned
A numeric type defining a number with fractional parts. (example: 2.14)
always returned
A numeric type defining a number with fractional parts. (example: 2.14)
always returned
A numeric type defining a number with fractional parts. (example: 2.14)
as requested
A numeric type defining a number with fractional parts. (example: 2.14)
as requested
A sequence of characters. (example: GOOG)
as requested
A numeric type defining a number with fractional parts. (example: 2.14)
as requested
A date in the format of YYYY-MM-DD.
as requested
A numeric type defining a whole number. (example: 2)
as requested
A numeric type defining a whole number. (example: 2)
as requested
A date and time in the format of YYYY-MM-DD HH:MI:SS<TIMEZONE_OFFSET>.
GET
GET https://ondemand.websol.barchart.com/getEquityOptions.json?apikey=YOUR_API_KEY&underlying_symbols=AAPL&type=Call&expirationMonth=05&optionType=Monthly&fields=bid%2CbidSize%2Cask%2CaskSize&onlyStrikes=1&legacySymbols=0
Host: ondemand.websol.barchart.com
POST
POST https://ondemand.websol.barchart.com/getEquityOptions.json
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length
apikey=YOUR_API_KEY&underlying_symbols=AAPL&type=Call&expirationMonth=05&optionType=Monthly&fields=bid%2CbidSize%2Cask%2CaskSize&onlyStrikes=1&legacySymbols=0
Response
{
"status": {
"code": 200,
"message": "Success."
},
"results": [
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|155.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 155,
"expirationDate": "2023-05-19",
"bid": 9.85,
"bidSize": 16,
"ask": 9.9,
"askSize": 1
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|150.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 150,
"expirationDate": "2023-05-19",
"bid": 12.75,
"bidSize": 81,
"ask": 12.95,
"askSize": 26
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|160.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 160,
"expirationDate": "2023-05-19",
"bid": 7.3,
"bidSize": 314,
"ask": 7.4,
"askSize": 31
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|145.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 145,
"expirationDate": "2023-05-19",
"bid": 16.1,
"bidSize": 13,
"ask": 16.3,
"askSize": 98
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|165.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 165,
"expirationDate": "2023-05-19",
"bid": 5.2,
"bidSize": 108,
"ask": 5.35,
"askSize": 199
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|140.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 140,
"expirationDate": "2023-05-19",
"bid": 19.75,
"bidSize": 22,
"ask": 19.95,
"askSize": 42
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|170.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 170,
"expirationDate": "2023-05-19",
"bid": 3.6,
"bidSize": 63,
"ask": 3.7,
"askSize": 272
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|135.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 135,
"expirationDate": "2023-05-19",
"bid": 23.7,
"bidSize": 7,
"ask": 23.95,
"askSize": 432
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|175.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 175,
"expirationDate": "2023-05-19",
"bid": 2.38,
"bidSize": 50,
"ask": 2.46,
"askSize": 68
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|130.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 130,
"expirationDate": "2023-05-19",
"bid": 27.9,
"bidSize": 9,
"ask": 28.15,
"askSize": 311
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|180.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 180,
"expirationDate": "2023-05-19",
"bid": 1.57,
"bidSize": 30,
"ask": 1.62,
"askSize": 166
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|125.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 125,
"expirationDate": "2023-05-19",
"bid": 32.3,
"bidSize": 6,
"ask": 32.55,
"askSize": 46
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|185.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 185,
"expirationDate": "2023-05-19",
"bid": 1.01,
"bidSize": 16,
"ask": 1.05,
"askSize": 157
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|120.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 120,
"expirationDate": "2023-05-19",
"bid": 36.8,
"bidSize": 11,
"ask": 37.1,
"askSize": 6
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|190.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 190,
"expirationDate": "2023-05-19",
"bid": 0.65,
"bidSize": 143,
"ask": 0.69,
"askSize": 59
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|115.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 115,
"expirationDate": "2023-05-19",
"bid": 41.45,
"bidSize": 6,
"ask": 41.75,
"askSize": 6
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|195.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 195,
"expirationDate": "2023-05-19",
"bid": 0.43,
"bidSize": 203,
"ask": 0.46,
"askSize": 127
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|110.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 110,
"expirationDate": "2023-05-19",
"bid": 46.2,
"bidSize": 6,
"ask": 46.5,
"askSize": 6
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|200.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 200,
"expirationDate": "2023-05-19",
"bid": 0.29,
"bidSize": 76,
"ask": 0.32,
"askSize": 53
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|105.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 105,
"expirationDate": "2023-05-19",
"bid": 51,
"bidSize": 6,
"ask": 51.3,
"askSize": 6
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|205.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 205,
"expirationDate": "2023-05-19",
"bid": 0.2,
"bidSize": 140,
"ask": 0.23,
"askSize": 66
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|100.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 100,
"expirationDate": "2023-05-19",
"bid": 55.8,
"bidSize": 6,
"ask": 56.1,
"askSize": 6
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|210.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 210,
"expirationDate": "2023-05-19",
"bid": 0.15,
"bidSize": 30,
"ask": 0.17,
"askSize": 36
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|95.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 95,
"expirationDate": "2023-05-19",
"bid": 60.65,
"bidSize": 6,
"ask": 61,
"askSize": 6
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|215.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 215,
"expirationDate": "2023-05-19",
"bid": 0.11,
"bidSize": 114,
"ask": 0.14,
"askSize": 61
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|90.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 90,
"expirationDate": "2023-05-19",
"bid": 65.5,
"bidSize": 6,
"ask": 65.9,
"askSize": 6
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|220.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 220,
"expirationDate": "2023-05-19",
"bid": 0.08,
"bidSize": 195,
"ask": 0.11,
"askSize": 124
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|85.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 85,
"expirationDate": "2023-05-19",
"bid": 70.45,
"bidSize": 6,
"ask": 70.75,
"askSize": 6
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|225.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 225,
"expirationDate": "2023-05-19",
"bid": 0.08,
"bidSize": 1,
"ask": 0.09,
"askSize": 41
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|80.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 80,
"expirationDate": "2023-05-19",
"bid": 75.35,
"bidSize": 6,
"ask": 75.65,
"askSize": 6
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|230.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 230,
"expirationDate": "2023-05-19",
"bid": 0.05,
"bidSize": 175,
"ask": 0.09,
"askSize": 540
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|75.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 75,
"expirationDate": "2023-05-19",
"bid": 80.25,
"bidSize": 6,
"ask": 80.6,
"askSize": 6
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|235.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 235,
"expirationDate": "2023-05-19",
"bid": 0.04,
"bidSize": 177,
"ask": 0.09,
"askSize": 801
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|70.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 70,
"expirationDate": "2023-05-19",
"bid": 85.15,
"bidSize": 6,
"ask": 85.5,
"askSize": 6
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|240.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 240,
"expirationDate": "2023-05-19",
"bid": 0.03,
"bidSize": 170,
"ask": 0.08,
"askSize": 786
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|65.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 65,
"expirationDate": "2023-05-19",
"bid": 90.1,
"bidSize": 6,
"ask": 90.4,
"askSize": 6
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|245.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 245,
"expirationDate": "2023-05-19",
"bid": 0.02,
"bidSize": 417,
"ask": 0.08,
"askSize": 948
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|60.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 60,
"expirationDate": "2023-05-19",
"bid": 95.05,
"bidSize": 6,
"ask": 95.35,
"askSize": 6
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|250.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 250,
"expirationDate": "2023-05-19",
"bid": 0.02,
"bidSize": 417,
"ask": 0.06,
"askSize": 250
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|255.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 255,
"expirationDate": "2023-05-19",
"bid": 0.02,
"bidSize": 330,
"ask": 0.07,
"askSize": 1041
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|260.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 260,
"expirationDate": "2023-05-19",
"bid": 0.02,
"bidSize": 94,
"ask": 0.07,
"askSize": 1058
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|270.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 270,
"expirationDate": "2023-05-19",
"bid": 0.01,
"bidSize": 418,
"ask": 0.06,
"askSize": 1058
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|280.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 280,
"expirationDate": "2023-05-19",
"bid": 0.01,
"bidSize": 62,
"ask": 0.03,
"askSize": 1
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|290.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 290,
"expirationDate": "2023-05-19",
"bid": 0.01,
"bidSize": 93,
"ask": 0.03,
"askSize": 20
},
{
"underlying_symbol": "AAPL",
"symbol": "AAPL|20230519|300.00C",
"exchange": "NASDAQ",
"type": "Call",
"strike": 300,
"expirationDate": "2023-05-19",
"bid": 0.01,
"bidSize": 88,
"ask": 0.02,
"askSize": 100
}
]
}
GET
GET https://ondemand.websol.barchart.com/getEquityOptions.xml?apikey=YOUR_API_KEY&underlying_symbols=AAPL&type=Call&expirationMonth=05&optionType=Monthly&fields=bid%2CbidSize%2Cask%2CaskSize&onlyStrikes=1&legacySymbols=0
Host: ondemand.websol.barchart.com
POST
POST https://ondemand.websol.barchart.com/getEquityOptions.xml
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length
apikey=YOUR_API_KEY&underlying_symbols=AAPL&type=Call&expirationMonth=05&optionType=Monthly&fields=bid%2CbidSize%2Cask%2CaskSize&onlyStrikes=1&legacySymbols=0
Response
<?xml version="1.0" encoding="utf-8"?>
<getEquityOptions>
<status>
<code>200</code>
<message>Success.</message>
</status>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|155.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>155</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>9.85</bid>
<bidSize>16</bidSize>
<ask>9.9</ask>
<askSize>1</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|150.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>150</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>12.75</bid>
<bidSize>81</bidSize>
<ask>12.95</ask>
<askSize>26</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|160.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>160</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>7.3</bid>
<bidSize>314</bidSize>
<ask>7.4</ask>
<askSize>31</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|145.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>145</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>16.1</bid>
<bidSize>13</bidSize>
<ask>16.3</ask>
<askSize>98</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|165.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>165</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>5.2</bid>
<bidSize>108</bidSize>
<ask>5.35</ask>
<askSize>199</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|140.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>140</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>19.75</bid>
<bidSize>22</bidSize>
<ask>19.95</ask>
<askSize>42</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|170.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>170</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>3.6</bid>
<bidSize>63</bidSize>
<ask>3.7</ask>
<askSize>272</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|135.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>135</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>23.7</bid>
<bidSize>7</bidSize>
<ask>23.95</ask>
<askSize>432</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|175.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>175</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>2.38</bid>
<bidSize>50</bidSize>
<ask>2.46</ask>
<askSize>68</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|130.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>130</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>27.9</bid>
<bidSize>9</bidSize>
<ask>28.15</ask>
<askSize>311</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|180.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>180</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>1.57</bid>
<bidSize>30</bidSize>
<ask>1.62</ask>
<askSize>166</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|125.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>125</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>32.3</bid>
<bidSize>6</bidSize>
<ask>32.55</ask>
<askSize>46</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|185.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>185</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>1.01</bid>
<bidSize>16</bidSize>
<ask>1.05</ask>
<askSize>157</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|120.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>120</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>36.8</bid>
<bidSize>11</bidSize>
<ask>37.1</ask>
<askSize>6</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|190.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>190</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>0.65</bid>
<bidSize>143</bidSize>
<ask>0.69</ask>
<askSize>59</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|115.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>115</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>41.45</bid>
<bidSize>6</bidSize>
<ask>41.75</ask>
<askSize>6</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|195.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>195</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>0.43</bid>
<bidSize>203</bidSize>
<ask>0.46</ask>
<askSize>127</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|110.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>110</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>46.2</bid>
<bidSize>6</bidSize>
<ask>46.5</ask>
<askSize>6</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|200.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>200</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>0.29</bid>
<bidSize>76</bidSize>
<ask>0.32</ask>
<askSize>53</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|105.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>105</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>51</bid>
<bidSize>6</bidSize>
<ask>51.3</ask>
<askSize>6</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|205.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>205</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>0.2</bid>
<bidSize>140</bidSize>
<ask>0.23</ask>
<askSize>66</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|100.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>100</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>55.8</bid>
<bidSize>6</bidSize>
<ask>56.1</ask>
<askSize>6</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|210.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>210</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>0.15</bid>
<bidSize>30</bidSize>
<ask>0.17</ask>
<askSize>36</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|95.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>95</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>60.65</bid>
<bidSize>6</bidSize>
<ask>61</ask>
<askSize>6</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|215.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>215</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>0.11</bid>
<bidSize>114</bidSize>
<ask>0.14</ask>
<askSize>61</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|90.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>90</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>65.5</bid>
<bidSize>6</bidSize>
<ask>65.9</ask>
<askSize>6</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|220.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>220</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>0.08</bid>
<bidSize>195</bidSize>
<ask>0.11</ask>
<askSize>124</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|85.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>85</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>70.45</bid>
<bidSize>6</bidSize>
<ask>70.75</ask>
<askSize>6</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|225.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>225</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>0.08</bid>
<bidSize>1</bidSize>
<ask>0.09</ask>
<askSize>41</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|80.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>80</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>75.35</bid>
<bidSize>6</bidSize>
<ask>75.65</ask>
<askSize>6</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|230.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>230</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>0.05</bid>
<bidSize>175</bidSize>
<ask>0.09</ask>
<askSize>540</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|75.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>75</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>80.25</bid>
<bidSize>6</bidSize>
<ask>80.6</ask>
<askSize>6</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|235.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>235</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>0.04</bid>
<bidSize>177</bidSize>
<ask>0.09</ask>
<askSize>801</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|70.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>70</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>85.15</bid>
<bidSize>6</bidSize>
<ask>85.5</ask>
<askSize>6</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|240.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>240</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>0.03</bid>
<bidSize>170</bidSize>
<ask>0.08</ask>
<askSize>786</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|65.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>65</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>90.1</bid>
<bidSize>6</bidSize>
<ask>90.4</ask>
<askSize>6</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|245.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>245</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>0.02</bid>
<bidSize>417</bidSize>
<ask>0.08</ask>
<askSize>948</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|60.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>60</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>95.05</bid>
<bidSize>6</bidSize>
<ask>95.35</ask>
<askSize>6</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|250.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>250</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>0.02</bid>
<bidSize>417</bidSize>
<ask>0.06</ask>
<askSize>250</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|255.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>255</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>0.02</bid>
<bidSize>330</bidSize>
<ask>0.07</ask>
<askSize>1041</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|260.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>260</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>0.02</bid>
<bidSize>94</bidSize>
<ask>0.07</ask>
<askSize>1058</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|270.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>270</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>0.01</bid>
<bidSize>418</bidSize>
<ask>0.06</ask>
<askSize>1058</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|280.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>280</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>0.01</bid>
<bidSize>62</bidSize>
<ask>0.03</ask>
<askSize>1</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|290.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>290</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>0.01</bid>
<bidSize>93</bidSize>
<ask>0.03</ask>
<askSize>20</askSize>
</item>
<item>
<underlying_symbol>AAPL</underlying_symbol>
<symbol>AAPL|20230519|300.00C</symbol>
<exchange>NASDAQ</exchange>
<type>Call</type>
<strike>300</strike>
<expirationDate>2023-05-19</expirationDate>
<bid>0.01</bid>
<bidSize>88</bidSize>
<ask>0.02</ask>
<askSize>100</askSize>
</item>
</getEquityOptions>
GET
GET https://ondemand.websol.barchart.com/getEquityOptions.csv?apikey=YOUR_API_KEY&underlying_symbols=AAPL&type=Call&expirationMonth=05&optionType=Monthly&fields=bid%2CbidSize%2Cask%2CaskSize&onlyStrikes=1&legacySymbols=0
Host: ondemand.websol.barchart.com
POST
POST https://ondemand.websol.barchart.com/getEquityOptions.csv
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length
apikey=YOUR_API_KEY&underlying_symbols=AAPL&type=Call&expirationMonth=05&optionType=Monthly&fields=bid%2CbidSize%2Cask%2CaskSize&onlyStrikes=1&legacySymbols=0
Response
underlying_symbol,symbol,exchange,type,strike,expirationDate,bid,bidSize,ask,askSize
"AAPL","AAPL|20230519|155.00C","NASDAQ","Call","155","2023-05-19","9.85","16","9.9","1"
"AAPL","AAPL|20230519|150.00C","NASDAQ","Call","150","2023-05-19","12.75","81","12.95","26"
"AAPL","AAPL|20230519|160.00C","NASDAQ","Call","160","2023-05-19","7.3","314","7.4","31"
"AAPL","AAPL|20230519|145.00C","NASDAQ","Call","145","2023-05-19","16.1","13","16.3","98"
"AAPL","AAPL|20230519|165.00C","NASDAQ","Call","165","2023-05-19","5.2","108","5.35","199"
"AAPL","AAPL|20230519|140.00C","NASDAQ","Call","140","2023-05-19","19.75","22","19.95","42"
"AAPL","AAPL|20230519|170.00C","NASDAQ","Call","170","2023-05-19","3.6","63","3.7","272"
"AAPL","AAPL|20230519|135.00C","NASDAQ","Call","135","2023-05-19","23.7","7","23.95","432"
"AAPL","AAPL|20230519|175.00C","NASDAQ","Call","175","2023-05-19","2.38","50","2.46","68"
"AAPL","AAPL|20230519|130.00C","NASDAQ","Call","130","2023-05-19","27.9","9","28.15","311"
"AAPL","AAPL|20230519|180.00C","NASDAQ","Call","180","2023-05-19","1.57","30","1.62","166"
"AAPL","AAPL|20230519|125.00C","NASDAQ","Call","125","2023-05-19","32.3","6","32.55","46"
"AAPL","AAPL|20230519|185.00C","NASDAQ","Call","185","2023-05-19","1.01","16","1.05","157"
"AAPL","AAPL|20230519|120.00C","NASDAQ","Call","120","2023-05-19","36.8","11","37.1","6"
"AAPL","AAPL|20230519|190.00C","NASDAQ","Call","190","2023-05-19","0.65","143","0.69","59"
"AAPL","AAPL|20230519|115.00C","NASDAQ","Call","115","2023-05-19","41.45","6","41.75","6"
"AAPL","AAPL|20230519|195.00C","NASDAQ","Call","195","2023-05-19","0.43","203","0.46","127"
"AAPL","AAPL|20230519|110.00C","NASDAQ","Call","110","2023-05-19","46.2","6","46.5","6"
"AAPL","AAPL|20230519|200.00C","NASDAQ","Call","200","2023-05-19","0.29","76","0.32","53"
"AAPL","AAPL|20230519|105.00C","NASDAQ","Call","105","2023-05-19","51","6","51.3","6"
"AAPL","AAPL|20230519|205.00C","NASDAQ","Call","205","2023-05-19","0.2","140","0.23","66"
"AAPL","AAPL|20230519|100.00C","NASDAQ","Call","100","2023-05-19","55.8","6","56.1","6"
"AAPL","AAPL|20230519|210.00C","NASDAQ","Call","210","2023-05-19","0.15","30","0.17","36"
"AAPL","AAPL|20230519|95.00C","NASDAQ","Call","95","2023-05-19","60.65","6","61","6"
"AAPL","AAPL|20230519|215.00C","NASDAQ","Call","215","2023-05-19","0.11","114","0.14","61"
"AAPL","AAPL|20230519|90.00C","NASDAQ","Call","90","2023-05-19","65.5","6","65.9","6"
"AAPL","AAPL|20230519|220.00C","NASDAQ","Call","220","2023-05-19","0.08","195","0.11","124"
"AAPL","AAPL|20230519|85.00C","NASDAQ","Call","85","2023-05-19","70.45","6","70.75","6"
"AAPL","AAPL|20230519|225.00C","NASDAQ","Call","225","2023-05-19","0.08","1","0.09","41"
"AAPL","AAPL|20230519|80.00C","NASDAQ","Call","80","2023-05-19","75.35","6","75.65","6"
"AAPL","AAPL|20230519|230.00C","NASDAQ","Call","230","2023-05-19","0.05","175","0.09","540"
"AAPL","AAPL|20230519|75.00C","NASDAQ","Call","75","2023-05-19","80.25","6","80.6","6"
"AAPL","AAPL|20230519|235.00C","NASDAQ","Call","235","2023-05-19","0.04","177","0.09","801"
"AAPL","AAPL|20230519|70.00C","NASDAQ","Call","70","2023-05-19","85.15","6","85.5","6"
"AAPL","AAPL|20230519|240.00C","NASDAQ","Call","240","2023-05-19","0.03","170","0.08","786"
"AAPL","AAPL|20230519|65.00C","NASDAQ","Call","65","2023-05-19","90.1","6","90.4","6"
"AAPL","AAPL|20230519|245.00C","NASDAQ","Call","245","2023-05-19","0.02","417","0.08","948"
"AAPL","AAPL|20230519|60.00C","NASDAQ","Call","60","2023-05-19","95.05","6","95.35","6"
"AAPL","AAPL|20230519|250.00C","NASDAQ","Call","250","2023-05-19","0.02","417","0.06","250"
"AAPL","AAPL|20230519|255.00C","NASDAQ","Call","255","2023-05-19","0.02","330","0.07","1041"
"AAPL","AAPL|20230519|260.00C","NASDAQ","Call","260","2023-05-19","0.02","94","0.07","1058"
"AAPL","AAPL|20230519|270.00C","NASDAQ","Call","270","2023-05-19","0.01","418","0.06","1058"
"AAPL","AAPL|20230519|280.00C","NASDAQ","Call","280","2023-05-19","0.01","62","0.03","1"
"AAPL","AAPL|20230519|290.00C","NASDAQ","Call","290","2023-05-19","0.01","93","0.03","20"
"AAPL","AAPL|20230519|300.00C","NASDAQ","Call","300","2023-05-19","0.01","88","0.02","100"
<?php
$ondemand = new SoapClient('https://ondemand.websol.barchart.com/service?wsdl');
$params = [
'apikey' => 'YOUR_API_KEY',
'underlying_symbols' => 'AAPL',
'type' => 'Call',
'expirationMonth' => '05',
'optionType' => 'Monthly',
'fields' => 'bid,bidSize,ask,askSize',
'onlyStrikes' => '1',
'legacySymbols' => '0',
];
$result = $ondemand->getEquityOptions($params);
var_dump($result);
Dim ondemand
Dim result
Set ondemand = Server.CreateObject("MSSOAP.SoapClient30")
ondemand.ClientProperty("ServerHTTPRequest") = True
ondemand.MSSoapInit("https://ondemand.websol.barchart.com/service?wsdl")
Set result = ondemand.getEquityOptions("YOUR_API_KEY", "AAPL", "Call", "05", "Monthly", "bid,bidSize,ask,askSize", "1", "0")
use SOAP::Lite;
use SOAP::WSDL;
my $ondemand = SOAP::Lite
-> service('https://ondemand.websol.barchart.com/service?wsdl');
my $result = $ondemand->getEquityOptions('YOUR_API_KEY', 'AAPL', 'Call', '05', 'Monthly', 'bid,bidSize,ask,askSize', '1', '0');
print $result;
from suds.client import Client
ondemand = Client('https://ondemand.websol.barchart.com/service?wsdl')
result = ondemand.service.getEquityOptions('YOUR_API_KEY', 'AAPL', 'Call', '05', 'Monthly', 'bid,bidSize,ask,askSize', '1', '0')
print(result)
require 'savon'
ondemand = Savon.client(wsdl: 'https://ondemand.websol.barchart.com/service?wsdl')
response = ondemand.call(
:getEquityOptions,
message: {
apikey: 'YOUR_API_KEY',
underlying_symbols: 'AAPL',
type: 'Call',
expirationMonth: '05',
optionType: 'Monthly',
fields: 'bid,bidSize,ask,askSize',
onlyStrikes: '1',
legacySymbols: '0',
}
)
response.body