getEquityOptions API

The getEquityOptions API provides EOD options data such as strike, expiration date, volatility, etc.

All APIs

Contact Us to Get Access


Inputs

underlying_symbols required

A valid equity symbol.

Type
list (A comma or semi-colon delimited string.) 
Example
AAPL 

type optional

The type of option desired, Call or Put.

Type
string (A sequence of characters. (example: GOOG)) 
Example
Call 

strikePrice optional

The strike price of the option.

Type
double (A numeric type defining a number with fractional parts. (example: 2.14)) 
Example
37.5 

expirationMonth optional

The numeric representation of the expiration month.

Type
string (A sequence of characters. (example: GOOG)) 
Example
05 

expirationDate optional

The numeric date for of the expiration day.

Type
string (A sequence of characters. (example: GOOG)) 
Example
2018-11-07 

optionType optional

Type of option to be returned. Possible Values: Monthly, Weekly. By default both are returned.

Type
string (A sequence of characters. (example: GOOG)) 
Example
Monthly 

fields optional

Additional fields requested.

Type
list (A comma or semi-colon delimited string.) 
Example
bid,bidSize,ask,askSize 

onlyStrikes optional

To return only the strike prices.

Type
boolean (A logical type representing the truth of a value as 'true' or 'false'.) 
Example

Outputs

Name / Requirement
Description
Type
underlying_symbol
always returned
The actual equity symbol.
string
A sequence of characters. (example: GOOG)
symbol
always returned
A symbol or code that identifies the equity contract.
string
A sequence of characters. (example: GOOG)
exchange
always returned
The name of the exchange the instrument belongs to.
string
A sequence of characters. (example: GOOG)
type
always returned
Either Call or Put.
string
A sequence of characters. (example: GOOG)
strike
always returned
The option's strike price.
double
A numeric type defining a number with fractional parts. (example: 2.14)
expirationDate
always returned
The expiration date.
date
A date in the format of YYYY-MM-DD.
expirationType
always returned
The expiration type.
string
A sequence of characters. (example: GOOG)
date
always returned
The price date.
date
A date in the format of YYYY-MM-DD.
volatility
as requested
The estimated volatility of a security's price.
double
A numeric type defining a number with fractional parts. (example: 2.14)
delta
as requested
The option's delta value.
double
A numeric type defining a number with fractional parts. (example: 2.14)
gamma
as requested
The option's gamma value.
double
A numeric type defining a number with fractional parts. (example: 2.14)
theta
as requested
The option's theta value.
double
A numeric type defining a number with fractional parts. (example: 2.14)
vega
as requested
The option's vega value.
double
A numeric type defining a number with fractional parts. (example: 2.14)
rho
as requested
The option's rho value.
double
A numeric type defining a number with fractional parts. (example: 2.14)
bid
as requested
The current bid price.
double
A numeric type defining a number with fractional parts. (example: 2.14)
bidSize
as requested
The size (quantity) of the current bid price.
int
A numeric type defining a whole number. (example: 2)
bidDate
as requested
The date of the current bid price.
date
A date in the format of YYYY-MM-DD.
ask
as requested
The current ask price.
double
A numeric type defining a number with fractional parts. (example: 2.14)
askSize
as requested
The size (quantity) of the current ask price.
int
A numeric type defining a whole number. (example: 2)
askDate
as requested
The date of the current ask price.
date
A date in the format of YYYY-MM-DD.
open
always returned
The opening (first) price for the session.
double
A numeric type defining a number with fractional parts. (example: 2.14)
high
always returned
The highest traded price for the session.
double
A numeric type defining a number with fractional parts. (example: 2.14)
low
always returned
The lowest traded price for the session.
double
A numeric type defining a number with fractional parts. (example: 2.14)
last
always returned
The last price the instrument traded.
double
A numeric type defining a number with fractional parts. (example: 2.14)
previous
always returned
The last price the instrument traded.
double
A numeric type defining a number with fractional parts. (example: 2.14)
change
always returned
The difference between the last traded price and the previous close.
double
A numeric type defining a number with fractional parts. (example: 2.14)
percentChange
always returned
The percent difference between the last traded price and the previous close.
double
A numeric type defining a number with fractional parts. (example: 2.14)
premium
as requested
The option's premium
double
A numeric type defining a number with fractional parts. (example: 2.14)
flag
as requested
The option's settled flag)
string
A sequence of characters. (example: GOOG)
settlement
as requested
The option's settlement price
double
A numeric type defining a number with fractional parts. (example: 2.14)
lastTradeDate
as requested
The last trading date for the option
date
A date in the format of YYYY-MM-DD.
volume
as requested
The trading volume for the option
integer
A numeric type defining a whole number. (example: 2)
openInterest
as requested
The open interest for the option
integer
A numeric type defining a whole number. (example: 2)
lastUpdateDate
as requested
The timestamp for the last traded option price.
dateTime
A date and time in the format of YYYY-MM-DD HH:MI:SS<TIMEZONE_OFFSET>.

Status Code Responses

