getSpecialOptions API

The getSpecialOptions API provides delayed ("I") and end-of-day ("D") data for short-dated and weekly futures options.

All APIs

Contact Us to Get Access

Inputs

root optional

A symbol or code that identifies a option root.

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

contract optional

A symbol or code that identifies an options contract.

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

type optional

The type of option desired, Call or Put.

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

premiumRange optional

Optionally filter the results by premium with a price range.

Type
string (A sequence of characters. (example: GOOG)) 
Example
500.50-1000 

mode required

Delayed ("I") or end-of-day ("D").

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

fields optional

Additional fields requested. !NOTE: <b>ALL</b> fields will be returned for contract requests.

Type
list (A comma or semi-colon delimited string.) 
Example
open,high,low,last 

sortDirection optional

Whether to sort the options in ascending or descending order based of the expiration date.

Type
enum (A type which includes a list of valid possible values.) 
Example
ASC 
Default
ASC 

Valid Values:
ASC, DESC

Outputs

Name / Requirement
Description
Type
symbol
always returned
A symbol or code that identifies the futures contract.
string
A sequence of characters. (example: GOOG)
underlying_future
always returned
A symbol or code that identifies the underlying futures contract.
string
A sequence of characters. (example: GOOG)
root
always returned
The root symbol for the future.
string
A sequence of characters. (example: GOOG)
contract
always returned
The symbol for the futures contract.
string
A sequence of characters. (example: GOOG)
contractName
always returned
The name of the futures contract.
string
A sequence of characters. (example: GOOG)
contractMonth
always returned
The month code for this option's 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.
date
always returned
The price date.
date
A date in the format of YYYY-MM-DD.
open
as requested
The opening (first) price for the session.
double
A numeric type defining a number with fractional parts. (example: 2.14)
high
as requested
The highest traded price for the session.
double
A numeric type defining a number with fractional parts. (example: 2.14)
low
as requested
The lowest traded price for the session.
double
A numeric type defining a number with fractional parts. (example: 2.14)
last
as requested
The last price the instrument traded.
double
A numeric type defining a number with fractional parts. (example: 2.14)
change
as requested
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
as requested
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)
volume
as requested
The volume of the option
integer
A numeric type defining a whole number. (example: 2)
openInterest
as requested
The open interest for the option
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)

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/getSpecialOptions.json?apikey=<YOUR API KEY>&root=BCD&type=Call&premiumRange=500.50-1000&mode=D&fields=open%2Chigh%2Clow%2Clast&sortDirection=ASC
Host: ondemand.websol.barchart.com

POST

POST https://ondemand.websol.barchart.com/getSpecialOptions.json
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

apikey=<YOUR API KEY>&root=BCD&type=Call&premiumRange=500.50-1000&mode=D&fields=open%2Chigh%2Clow%2Clast&sortDirection=ASC

Response

{
    "status": {
        "code": 200,
        "message": "Success."
    },
    "results": [
        {
            "symbol": "BCDF8|370C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDF18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "F",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 370,
            "expirationDate": "2017-12-22",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 18
        },
        {
            "symbol": "BCDF8|375C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDF18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "F",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 375,
            "expirationDate": "2017-12-22",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 13.625
        },
        {
            "symbol": "BCDG8|370C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDG18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "G",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 370,
            "expirationDate": "2018-01-26",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 18.875
        },
        {
            "symbol": "BCDG8|375C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDG18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "G",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 375,
            "expirationDate": "2018-01-26",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 14.875
        },
        {
            "symbol": "BCDG8|380C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDG18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "G",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 380,
            "expirationDate": "2018-01-26",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 11.375
        },
        {
            "symbol": "BCDH8|370C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDH18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "H",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 370,
            "expirationDate": "2018-02-23",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 20
        },
        {
            "symbol": "BCDH8|375C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDH18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "H",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 375,
            "expirationDate": "2018-02-23",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 16.375
        },
        {
            "symbol": "BCDH8|380C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDH18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "H",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 380,
            "expirationDate": "2018-02-23",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 13.375
        },
        {
            "symbol": "BCDH8|385C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDH18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "H",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 385,
            "expirationDate": "2018-02-23",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 10.75
        },
        {
            "symbol": "BCDJ8|375C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDJ18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "J",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 375,
            "expirationDate": "2018-03-23",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 17.375
        },
        {
            "symbol": "BCDJ8|380C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDJ18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "J",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 380,
            "expirationDate": "2018-03-23",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 14.375
        },
        {
            "symbol": "BCDJ8|385C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDJ18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "J",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 385,
            "expirationDate": "2018-03-23",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 11.75
        },
        {
            "symbol": "BCDK8|375C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDK18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "K",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 375,
            "expirationDate": "2018-04-20",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 18.75
        },
        {
            "symbol": "BCDK8|380C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDK18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "K",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 380,
            "expirationDate": "2018-04-20",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 16
        },
        {
            "symbol": "BCDK8|385C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDK18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "K",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 385,
            "expirationDate": "2018-04-20",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 13.625
        },
        {
            "symbol": "BCDK8|390C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDK18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "K",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 390,
            "expirationDate": "2018-04-20",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 11.625
        },
        {
            "symbol": "BCDM8|380C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDM18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "M",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 380,
            "expirationDate": "2018-05-25",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 18.125
        },
        {
            "symbol": "BCDM8|385C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDM18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "M",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 385,
            "expirationDate": "2018-05-25",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 15.75
        },
        {
            "symbol": "BCDM8|390C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDM18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "M",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 390,
            "expirationDate": "2018-05-25",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 13.75
        },
        {
            "symbol": "BCDM8|395C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDM18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "M",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 395,
            "expirationDate": "2018-05-25",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 11.875
        },
        {
            "symbol": "BCDM8|400C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDM18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "M",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 400,
            "expirationDate": "2018-05-25",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 10.375
        },
        {
            "symbol": "BCDN8|380C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDN18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "N",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 380,
            "expirationDate": "2018-06-22",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 20
        },
        {
            "symbol": "BCDN8|385C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDN18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "N",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 385,
            "expirationDate": "2018-06-22",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 17.75
        },
        {
            "symbol": "BCDN8|390C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDN18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "N",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 390,
            "expirationDate": "2018-06-22",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 15.625
        },
        {
            "symbol": "BCDN8|395C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDN18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "N",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 395,
            "expirationDate": "2018-06-22",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 13.75
        },
        {
            "symbol": "BCDN8|400C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDN18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "N",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 400,
            "expirationDate": "2018-06-22",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 12.125
        },
        {
            "symbol": "BCDN8|405C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDN18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "N",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 405,
            "expirationDate": "2018-06-22",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 10.75
        },
        {
            "symbol": "BCDQ8|390C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDQ18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "Q",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 390,
            "expirationDate": "2018-07-27",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 19.25
        },
        {
            "symbol": "BCDQ8|395C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDQ18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "Q",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 395,
            "expirationDate": "2018-07-27",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 17.375
        },
        {
            "symbol": "BCDQ8|400C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDQ18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "Q",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 400,
            "expirationDate": "2018-07-27",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 15.875
        },
        {
            "symbol": "BCDQ8|405C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDQ18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "Q",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 405,
            "expirationDate": "2018-07-27",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 14.375
        },
        {
            "symbol": "BCDQ8|410C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDQ18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "Q",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 410,
            "expirationDate": "2018-07-27",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 13
        },
        {
            "symbol": "BCDQ8|415C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDQ18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "Q",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 415,
            "expirationDate": "2018-07-27",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 11.625
        },
        {
            "symbol": "BCDQ8|420C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDQ18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "Q",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 420,
            "expirationDate": "2018-07-27",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 10.5
        },
        {
            "symbol": "BCDU8|395C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDU18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "U",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 395,
            "expirationDate": "2018-08-24",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 19
        },
        {
            "symbol": "BCDU8|400C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDU18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "U",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 400,
            "expirationDate": "2018-08-24",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 17.625
        },
        {
            "symbol": "BCDU8|405C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDU18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "U",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 405,
            "expirationDate": "2018-08-24",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 16.125
        },
        {
            "symbol": "BCDU8|410C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDU18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "U",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 410,
            "expirationDate": "2018-08-24",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 14.625
        },
        {
            "symbol": "BCDU8|415C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDU18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "U",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 415,
            "expirationDate": "2018-08-24",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 13.25
        },
        {
            "symbol": "BCDU8|420C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDU18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "U",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 420,
            "expirationDate": "2018-08-24",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 12
        },
        {
            "symbol": "BCDU8|425C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDU18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "U",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 425,
            "expirationDate": "2018-08-24",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 11
        },
        {
            "symbol": "BCDU8|430C",
            "underlying_future": "ZCZ18",
            "root": "BCD",
            "contract": "BCDU18",
            "contractName": "Corn Short Dated New Crop Options",
            "contractMonth": "U",
            "exchange": "CBOT",
            "type": "Call",
            "strike": 430,
            "expirationDate": "2018-08-24",
            "date": "2017-11-19",
            "open": 0,
            "high": 0,
            "low": 0,
            "last": 10.125
        }
    ]
}