200
OK
Success
400
Bad Request
The request was invalid, please see the message for more information.
500
Internal Server Error
Something is not working correctly, please contact support.


JSON

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
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

Response

{
    "status": {
        "code": 200,
        "message": "Success."
    },
    "results": [
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00002500",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 2.5,
            "expirationDate": "2018-05-18",
            "bid": 185,
            "bidSize": 60,
            "ask": 185.3,
            "askSize": 20
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00005000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 5,
            "expirationDate": "2018-05-18",
            "bid": 182.45,
            "bidSize": 60,
            "ask": 182.75,
            "askSize": 20
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00007500",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 7.5,
            "expirationDate": "2018-05-18",
            "bid": 179.8,
            "bidSize": 22,
            "ask": 180.6,
            "askSize": 7
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00010000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 10,
            "expirationDate": "2018-05-18",
            "bid": 177.35,
            "bidSize": 60,
            "ask": 178.05,
            "askSize": 6
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00012500",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 12.5,
            "expirationDate": "2018-05-18",
            "bid": 174.8,
            "bidSize": 79,
            "ask": 175.5,
            "askSize": 3
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00015000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 15,
            "expirationDate": "2018-05-18",
            "bid": 172.2,
            "bidSize": 60,
            "ask": 173.1,
            "askSize": 8
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00017500",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 17.5,
            "expirationDate": "2018-05-18",
            "bid": 169.8,
            "bidSize": 60,
            "ask": 170.6,
            "askSize": 8
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00020000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 20,
            "expirationDate": "2018-05-18",
            "bid": 167.25,
            "bidSize": 60,
            "ask": 168.05,
            "askSize": 5
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00022500",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 22.5,
            "expirationDate": "2018-05-18",
            "bid": 164.75,
            "bidSize": 60,
            "ask": 165.55,
            "askSize": 62
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00025000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 25,
            "expirationDate": "2018-05-18",
            "bid": 162.25,
            "bidSize": 60,
            "ask": 163.1,
            "askSize": 13
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00030000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 30,
            "expirationDate": "2018-05-18",
            "bid": 157.25,
            "bidSize": 60,
            "ask": 158.1,
            "askSize": 31
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00035000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 35,
            "expirationDate": "2018-05-18",
            "bid": 152.3,
            "bidSize": 77,
            "ask": 153,
            "askSize": 3
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00040000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 40,
            "expirationDate": "2018-05-18",
            "bid": 147.25,
            "bidSize": 60,
            "ask": 148.1,
            "askSize": 10
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00045000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 45,
            "expirationDate": "2018-05-18",
            "bid": 142.3,
            "bidSize": 60,
            "ask": 143.1,
            "askSize": 11
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00050000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 50,
            "expirationDate": "2018-05-18",
            "bid": 137.3,
            "bidSize": 84,
            "ask": 138,
            "askSize": 3
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00055000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 55,
            "expirationDate": "2018-05-18",
            "bid": 132.35,
            "bidSize": 60,
            "ask": 133.1,
            "askSize": 25
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00060000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 60,
            "expirationDate": "2018-05-18",
            "bid": 127.3,
            "bidSize": 60,
            "ask": 128.1,
            "askSize": 8
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00065000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 65,
            "expirationDate": "2018-05-18",
            "bid": 122.25,
            "bidSize": 60,
            "ask": 123.1,
            "askSize": 8
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00070000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 70,
            "expirationDate": "2018-05-18",
            "bid": 117.2,
            "bidSize": 60,
            "ask": 118.1,
            "askSize": 8
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00075000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 75,
            "expirationDate": "2018-05-18",
            "bid": 112.2,
            "bidSize": 61,
            "ask": 113.1,
            "askSize": 28
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00080000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 80,
            "expirationDate": "2018-05-18",
            "bid": 107.3,
            "bidSize": 60,
            "ask": 108.15,
            "askSize": 5
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00085000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 85,
            "expirationDate": "2018-05-18",
            "bid": 102.25,
            "bidSize": 60,
            "ask": 103.1,
            "askSize": 17
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00090000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 90,
            "expirationDate": "2018-05-18",
            "bid": 97.25,
            "bidSize": 60,
            "ask": 98.05,
            "askSize": 55
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00095000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 95,
            "expirationDate": "2018-05-18",
            "bid": 92.35,
            "bidSize": 60,
            "ask": 93.1,
            "askSize": 5
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00100000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 100,
            "expirationDate": "2018-05-18",
            "bid": 87.4,
            "bidSize": 60,
            "ask": 88,
            "askSize": 5
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00105000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 105,
            "expirationDate": "2018-05-18",
            "bid": 82.4,
            "bidSize": 60,
            "ask": 83.05,
            "askSize": 9
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00110000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 110,
            "expirationDate": "2018-05-18",
            "bid": 77.3,
            "bidSize": 61,
            "ask": 78.1,
            "askSize": 13
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00115000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 115,
            "expirationDate": "2018-05-18",
            "bid": 72.45,
            "bidSize": 62,
            "ask": 72.9,
            "askSize": 62
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00120000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 120,
            "expirationDate": "2018-05-18",
            "bid": 67.5,
            "bidSize": 60,
            "ask": 67.8,
            "askSize": 21
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00125000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 125,
            "expirationDate": "2018-05-18",
            "bid": 62.4,
            "bidSize": 60,
            "ask": 63.05,
            "askSize": 11
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00130000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 130,
            "expirationDate": "2018-05-18",
            "bid": 57.5,
            "bidSize": 103,
            "ask": 57.75,
            "askSize": 70
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00135000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 135,
            "expirationDate": "2018-05-18",
            "bid": 52.4,
            "bidSize": 46,
            "ask": 52.8,
            "askSize": 3
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00140000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 140,
            "expirationDate": "2018-05-18",
            "bid": 47.35,
            "bidSize": 28,
            "ask": 47.9,
            "askSize": 12
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00145000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 145,
            "expirationDate": "2018-05-18",
            "bid": 42.55,
            "bidSize": 60,
            "ask": 42.85,
            "askSize": 18
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00150000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 150,
            "expirationDate": "2018-05-18",
            "bid": 37.55,
            "bidSize": 57,
            "ask": 37.75,
            "askSize": 124
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00152500",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 152.5,
            "expirationDate": "2018-05-18",
            "bid": 34.9,
            "bidSize": 60,
            "ask": 35.45,
            "askSize": 32
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00155000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 155,
            "expirationDate": "2018-05-18",
            "bid": 32.6,
            "bidSize": 39,
            "ask": 32.75,
            "askSize": 308
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00157500",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 157.5,
            "expirationDate": "2018-05-18",
            "bid": 29.95,
            "bidSize": 75,
            "ask": 30.4,
            "askSize": 45
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00160000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 160,
            "expirationDate": "2018-05-18",
            "bid": 27.55,
            "bidSize": 422,
            "ask": 27.75,
            "askSize": 127
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00162500",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 162.5,
            "expirationDate": "2018-05-18",
            "bid": 24.95,
            "bidSize": 38,
            "ask": 25.25,
            "askSize": 21
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00165000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 165,
            "expirationDate": "2018-05-18",
            "bid": 22.55,
            "bidSize": 275,
            "ask": 22.75,
            "askSize": 251
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00167500",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 167.5,
            "expirationDate": "2018-05-18",
            "bid": 20.05,
            "bidSize": 243,
            "ask": 20.25,
            "askSize": 262
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00170000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 170,
            "expirationDate": "2018-05-18",
            "bid": 17.55,
            "bidSize": 564,
            "ask": 17.7,
            "askSize": 1
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00172500",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 172.5,
            "expirationDate": "2018-05-18",
            "bid": 15.05,
            "bidSize": 51,
            "ask": 15.25,
            "askSize": 303
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00175000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 175,
            "expirationDate": "2018-05-18",
            "bid": 12.55,
            "bidSize": 63,
            "ask": 12.75,
            "askSize": 287
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00177500",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 177.5,
            "expirationDate": "2018-05-18",
            "bid": 10.05,
            "bidSize": 315,
            "ask": 10.25,
            "askSize": 93
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00180000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 180,
            "expirationDate": "2018-05-18",
            "bid": 7.55,
            "bidSize": 282,
            "ask": 7.7,
            "askSize": 189
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00182500",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 182.5,
            "expirationDate": "2018-05-18",
            "bid": 5.1,
            "bidSize": 419,
            "ask": 5.2,
            "askSize": 2
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00185000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 185,
            "expirationDate": "2018-05-18",
            "bid": 2.65,
            "bidSize": 44,
            "ask": 2.71,
            "askSize": 41
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00187500",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 187.5,
            "expirationDate": "2018-05-18",
            "bid": 0.44,
            "bidSize": 73,
            "ask": 0.47,
            "askSize": 29
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00190000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 190,
            "expirationDate": "2018-05-18",
            "bid": 0.02,
            "bidSize": 189,
            "ask": 0.03,
            "askSize": 596
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00192500",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 192.5,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 6,
            "ask": 0.01,
            "askSize": 21
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00195000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 195,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 110,
            "ask": 0.01,
            "askSize": 927
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00197500",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 197.5,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 37,
            "ask": 0.01,
            "askSize": 975
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00200000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 200,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 50,
            "ask": 0.01,
            "askSize": 1121
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00202500",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 202.5,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 46,
            "ask": 0.01,
            "askSize": 204
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00205000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 205,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 62,
            "ask": 0.01,
            "askSize": 146
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00207500",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 207.5,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 75,
            "ask": 0.01,
            "askSize": 204
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00210000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 210,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 6,
            "ask": 0.01,
            "askSize": 454
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00212500",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 212.5,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 225,
            "ask": 0.01,
            "askSize": 460
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00215000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 215,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 10,
            "ask": 0.01,
            "askSize": 209
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00220000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 220,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 14,
            "ask": 0.01,
            "askSize": 467
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00225000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 225,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 1,
            "ask": 0.01,
            "askSize": 786
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00230000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 230,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 1,
            "ask": 0.02,
            "askSize": 343
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00235000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 235,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 10,
            "ask": 0.01,
            "askSize": 204
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00240000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 240,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 100,
            "ask": 0.03,
            "askSize": 267
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00245000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 245,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 0,
            "ask": 0.03,
            "askSize": 399
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00250000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 250,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 4,
            "ask": 0.03,
            "askSize": 195
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00255000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 255,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 0,
            "ask": 0.03,
            "askSize": 122
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00260000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 260,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 0,
            "ask": 0.03,
            "askSize": 261
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00265000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 265,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 0,
            "ask": 0.03,
            "askSize": 292
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00270000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 270,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 1,
            "ask": 0.03,
            "askSize": 269
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00275000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 275,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 0,
            "ask": 0.03,
            "askSize": 122
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00280000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 280,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 0,
            "ask": 0.02,
            "askSize": 258
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00285000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 285,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 1,
            "ask": 0.01,
            "askSize": 350
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00290000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 290,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 0,
            "ask": 0.03,
            "askSize": 383
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00295000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 295,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 0,
            "ask": 0.03,
            "askSize": 245
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00300000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 300,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 25,
            "ask": 0.03,
            "askSize": 383
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00305000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 305,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 0,
            "ask": 0.01,
            "askSize": 162
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00310000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 310,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 0,
            "ask": 0.03,
            "askSize": 301
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00315000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 315,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 0,
            "ask": 0.03,
            "askSize": 259
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00320000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 320,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 0,
            "ask": 0.03,
            "askSize": 197
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00325000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 325,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 0,
            "ask": 0.03,
            "askSize": 264
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00330000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 330,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 0,
            "ask": 0.03,
            "askSize": 148
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00335000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 335,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 0,
            "ask": 0.03,
            "askSize": 292
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00340000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 340,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 4,
            "ask": 0.03,
            "askSize": 382
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00345000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 345,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 0,
            "ask": 0.03,
            "askSize": 231
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00350000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 350,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 1,
            "ask": 0.01,
            "askSize": 199
        },
        {
            "underlying_symbol": "AAPL",
            "symbol": "AAPL180518C00355000",
            "exchange": "NASDAQ",
            "type": "Call",
            "strike": 355,
            "expirationDate": "2018-05-18",
            "bid": 0,
            "bidSize": 2,
            "ask": 0.01,
            "askSize": 163
        }
    ]
}