XML

GET

GET https://ondemand.websol.barchart.com/getSpecialOptions.xml?apikey=<YOUR API KEY>&root=BCD&type=Call&premiumRange=500.50-1000&mode=D&fields=open%2Chigh%2Clow%2Clast&sortDirection=ASC
Host: ondemand.websol.barchart.com

POST

POST https://ondemand.websol.barchart.com/getSpecialOptions.xml
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

apikey=<YOUR API KEY>&root=BCD&type=Call&premiumRange=500.50-1000&mode=D&fields=open%2Chigh%2Clow%2Clast&sortDirection=ASC

Response


<?xml version="1.0" encoding="utf-8"?>
 <getSpecialOptions>
  <status>
   <code>200</code>
   <message>Success.</message>
  </status>
  <item>
   <symbol>BCDF8|370C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDF18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>F</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>370</strike>
   <expirationDate>2017-12-22</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>18</last>
  </item>
  <item>
   <symbol>BCDF8|375C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDF18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>F</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>375</strike>
   <expirationDate>2017-12-22</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>13.625</last>
  </item>
  <item>
   <symbol>BCDG8|370C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDG18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>G</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>370</strike>
   <expirationDate>2018-01-26</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>18.875</last>
  </item>
  <item>
   <symbol>BCDG8|375C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDG18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>G</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>375</strike>
   <expirationDate>2018-01-26</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>14.875</last>
  </item>
  <item>
   <symbol>BCDG8|380C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDG18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>G</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>380</strike>
   <expirationDate>2018-01-26</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>11.375</last>
  </item>
  <item>
   <symbol>BCDH8|370C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDH18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>H</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>370</strike>
   <expirationDate>2018-02-23</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>20</last>
  </item>
  <item>
   <symbol>BCDH8|375C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDH18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>H</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>375</strike>
   <expirationDate>2018-02-23</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>16.375</last>
  </item>
  <item>
   <symbol>BCDH8|380C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDH18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>H</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>380</strike>
   <expirationDate>2018-02-23</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>13.375</last>
  </item>
  <item>
   <symbol>BCDH8|385C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDH18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>H</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>385</strike>
   <expirationDate>2018-02-23</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>10.75</last>
  </item>
  <item>
   <symbol>BCDJ8|375C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDJ18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>J</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>375</strike>
   <expirationDate>2018-03-23</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>17.375</last>
  </item>
  <item>
   <symbol>BCDJ8|380C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDJ18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>J</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>380</strike>
   <expirationDate>2018-03-23</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>14.375</last>
  </item>
  <item>
   <symbol>BCDJ8|385C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDJ18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>J</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>385</strike>
   <expirationDate>2018-03-23</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>11.75</last>
  </item>
  <item>
   <symbol>BCDK8|375C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDK18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>K</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>375</strike>
   <expirationDate>2018-04-20</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>18.75</last>
  </item>
  <item>
   <symbol>BCDK8|380C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDK18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>K</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>380</strike>
   <expirationDate>2018-04-20</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>16</last>
  </item>
  <item>
   <symbol>BCDK8|385C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDK18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>K</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>385</strike>
   <expirationDate>2018-04-20</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>13.625</last>
  </item>
  <item>
   <symbol>BCDK8|390C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDK18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>K</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>390</strike>
   <expirationDate>2018-04-20</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>11.625</last>
  </item>
  <item>
   <symbol>BCDM8|380C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDM18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>M</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>380</strike>
   <expirationDate>2018-05-25</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>18.125</last>
  </item>
  <item>
   <symbol>BCDM8|385C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDM18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>M</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>385</strike>
   <expirationDate>2018-05-25</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>15.75</last>
  </item>
  <item>
   <symbol>BCDM8|390C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDM18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>M</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>390</strike>
   <expirationDate>2018-05-25</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>13.75</last>
  </item>
  <item>
   <symbol>BCDM8|395C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDM18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>M</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>395</strike>
   <expirationDate>2018-05-25</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>11.875</last>
  </item>
  <item>
   <symbol>BCDM8|400C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDM18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>M</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>400</strike>
   <expirationDate>2018-05-25</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>10.375</last>
  </item>
  <item>
   <symbol>BCDN8|380C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDN18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>N</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>380</strike>
   <expirationDate>2018-06-22</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>20</last>
  </item>
  <item>
   <symbol>BCDN8|385C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDN18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>N</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>385</strike>
   <expirationDate>2018-06-22</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>17.75</last>
  </item>
  <item>
   <symbol>BCDN8|390C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDN18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>N</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>390</strike>
   <expirationDate>2018-06-22</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>15.625</last>
  </item>
  <item>
   <symbol>BCDN8|395C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDN18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>N</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>395</strike>
   <expirationDate>2018-06-22</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>13.75</last>
  </item>
  <item>
   <symbol>BCDN8|400C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDN18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>N</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>400</strike>
   <expirationDate>2018-06-22</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>12.125</last>
  </item>
  <item>
   <symbol>BCDN8|405C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDN18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>N</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>405</strike>
   <expirationDate>2018-06-22</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>10.75</last>
  </item>
  <item>
   <symbol>BCDQ8|390C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDQ18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>Q</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>390</strike>
   <expirationDate>2018-07-27</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>19.25</last>
  </item>
  <item>
   <symbol>BCDQ8|395C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDQ18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>Q</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>395</strike>
   <expirationDate>2018-07-27</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>17.375</last>
  </item>
  <item>
   <symbol>BCDQ8|400C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDQ18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>Q</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>400</strike>
   <expirationDate>2018-07-27</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>15.875</last>
  </item>
  <item>
   <symbol>BCDQ8|405C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDQ18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>Q</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>405</strike>
   <expirationDate>2018-07-27</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>14.375</last>
  </item>
  <item>
   <symbol>BCDQ8|410C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDQ18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>Q</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>410</strike>
   <expirationDate>2018-07-27</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>13</last>
  </item>
  <item>
   <symbol>BCDQ8|415C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDQ18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>Q</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>415</strike>
   <expirationDate>2018-07-27</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>11.625</last>
  </item>
  <item>
   <symbol>BCDQ8|420C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDQ18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>Q</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>420</strike>
   <expirationDate>2018-07-27</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>10.5</last>
  </item>
  <item>
   <symbol>BCDU8|395C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDU18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>U</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>395</strike>
   <expirationDate>2018-08-24</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>19</last>
  </item>
  <item>
   <symbol>BCDU8|400C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDU18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>U</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>400</strike>
   <expirationDate>2018-08-24</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>17.625</last>
  </item>
  <item>
   <symbol>BCDU8|405C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDU18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>U</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>405</strike>
   <expirationDate>2018-08-24</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>16.125</last>
  </item>
  <item>
   <symbol>BCDU8|410C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDU18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>U</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>410</strike>
   <expirationDate>2018-08-24</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>14.625</last>
  </item>
  <item>
   <symbol>BCDU8|415C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDU18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>U</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>415</strike>
   <expirationDate>2018-08-24</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>13.25</last>
  </item>
  <item>
   <symbol>BCDU8|420C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDU18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>U</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>420</strike>
   <expirationDate>2018-08-24</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>12</last>
  </item>
  <item>
   <symbol>BCDU8|425C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDU18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>U</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>425</strike>
   <expirationDate>2018-08-24</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>11</last>
  </item>
  <item>
   <symbol>BCDU8|430C</symbol>
   <underlying_future>ZCZ18</underlying_future>
   <root>BCD</root>
   <contract>BCDU18</contract>
   <contractName>Corn Short Dated New Crop Options</contractName>
   <contractMonth>U</contractMonth>
   <exchange>CBOT</exchange>
   <type>Call</type>
   <strike>430</strike>
   <expirationDate>2018-08-24</expirationDate>
   <date>2017-11-19</date>
   <open>0</open>
   <high>0</high>
   <low>0</low>
   <last>10.125</last>
  </item>
 </getSpecialOptions>

CSV

GET

GET https://ondemand.websol.barchart.com/getSpecialOptions.csv?apikey=<YOUR API KEY>&root=BCD&type=Call&premiumRange=500.50-1000&mode=D&fields=open%2Chigh%2Clow%2Clast&sortDirection=ASC
Host: ondemand.websol.barchart.com

POST

POST https://ondemand.websol.barchart.com/getSpecialOptions.csv
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

apikey=<YOUR API KEY>&root=BCD&type=Call&premiumRange=500.50-1000&mode=D&fields=open%2Chigh%2Clow%2Clast&sortDirection=ASC

Response

symbol,underlying_future,root,contract,contractName,contractMonth,exchange,type,strike,expirationDate,date,open,high,low,last
"BCDF8|370C","ZCZ18","BCD","BCDF18","Corn Short Dated New Crop Options","F","CBOT","Call","370","2017-12-22","2017-11-19","0","0","0","18"
"BCDF8|375C","ZCZ18","BCD","BCDF18","Corn Short Dated New Crop Options","F","CBOT","Call","375","2017-12-22","2017-11-19","0","0","0","13.625"
"BCDG8|370C","ZCZ18","BCD","BCDG18","Corn Short Dated New Crop Options","G","CBOT","Call","370","2018-01-26","2017-11-19","0","0","0","18.875"
"BCDG8|375C","ZCZ18","BCD","BCDG18","Corn Short Dated New Crop Options","G","CBOT","Call","375","2018-01-26","2017-11-19","0","0","0","14.875"
"BCDG8|380C","ZCZ18","BCD","BCDG18","Corn Short Dated New Crop Options","G","CBOT","Call","380","2018-01-26","2017-11-19","0","0","0","11.375"
"BCDH8|370C","ZCZ18","BCD","BCDH18","Corn Short Dated New Crop Options","H","CBOT","Call","370","2018-02-23","2017-11-19","0","0","0","20"
"BCDH8|375C","ZCZ18","BCD","BCDH18","Corn Short Dated New Crop Options","H","CBOT","Call","375","2018-02-23","2017-11-19","0","0","0","16.375"
"BCDH8|380C","ZCZ18","BCD","BCDH18","Corn Short Dated New Crop Options","H","CBOT","Call","380","2018-02-23","2017-11-19","0","0","0","13.375"
"BCDH8|385C","ZCZ18","BCD","BCDH18","Corn Short Dated New Crop Options","H","CBOT","Call","385","2018-02-23","2017-11-19","0","0","0","10.75"
"BCDJ8|375C","ZCZ18","BCD","BCDJ18","Corn Short Dated New Crop Options","J","CBOT","Call","375","2018-03-23","2017-11-19","0","0","0","17.375"
"BCDJ8|380C","ZCZ18","BCD","BCDJ18","Corn Short Dated New Crop Options","J","CBOT","Call","380","2018-03-23","2017-11-19","0","0","0","14.375"
"BCDJ8|385C","ZCZ18","BCD","BCDJ18","Corn Short Dated New Crop Options","J","CBOT","Call","385","2018-03-23","2017-11-19","0","0","0","11.75"
"BCDK8|375C","ZCZ18","BCD","BCDK18","Corn Short Dated New Crop Options","K","CBOT","Call","375","2018-04-20","2017-11-19","0","0","0","18.75"
"BCDK8|380C","ZCZ18","BCD","BCDK18","Corn Short Dated New Crop Options","K","CBOT","Call","380","2018-04-20","2017-11-19","0","0","0","16"
"BCDK8|385C","ZCZ18","BCD","BCDK18","Corn Short Dated New Crop Options","K","CBOT","Call","385","2018-04-20","2017-11-19","0","0","0","13.625"
"BCDK8|390C","ZCZ18","BCD","BCDK18","Corn Short Dated New Crop Options","K","CBOT","Call","390","2018-04-20","2017-11-19","0","0","0","11.625"
"BCDM8|380C","ZCZ18","BCD","BCDM18","Corn Short Dated New Crop Options","M","CBOT","Call","380","2018-05-25","2017-11-19","0","0","0","18.125"
"BCDM8|385C","ZCZ18","BCD","BCDM18","Corn Short Dated New Crop Options","M","CBOT","Call","385","2018-05-25","2017-11-19","0","0","0","15.75"
"BCDM8|390C","ZCZ18","BCD","BCDM18","Corn Short Dated New Crop Options","M","CBOT","Call","390","2018-05-25","2017-11-19","0","0","0","13.75"
"BCDM8|395C","ZCZ18","BCD","BCDM18","Corn Short Dated New Crop Options","M","CBOT","Call","395","2018-05-25","2017-11-19","0","0","0","11.875"
"BCDM8|400C","ZCZ18","BCD","BCDM18","Corn Short Dated New Crop Options","M","CBOT","Call","400","2018-05-25","2017-11-19","0","0","0","10.375"
"BCDN8|380C","ZCZ18","BCD","BCDN18","Corn Short Dated New Crop Options","N","CBOT","Call","380","2018-06-22","2017-11-19","0","0","0","20"
"BCDN8|385C","ZCZ18","BCD","BCDN18","Corn Short Dated New Crop Options","N","CBOT","Call","385","2018-06-22","2017-11-19","0","0","0","17.75"
"BCDN8|390C","ZCZ18","BCD","BCDN18","Corn Short Dated New Crop Options","N","CBOT","Call","390","2018-06-22","2017-11-19","0","0","0","15.625"
"BCDN8|395C","ZCZ18","BCD","BCDN18","Corn Short Dated New Crop Options","N","CBOT","Call","395","2018-06-22","2017-11-19","0","0","0","13.75"
"BCDN8|400C","ZCZ18","BCD","BCDN18","Corn Short Dated New Crop Options","N","CBOT","Call","400","2018-06-22","2017-11-19","0","0","0","12.125"
"BCDN8|405C","ZCZ18","BCD","BCDN18","Corn Short Dated New Crop Options","N","CBOT","Call","405","2018-06-22","2017-11-19","0","0","0","10.75"
"BCDQ8|390C","ZCZ18","BCD","BCDQ18","Corn Short Dated New Crop Options","Q","CBOT","Call","390","2018-07-27","2017-11-19","0","0","0","19.25"
"BCDQ8|395C","ZCZ18","BCD","BCDQ18","Corn Short Dated New Crop Options","Q","CBOT","Call","395","2018-07-27","2017-11-19","0","0","0","17.375"
"BCDQ8|400C","ZCZ18","BCD","BCDQ18","Corn Short Dated New Crop Options","Q","CBOT","Call","400","2018-07-27","2017-11-19","0","0","0","15.875"
"BCDQ8|405C","ZCZ18","BCD","BCDQ18","Corn Short Dated New Crop Options","Q","CBOT","Call","405","2018-07-27","2017-11-19","0","0","0","14.375"
"BCDQ8|410C","ZCZ18","BCD","BCDQ18","Corn Short Dated New Crop Options","Q","CBOT","Call","410","2018-07-27","2017-11-19","0","0","0","13"
"BCDQ8|415C","ZCZ18","BCD","BCDQ18","Corn Short Dated New Crop Options","Q","CBOT","Call","415","2018-07-27","2017-11-19","0","0","0","11.625"
"BCDQ8|420C","ZCZ18","BCD","BCDQ18","Corn Short Dated New Crop Options","Q","CBOT","Call","420","2018-07-27","2017-11-19","0","0","0","10.5"
"BCDU8|395C","ZCZ18","BCD","BCDU18","Corn Short Dated New Crop Options","U","CBOT","Call","395","2018-08-24","2017-11-19","0","0","0","19"
"BCDU8|400C","ZCZ18","BCD","BCDU18","Corn Short Dated New Crop Options","U","CBOT","Call","400","2018-08-24","2017-11-19","0","0","0","17.625"
"BCDU8|405C","ZCZ18","BCD","BCDU18","Corn Short Dated New Crop Options","U","CBOT","Call","405","2018-08-24","2017-11-19","0","0","0","16.125"
"BCDU8|410C","ZCZ18","BCD","BCDU18","Corn Short Dated New Crop Options","U","CBOT","Call","410","2018-08-24","2017-11-19","0","0","0","14.625"
"BCDU8|415C","ZCZ18","BCD","BCDU18","Corn Short Dated New Crop Options","U","CBOT","Call","415","2018-08-24","2017-11-19","0","0","0","13.25"
"BCDU8|420C","ZCZ18","BCD","BCDU18","Corn Short Dated New Crop Options","U","CBOT","Call","420","2018-08-24","2017-11-19","0","0","0","12"
"BCDU8|425C","ZCZ18","BCD","BCDU18","Corn Short Dated New Crop Options","U","CBOT","Call","425","2018-08-24","2017-11-19","0","0","0","11"
"BCDU8|430C","ZCZ18","BCD","BCDU18","Corn Short Dated New Crop Options","U","CBOT","Call","430","2018-08-24","2017-11-19","0","0","0","10.125"