XML

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
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

Response


<?xml version="1.0" encoding="utf-8"?>
 <getEquityOptions>
  <status>
   <code>200</code>
   <message>Success.</message>
  </status>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00002500</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>2.5</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>185</bid>
   <bidSize>60</bidSize>
   <ask>185.3</ask>
   <askSize>20</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00005000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>5</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>182.45</bid>
   <bidSize>60</bidSize>
   <ask>182.75</ask>
   <askSize>20</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00007500</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>7.5</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>179.8</bid>
   <bidSize>22</bidSize>
   <ask>180.6</ask>
   <askSize>7</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00010000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>10</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>177.35</bid>
   <bidSize>60</bidSize>
   <ask>178.05</ask>
   <askSize>6</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00012500</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>12.5</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>174.8</bid>
   <bidSize>79</bidSize>
   <ask>175.5</ask>
   <askSize>3</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00015000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>15</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>172.2</bid>
   <bidSize>60</bidSize>
   <ask>173.1</ask>
   <askSize>8</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00017500</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>17.5</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>169.8</bid>
   <bidSize>60</bidSize>
   <ask>170.6</ask>
   <askSize>8</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00020000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>20</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>167.25</bid>
   <bidSize>60</bidSize>
   <ask>168.05</ask>
   <askSize>5</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00022500</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>22.5</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>164.75</bid>
   <bidSize>60</bidSize>
   <ask>165.55</ask>
   <askSize>62</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00025000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>25</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>162.25</bid>
   <bidSize>60</bidSize>
   <ask>163.1</ask>
   <askSize>13</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00030000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>30</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>157.25</bid>
   <bidSize>60</bidSize>
   <ask>158.1</ask>
   <askSize>31</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00035000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>35</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>152.3</bid>
   <bidSize>77</bidSize>
   <ask>153</ask>
   <askSize>3</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00040000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>40</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>147.25</bid>
   <bidSize>60</bidSize>
   <ask>148.1</ask>
   <askSize>10</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00045000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>45</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>142.3</bid>
   <bidSize>60</bidSize>
   <ask>143.1</ask>
   <askSize>11</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00050000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>50</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>137.3</bid>
   <bidSize>84</bidSize>
   <ask>138</ask>
   <askSize>3</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00055000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>55</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>132.35</bid>
   <bidSize>60</bidSize>
   <ask>133.1</ask>
   <askSize>25</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00060000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>60</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>127.3</bid>
   <bidSize>60</bidSize>
   <ask>128.1</ask>
   <askSize>8</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00065000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>65</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>122.25</bid>
   <bidSize>60</bidSize>
   <ask>123.1</ask>
   <askSize>8</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00070000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>70</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>117.2</bid>
   <bidSize>60</bidSize>
   <ask>118.1</ask>
   <askSize>8</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00075000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>75</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>112.2</bid>
   <bidSize>61</bidSize>
   <ask>113.1</ask>
   <askSize>28</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00080000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>80</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>107.3</bid>
   <bidSize>60</bidSize>
   <ask>108.15</ask>
   <askSize>5</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00085000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>85</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>102.25</bid>
   <bidSize>60</bidSize>
   <ask>103.1</ask>
   <askSize>17</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00090000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>90</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>97.25</bid>
   <bidSize>60</bidSize>
   <ask>98.05</ask>
   <askSize>55</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00095000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>95</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>92.35</bid>
   <bidSize>60</bidSize>
   <ask>93.1</ask>
   <askSize>5</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00100000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>100</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>87.4</bid>
   <bidSize>60</bidSize>
   <ask>88</ask>
   <askSize>5</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00105000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>105</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>82.4</bid>
   <bidSize>60</bidSize>
   <ask>83.05</ask>
   <askSize>9</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00110000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>110</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>77.3</bid>
   <bidSize>61</bidSize>
   <ask>78.1</ask>
   <askSize>13</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00115000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>115</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>72.45</bid>
   <bidSize>62</bidSize>
   <ask>72.9</ask>
   <askSize>62</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00120000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>120</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>67.5</bid>
   <bidSize>60</bidSize>
   <ask>67.8</ask>
   <askSize>21</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00125000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>125</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>62.4</bid>
   <bidSize>60</bidSize>
   <ask>63.05</ask>
   <askSize>11</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00130000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>130</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>57.5</bid>
   <bidSize>103</bidSize>
   <ask>57.75</ask>
   <askSize>70</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00135000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>135</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>52.4</bid>
   <bidSize>46</bidSize>
   <ask>52.8</ask>
   <askSize>3</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00140000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>140</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>47.35</bid>
   <bidSize>28</bidSize>
   <ask>47.9</ask>
   <askSize>12</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00145000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>145</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>42.55</bid>
   <bidSize>60</bidSize>
   <ask>42.85</ask>
   <askSize>18</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00150000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>150</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>37.55</bid>
   <bidSize>57</bidSize>
   <ask>37.75</ask>
   <askSize>124</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00152500</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>152.5</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>34.9</bid>
   <bidSize>60</bidSize>
   <ask>35.45</ask>
   <askSize>32</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00155000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>155</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>32.6</bid>
   <bidSize>39</bidSize>
   <ask>32.75</ask>
   <askSize>308</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00157500</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>157.5</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>29.95</bid>
   <bidSize>75</bidSize>
   <ask>30.4</ask>
   <askSize>45</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00160000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>160</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>27.55</bid>
   <bidSize>422</bidSize>
   <ask>27.75</ask>
   <askSize>127</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00162500</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>162.5</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>24.95</bid>
   <bidSize>38</bidSize>
   <ask>25.25</ask>
   <askSize>21</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00165000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>165</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>22.55</bid>
   <bidSize>275</bidSize>
   <ask>22.75</ask>
   <askSize>251</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00167500</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>167.5</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>20.05</bid>
   <bidSize>243</bidSize>
   <ask>20.25</ask>
   <askSize>262</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00170000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>170</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>17.55</bid>
   <bidSize>564</bidSize>
   <ask>17.7</ask>
   <askSize>1</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00172500</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>172.5</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>15.05</bid>
   <bidSize>51</bidSize>
   <ask>15.25</ask>
   <askSize>303</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00175000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>175</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>12.55</bid>
   <bidSize>63</bidSize>
   <ask>12.75</ask>
   <askSize>287</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00177500</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>177.5</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>10.05</bid>
   <bidSize>315</bidSize>
   <ask>10.25</ask>
   <askSize>93</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00180000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>180</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>7.55</bid>
   <bidSize>282</bidSize>
   <ask>7.7</ask>
   <askSize>189</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00182500</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>182.5</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>5.1</bid>
   <bidSize>419</bidSize>
   <ask>5.2</ask>
   <askSize>2</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00185000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>185</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>2.65</bid>
   <bidSize>44</bidSize>
   <ask>2.71</ask>
   <askSize>41</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00187500</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>187.5</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0.44</bid>
   <bidSize>73</bidSize>
   <ask>0.47</ask>
   <askSize>29</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00190000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>190</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0.02</bid>
   <bidSize>189</bidSize>
   <ask>0.03</ask>
   <askSize>596</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00192500</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>192.5</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>6</bidSize>
   <ask>0.01</ask>
   <askSize>21</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00195000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>195</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>110</bidSize>
   <ask>0.01</ask>
   <askSize>927</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00197500</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>197.5</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>37</bidSize>
   <ask>0.01</ask>
   <askSize>975</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00200000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>200</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>50</bidSize>
   <ask>0.01</ask>
   <askSize>1121</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00202500</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>202.5</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>46</bidSize>
   <ask>0.01</ask>
   <askSize>204</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00205000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>205</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>62</bidSize>
   <ask>0.01</ask>
   <askSize>146</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00207500</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>207.5</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>75</bidSize>
   <ask>0.01</ask>
   <askSize>204</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00210000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>210</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>6</bidSize>
   <ask>0.01</ask>
   <askSize>454</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00212500</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>212.5</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>225</bidSize>
   <ask>0.01</ask>
   <askSize>460</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00215000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>215</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>10</bidSize>
   <ask>0.01</ask>
   <askSize>209</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00220000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>220</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>14</bidSize>
   <ask>0.01</ask>
   <askSize>467</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00225000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>225</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>1</bidSize>
   <ask>0.01</ask>
   <askSize>786</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00230000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>230</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>1</bidSize>
   <ask>0.02</ask>
   <askSize>343</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00235000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>235</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>10</bidSize>
   <ask>0.01</ask>
   <askSize>204</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00240000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>240</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>100</bidSize>
   <ask>0.03</ask>
   <askSize>267</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00245000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>245</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>0</bidSize>
   <ask>0.03</ask>
   <askSize>399</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00250000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>250</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>4</bidSize>
   <ask>0.03</ask>
   <askSize>195</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00255000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>255</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>0</bidSize>
   <ask>0.03</ask>
   <askSize>122</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00260000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>260</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>0</bidSize>
   <ask>0.03</ask>
   <askSize>261</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00265000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>265</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>0</bidSize>
   <ask>0.03</ask>
   <askSize>292</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00270000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>270</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>1</bidSize>
   <ask>0.03</ask>
   <askSize>269</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00275000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>275</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>0</bidSize>
   <ask>0.03</ask>
   <askSize>122</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00280000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>280</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>0</bidSize>
   <ask>0.02</ask>
   <askSize>258</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00285000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>285</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>1</bidSize>
   <ask>0.01</ask>
   <askSize>350</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00290000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>290</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>0</bidSize>
   <ask>0.03</ask>
   <askSize>383</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00295000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>295</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>0</bidSize>
   <ask>0.03</ask>
   <askSize>245</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00300000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>300</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>25</bidSize>
   <ask>0.03</ask>
   <askSize>383</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00305000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>305</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>0</bidSize>
   <ask>0.01</ask>
   <askSize>162</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00310000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>310</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>0</bidSize>
   <ask>0.03</ask>
   <askSize>301</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00315000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>315</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>0</bidSize>
   <ask>0.03</ask>
   <askSize>259</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00320000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>320</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>0</bidSize>
   <ask>0.03</ask>
   <askSize>197</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00325000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>325</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>0</bidSize>
   <ask>0.03</ask>
   <askSize>264</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00330000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>330</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>0</bidSize>
   <ask>0.03</ask>
   <askSize>148</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00335000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>335</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>0</bidSize>
   <ask>0.03</ask>
   <askSize>292</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00340000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>340</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>4</bidSize>
   <ask>0.03</ask>
   <askSize>382</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00345000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>345</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>0</bidSize>
   <ask>0.03</ask>
   <askSize>231</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00350000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>350</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>1</bidSize>
   <ask>0.01</ask>
   <askSize>199</askSize>
  </item>
  <item>
   <underlying_symbol>AAPL</underlying_symbol>
   <symbol>AAPL180518C00355000</symbol>
   <exchange>NASDAQ</exchange>
   <type>Call</type>
   <strike>355</strike>
   <expirationDate>2018-05-18</expirationDate>
   <bid>0</bid>
   <bidSize>2</bidSize>
   <ask>0.01</ask>
   <askSize>163</askSize>
  </item>
 </getEquityOptions>