PHP

<?php

$ondemand = new SoapClient('https://ondemand.websol.barchart.com/service?wsdl');

$params = [
    'root' => 'BCD',
    'type' => 'Call',
    'premiumRange' => '500.50-1000',
    'mode' => 'D',
    'fields' => 'open,high,low,last',
    'sortDirection' => 'ASC',
];

$result = $ondemand->getSpecialOptions($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.getSpecialOptions("BCD", "Call", "500.50-1000", "D", "open,high,low,last", "ASC")

Perl

use SOAP::Lite;
use SOAP::WSDL;

my $ondemand = SOAP::Lite
    -> service('https://ondemand.websol.barchart.com/service?wsdl');

my $result = $ondemand->getSpecialOptions('BCD', 'Call', '500.50-1000', 'D', 'open,high,low,last', 'ASC');

print $result;

Python

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

result = client.service.getSpecialOptions('BCD', 'Call', '500.50-1000', 'D', 'open,high,low,last', 'ASC')

print result

Ruby

require 'savon'

ondemand = Savon.client(wsdl: 'https://ondemand.websol.barchart.com/service?wsdl')

response = ondemand.call(
    :getSpecialOptions,
    message: {
        root: 'BCD',
        type: 'Call',
        premiumRange: '500.50-1000',
        mode: 'D',
        fields: 'open,high,low,last',
        sortDirection: 'ASC',
    }
)

response.body