CSV

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
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

Response

underlying_symbol,symbol,exchange,type,strike,expirationDate,bid,bidSize,ask,askSize
"AAPL","AAPL180518C00002500","NASDAQ","Call","2.5","2018-05-18","185","60","185.3","20"
"AAPL","AAPL180518C00005000","NASDAQ","Call","5","2018-05-18","182.45","60","182.75","20"
"AAPL","AAPL180518C00007500","NASDAQ","Call","7.5","2018-05-18","179.8","22","180.6","7"
"AAPL","AAPL180518C00010000","NASDAQ","Call","10","2018-05-18","177.35","60","178.05","6"
"AAPL","AAPL180518C00012500","NASDAQ","Call","12.5","2018-05-18","174.8","79","175.5","3"
"AAPL","AAPL180518C00015000","NASDAQ","Call","15","2018-05-18","172.2","60","173.1","8"
"AAPL","AAPL180518C00017500","NASDAQ","Call","17.5","2018-05-18","169.8","60","170.6","8"
"AAPL","AAPL180518C00020000","NASDAQ","Call","20","2018-05-18","167.25","60","168.05","5"
"AAPL","AAPL180518C00022500","NASDAQ","Call","22.5","2018-05-18","164.75","60","165.55","62"
"AAPL","AAPL180518C00025000","NASDAQ","Call","25","2018-05-18","162.25","60","163.1","13"
"AAPL","AAPL180518C00030000","NASDAQ","Call","30","2018-05-18","157.25","60","158.1","31"
"AAPL","AAPL180518C00035000","NASDAQ","Call","35","2018-05-18","152.3","77","153","3"
"AAPL","AAPL180518C00040000","NASDAQ","Call","40","2018-05-18","147.25","60","148.1","10"
"AAPL","AAPL180518C00045000","NASDAQ","Call","45","2018-05-18","142.3","60","143.1","11"
"AAPL","AAPL180518C00050000","NASDAQ","Call","50","2018-05-18","137.3","84","138","3"
"AAPL","AAPL180518C00055000","NASDAQ","Call","55","2018-05-18","132.35","60","133.1","25"
"AAPL","AAPL180518C00060000","NASDAQ","Call","60","2018-05-18","127.3","60","128.1","8"
"AAPL","AAPL180518C00065000","NASDAQ","Call","65","2018-05-18","122.25","60","123.1","8"
"AAPL","AAPL180518C00070000","NASDAQ","Call","70","2018-05-18","117.2","60","118.1","8"
"AAPL","AAPL180518C00075000","NASDAQ","Call","75","2018-05-18","112.2","61","113.1","28"
"AAPL","AAPL180518C00080000","NASDAQ","Call","80","2018-05-18","107.3","60","108.15","5"
"AAPL","AAPL180518C00085000","NASDAQ","Call","85","2018-05-18","102.25","60","103.1","17"
"AAPL","AAPL180518C00090000","NASDAQ","Call","90","2018-05-18","97.25","60","98.05","55"
"AAPL","AAPL180518C00095000","NASDAQ","Call","95","2018-05-18","92.35","60","93.1","5"
"AAPL","AAPL180518C00100000","NASDAQ","Call","100","2018-05-18","87.4","60","88","5"
"AAPL","AAPL180518C00105000","NASDAQ","Call","105","2018-05-18","82.4","60","83.05","9"
"AAPL","AAPL180518C00110000","NASDAQ","Call","110","2018-05-18","77.3","61","78.1","13"
"AAPL","AAPL180518C00115000","NASDAQ","Call","115","2018-05-18","72.45","62","72.9","62"
"AAPL","AAPL180518C00120000","NASDAQ","Call","120","2018-05-18","67.5","60","67.8","21"
"AAPL","AAPL180518C00125000","NASDAQ","Call","125","2018-05-18","62.4","60","63.05","11"
"AAPL","AAPL180518C00130000","NASDAQ","Call","130","2018-05-18","57.5","103","57.75","70"
"AAPL","AAPL180518C00135000","NASDAQ","Call","135","2018-05-18","52.4","46","52.8","3"
"AAPL","AAPL180518C00140000","NASDAQ","Call","140","2018-05-18","47.35","28","47.9","12"
"AAPL","AAPL180518C00145000","NASDAQ","Call","145","2018-05-18","42.55","60","42.85","18"
"AAPL","AAPL180518C00150000","NASDAQ","Call","150","2018-05-18","37.55","57","37.75","124"
"AAPL","AAPL180518C00152500","NASDAQ","Call","152.5","2018-05-18","34.9","60","35.45","32"
"AAPL","AAPL180518C00155000","NASDAQ","Call","155","2018-05-18","32.6","39","32.75","308"
"AAPL","AAPL180518C00157500","NASDAQ","Call","157.5","2018-05-18","29.95","75","30.4","45"
"AAPL","AAPL180518C00160000","NASDAQ","Call","160","2018-05-18","27.55","422","27.75","127"
"AAPL","AAPL180518C00162500","NASDAQ","Call","162.5","2018-05-18","24.95","38","25.25","21"
"AAPL","AAPL180518C00165000","NASDAQ","Call","165","2018-05-18","22.55","275","22.75","251"
"AAPL","AAPL180518C00167500","NASDAQ","Call","167.5","2018-05-18","20.05","243","20.25","262"
"AAPL","AAPL180518C00170000","NASDAQ","Call","170","2018-05-18","17.55","564","17.7","1"
"AAPL","AAPL180518C00172500","NASDAQ","Call","172.5","2018-05-18","15.05","51","15.25","303"
"AAPL","AAPL180518C00175000","NASDAQ","Call","175","2018-05-18","12.55","63","12.75","287"
"AAPL","AAPL180518C00177500","NASDAQ","Call","177.5","2018-05-18","10.05","315","10.25","93"
"AAPL","AAPL180518C00180000","NASDAQ","Call","180","2018-05-18","7.55","282","7.7","189"
"AAPL","AAPL180518C00182500","NASDAQ","Call","182.5","2018-05-18","5.1","419","5.2","2"
"AAPL","AAPL180518C00185000","NASDAQ","Call","185","2018-05-18","2.65","44","2.71","41"
"AAPL","AAPL180518C00187500","NASDAQ","Call","187.5","2018-05-18","0.44","73","0.47","29"
"AAPL","AAPL180518C00190000","NASDAQ","Call","190","2018-05-18","0.02","189","0.03","596"
"AAPL","AAPL180518C00192500","NASDAQ","Call","192.5","2018-05-18","0","6","0.01","21"
"AAPL","AAPL180518C00195000","NASDAQ","Call","195","2018-05-18","0","110","0.01","927"
"AAPL","AAPL180518C00197500","NASDAQ","Call","197.5","2018-05-18","0","37","0.01","975"
"AAPL","AAPL180518C00200000","NASDAQ","Call","200","2018-05-18","0","50","0.01","1121"
"AAPL","AAPL180518C00202500","NASDAQ","Call","202.5","2018-05-18","0","46","0.01","204"
"AAPL","AAPL180518C00205000","NASDAQ","Call","205","2018-05-18","0","62","0.01","146"
"AAPL","AAPL180518C00207500","NASDAQ","Call","207.5","2018-05-18","0","75","0.01","204"
"AAPL","AAPL180518C00210000","NASDAQ","Call","210","2018-05-18","0","6","0.01","454"
"AAPL","AAPL180518C00212500","NASDAQ","Call","212.5","2018-05-18","0","225","0.01","460"
"AAPL","AAPL180518C00215000","NASDAQ","Call","215","2018-05-18","0","10","0.01","209"
"AAPL","AAPL180518C00220000","NASDAQ","Call","220","2018-05-18","0","14","0.01","467"
"AAPL","AAPL180518C00225000","NASDAQ","Call","225","2018-05-18","0","1","0.01","786"
"AAPL","AAPL180518C00230000","NASDAQ","Call","230","2018-05-18","0","1","0.02","343"
"AAPL","AAPL180518C00235000","NASDAQ","Call","235","2018-05-18","0","10","0.01","204"
"AAPL","AAPL180518C00240000","NASDAQ","Call","240","2018-05-18","0","100","0.03","267"
"AAPL","AAPL180518C00245000","NASDAQ","Call","245","2018-05-18","0","0","0.03","399"
"AAPL","AAPL180518C00250000","NASDAQ","Call","250","2018-05-18","0","4","0.03","195"
"AAPL","AAPL180518C00255000","NASDAQ","Call","255","2018-05-18","0","0","0.03","122"
"AAPL","AAPL180518C00260000","NASDAQ","Call","260","2018-05-18","0","0","0.03","261"
"AAPL","AAPL180518C00265000","NASDAQ","Call","265","2018-05-18","0","0","0.03","292"
"AAPL","AAPL180518C00270000","NASDAQ","Call","270","2018-05-18","0","1","0.03","269"
"AAPL","AAPL180518C00275000","NASDAQ","Call","275","2018-05-18","0","0","0.03","122"
"AAPL","AAPL180518C00280000","NASDAQ","Call","280","2018-05-18","0","0","0.02","258"
"AAPL","AAPL180518C00285000","NASDAQ","Call","285","2018-05-18","0","1","0.01","350"
"AAPL","AAPL180518C00290000","NASDAQ","Call","290","2018-05-18","0","0","0.03","383"
"AAPL","AAPL180518C00295000","NASDAQ","Call","295","2018-05-18","0","0","0.03","245"
"AAPL","AAPL180518C00300000","NASDAQ","Call","300","2018-05-18","0","25","0.03","383"
"AAPL","AAPL180518C00305000","NASDAQ","Call","305","2018-05-18","0","0","0.01","162"
"AAPL","AAPL180518C00310000","NASDAQ","Call","310","2018-05-18","0","0","0.03","301"
"AAPL","AAPL180518C00315000","NASDAQ","Call","315","2018-05-18","0","0","0.03","259"
"AAPL","AAPL180518C00320000","NASDAQ","Call","320","2018-05-18","0","0","0.03","197"
"AAPL","AAPL180518C00325000","NASDAQ","Call","325","2018-05-18","0","0","0.03","264"
"AAPL","AAPL180518C00330000","NASDAQ","Call","330","2018-05-18","0","0","0.03","148"
"AAPL","AAPL180518C00335000","NASDAQ","Call","335","2018-05-18","0","0","0.03","292"
"AAPL","AAPL180518C00340000","NASDAQ","Call","340","2018-05-18","0","4","0.03","382"
"AAPL","AAPL180518C00345000","NASDAQ","Call","345","2018-05-18","0","0","0.03","231"
"AAPL","AAPL180518C00350000","NASDAQ","Call","350","2018-05-18","0","1","0.01","199"
"AAPL","AAPL180518C00355000","NASDAQ","Call","355","2018-05-18","0","2","0.01","163"


PHP

<?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',
];

$result = $ondemand->getEquityOptions($params);
var_dump($result);

Classic ASP

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")

Perl

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');

print $result;

Python

from suds.client import Client
ondemand = Client('https://ondemand.websol.barchart.com/service?wsdl')

result = client.service.getEquityOptions('YOUR_API_KEY', 'AAPL', 'Call', '05', 'Monthly', 'bid,bidSize,ask,askSize', '1')

print result

Ruby

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',
    }
)

response.body