Special Options API
getSpecialOptions
The getSpecialOptionsClassification API provides the classification for weekly and special options by commodity.
View All APIsContact Us to Get Access
Inputs
rootoptional
A symbol or code that identifies a option root.
Type
list (A comma or semi-colon delimited string.)
Example
BCD
contractoptional
A symbol or code that identifies an options contract.
Type
string (A sequence of characters. (example: GOOG))
Example
BCDK2024
typeoptional
The type of option desired, Call or Put.
Type
string (A sequence of characters. (example: GOOG))
Example
Call
premiumRangeoptional
Optionally filter the results by premium with a price range.
Type
string (A sequence of characters. (example: GOOG))
Example
500.50-1000
modeoptional
Delayed ("I") or end-of-day ("D").
Type
string (A sequence of characters. (example: GOOG))
Example
D
Default
D
fieldsoptional
Additional fields requested. NOTE: ALL fields will be returned for contract requests.
Type
list (A comma or semi-colon delimited string.)
Example
open,high,low,last
sortDirectionoptional
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
symbol
always returned
always returned
A symbol or code that identifies the futures contract.
string
A sequence of characters. (example: GOOG)
A sequence of characters. (example: GOOG)
underlying_future
always returned
always returned
A symbol or code that identifies the underlying futures contract.
string
A sequence of characters. (example: GOOG)
A sequence of characters. (example: GOOG)
root
always returned
always returned
The root symbol for the future.
string
A sequence of characters. (example: GOOG)
A sequence of characters. (example: GOOG)
contract
always returned
always returned
The symbol for the futures contract.
string
A sequence of characters. (example: GOOG)
A sequence of characters. (example: GOOG)
contractName
always returned
always returned
The name of the futures contract.
string
A sequence of characters. (example: GOOG)
A sequence of characters. (example: GOOG)
contractMonth
always returned
always returned
The month code for this option's contract.
string
A sequence of characters. (example: GOOG)
A sequence of characters. (example: GOOG)
exchange
always returned
always returned
The name of the exchange the instrument belongs to.
string
A sequence of characters. (example: GOOG)
A sequence of characters. (example: GOOG)
type
always returned
always returned
Either Call or Put.
string
A sequence of characters. (example: GOOG)
A sequence of characters. (example: GOOG)
strike
always returned
always returned
The option's strike price.
double
A numeric type defining a number with fractional parts. (example: 2.14)
A numeric type defining a number with fractional parts. (example: 2.14)
expirationDate
always returned
always returned
The expiration date.
date
A date in the format of YYYY-MM-DD.
A date in the format of YYYY-MM-DD.
date
always returned
always returned
The most recent update date.
date
A date in the format of YYYY-MM-DD.
A date in the format of YYYY-MM-DD.
tradeDate
as requested
as requested
The price date.
date
A date in the format of YYYY-MM-DD.
A date in the format of YYYY-MM-DD.
impliedVolatility
as requested
as requested
The estimated volatility of a security's price.
double
A numeric type defining a number with fractional parts. (example: 2.14)
A numeric type defining a number with fractional parts. (example: 2.14)
delta
as requested
as requested
The option's delta value.
double
A numeric type defining a number with fractional parts. (example: 2.14)
A numeric type defining a number with fractional parts. (example: 2.14)
gamma
as requested
as requested
The option's gamma value.
double
A numeric type defining a number with fractional parts. (example: 2.14)
A numeric type defining a number with fractional parts. (example: 2.14)
theta
as requested
as requested
The option's theta value.
double
A numeric type defining a number with fractional parts. (example: 2.14)
A numeric type defining a number with fractional parts. (example: 2.14)
vega
as requested
as requested
The option's vega value.
double
A numeric type defining a number with fractional parts. (example: 2.14)
A numeric type defining a number with fractional parts. (example: 2.14)
bid
as requested
as requested
The current bid price.
double
A numeric type defining a number with fractional parts. (example: 2.14)
A numeric type defining a number with fractional parts. (example: 2.14)
bidSize
as requested
as requested
The size (quantity) of the current bid price.
int
A numeric type defining a whole number. (example: 2)
A numeric type defining a whole number. (example: 2)
ask
as requested
as requested
The current ask price.
double
A numeric type defining a number with fractional parts. (example: 2.14)
A numeric type defining a number with fractional parts. (example: 2.14)
askSize
as requested
as requested
The size (quantity) of the current ask price.
int
A numeric type defining a whole number. (example: 2)
A numeric type defining a whole number. (example: 2)
open
as requested
as requested
The opening (first) price for the session.
double
A numeric type defining a number with fractional parts. (example: 2.14)
A numeric type defining a number with fractional parts. (example: 2.14)
high
as requested
as requested
The highest traded price for the session.
double
A numeric type defining a number with fractional parts. (example: 2.14)
A numeric type defining a number with fractional parts. (example: 2.14)
low
as requested
as requested
The lowest traded price for the session.
double
A numeric type defining a number with fractional parts. (example: 2.14)
A numeric type defining a number with fractional parts. (example: 2.14)
last
as requested
as requested
The last price the instrument traded.
double
A numeric type defining a number with fractional parts. (example: 2.14)
A numeric type defining a number with fractional parts. (example: 2.14)
change
as requested
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)
A numeric type defining a number with fractional parts. (example: 2.14)
percentChange
as requested
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)
A numeric type defining a number with fractional parts. (example: 2.14)
premium
as requested
as requested
The option's premium.
double
A numeric type defining a number with fractional parts. (example: 2.14)
A numeric type defining a number with fractional parts. (example: 2.14)
volume
as requested
as requested
The volume of the option.
int
A numeric type defining a whole number. (example: 2)
A numeric type defining a whole number. (example: 2)
openInterest
as requested
as requested
The open interest for the option.
double
A numeric type defining a number with fractional parts. (example: 2.14)
A numeric type defining a number with fractional parts. (example: 2.14)
flag
as requested
as requested
The option's settled flag.
string
A sequence of characters. (example: GOOG)
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": "BCDG5|425C",
"underlying_future": "ZCZ25",
"root": "BCD",
"contract": "BCDG25",
"contractName": "Corn Short Dated New Crop Options",
"contractMonth": "G",
"exchange": "CBOT",
"type": "Call",
"strike": 425,
"expirationDate": "2025-01-24",
"date": "2024-12-30",
"open": 0,
"high": 17.125,
"low": 17.125,
"last": 17.125
},
{
"symbol": "BCDG5|430C",
"underlying_future": "ZCZ25",
"root": "BCD",
"contract": "BCDG25",
"contractName": "Corn Short Dated New Crop Options",
"contractMonth": "G",
"exchange": "CBOT",
"type": "Call",
"strike": 430,
"expirationDate": "2025-01-24",
"date": "2024-12-30",
"open": 0,
"high": 13.125,
"low": 13.125,
"last": 13.125
},
{
"symbol": "BCDH5|425C",
"underlying_future": "ZCZ25",
"root": "BCD",
"contract": "BCDH25",
"contractName": "Corn Short Dated New Crop Options",
"contractMonth": "H",
"exchange": "CBOT",
"type": "Call",
"strike": 425,
"expirationDate": "2025-02-21",
"date": "2024-12-30",
"open": 0,
"high": 19,
"low": 19,
"last": 19
},
{
"symbol": "BCDH5|430C",
"underlying_future": "ZCZ25",
"root": "BCD",
"contract": "BCDH25",
"contractName": "Corn Short Dated New Crop Options",
"contractMonth": "H",
"exchange": "CBOT",
"type": "Call",
"strike": 430,
"expirationDate": "2025-02-21",
"date": "2024-12-30",
"open": 0,
"high": 15.5,
"low": 15.5,
"last": 15.5
},
{
"symbol": "BCDH5|435C",
"underlying_future": "ZCZ25",
"root": "BCD",
"contract": "BCDH25",
"contractName": "Corn Short Dated New Crop Options",
"contractMonth": "H",
"exchange": "CBOT",
"type": "Call",
"strike": 435,
"expirationDate": "2025-02-21",
"date": "2024-12-30",
"open": 0,
"high": 12.375,
"low": 12.375,
"last": 12.375
},
{
"symbol": "BCDJ5|430C",
"underlying_future": "ZCZ25",
"root": "BCD",
"contract": "BCDJ25",
"contractName": "Corn Short Dated New Crop Options",
"contractMonth": "J",
"exchange": "CBOT",
"type": "Call",
"strike": 430,
"expirationDate": "2025-03-21",
"date": "2024-12-30",
"open": 0,
"high": 18.125,
"low": 18.125,
"last": 18.125
},
{
"symbol": "BCDJ5|440C",
"underlying_future": "ZCZ25",
"root": "BCD",
"contract": "BCDJ25",
"contractName": "Corn Short Dated New Crop Options",
"contractMonth": "J",
"exchange": "CBOT",
"type": "Call",
"strike": 440,
"expirationDate": "2025-03-21",
"date": "2024-12-30",
"open": 0,
"high": 12.625,
"low": 12.625,
"last": 12.625
},
{
"symbol": "BCDK5|440C",
"underlying_future": "ZCZ25",
"root": "BCD",
"contract": "BCDK25",
"contractName": "Corn Short Dated New Crop Options",
"contractMonth": "K",
"exchange": "CBOT",
"type": "Call",
"strike": 440,
"expirationDate": "2025-04-25",
"date": "2024-12-30",
"open": 16.75,
"high": 16.75,
"low": 16.75,
"last": 16.75
},
{
"symbol": "BCDK5|450C",
"underlying_future": "ZCZ25",
"root": "BCD",
"contract": "BCDK25",
"contractName": "Corn Short Dated New Crop Options",
"contractMonth": "K",
"exchange": "CBOT",
"type": "Call",
"strike": 450,
"expirationDate": "2025-04-25",
"date": "2024-12-30",
"open": 13.625,
"high": 13.625,
"low": 13.625,
"last": 13.625
},
{
"symbol": "BCDK5|460C",
"underlying_future": "ZCZ25",
"root": "BCD",
"contract": "BCDK25",
"contractName": "Corn Short Dated New Crop Options",
"contractMonth": "K",
"exchange": "CBOT",
"type": "Call",
"strike": 460,
"expirationDate": "2025-04-25",
"date": "2024-12-30",
"open": 10,
"high": 10.25,
"low": 10,
"last": 10.25
},
{
"symbol": "BCDM5|450C",
"underlying_future": "ZCZ25",
"root": "BCD",
"contract": "BCDM25",
"contractName": "Corn Short Dated New Crop Options",
"contractMonth": "M",
"exchange": "CBOT",
"type": "Call",
"strike": 450,
"expirationDate": "2025-05-23",
"date": "2024-12-30",
"open": 0,
"high": 16.375,
"low": 16.375,
"last": 16.375
},
{
"symbol": "BCDM5|460C",
"underlying_future": "ZCZ25",
"root": "BCD",
"contract": "BCDM25",
"contractName": "Corn Short Dated New Crop Options",
"contractMonth": "M",
"exchange": "CBOT",
"type": "Call",
"strike": 460,
"expirationDate": "2025-05-23",
"date": "2024-12-30",
"open": 0,
"high": 13,
"low": 13,
"last": 13
},
{
"symbol": "BCDM5|470C",
"underlying_future": "ZCZ25",
"root": "BCD",
"contract": "BCDM25",
"contractName": "Corn Short Dated New Crop Options",
"contractMonth": "M",
"exchange": "CBOT",
"type": "Call",
"strike": 470,
"expirationDate": "2025-05-23",
"date": "2024-12-30",
"open": 0,
"high": 10.125,
"low": 10.125,
"last": 10.125
},
{
"symbol": "BCDN5|460C",
"underlying_future": "ZCZ25",
"root": "BCD",
"contract": "BCDN25",
"contractName": "Corn Short Dated New Crop Options",
"contractMonth": "N",
"exchange": "CBOT",
"type": "Call",
"strike": 460,
"expirationDate": "2025-06-20",
"date": "2024-12-30",
"open": 0,
"high": 16.125,
"low": 16.125,
"last": 16.125
},
{
"symbol": "BCDN5|470C",
"underlying_future": "ZCZ25",
"root": "BCD",
"contract": "BCDN25",
"contractName": "Corn Short Dated New Crop Options",
"contractMonth": "N",
"exchange": "CBOT",
"type": "Call",
"strike": 470,
"expirationDate": "2025-06-20",
"date": "2024-12-30",
"open": 0,
"high": 13.125,
"low": 13.125,
"last": 13.125
},
{
"symbol": "BCDN5|480C",
"underlying_future": "ZCZ25",
"root": "BCD",
"contract": "BCDN25",
"contractName": "Corn Short Dated New Crop Options",
"contractMonth": "N",
"exchange": "CBOT",
"type": "Call",
"strike": 480,
"expirationDate": "2025-06-20",
"date": "2024-12-30",
"open": 0,
"high": 10.75,
"low": 10.75,
"last": 10.75
},
{
"symbol": "BCDQ5|470C",
"underlying_future": "ZCZ25",
"root": "BCD",
"contract": "BCDQ25",
"contractName": "Corn Short Dated New Crop Options",
"contractMonth": "Q",
"exchange": "CBOT",
"type": "Call",
"strike": 470,
"expirationDate": "2025-07-25",
"date": "2024-12-30",
"open": 0,
"high": 18.625,
"low": 18.625,
"last": 18.625
},
{
"symbol": "BCDQ5|480C",
"underlying_future": "ZCZ25",
"root": "BCD",
"contract": "BCDQ25",
"contractName": "Corn Short Dated New Crop Options",
"contractMonth": "Q",
"exchange": "CBOT",
"type": "Call",
"strike": 480,
"expirationDate": "2025-07-25",
"date": "2024-12-30",
"open": 16.5,
"high": 16.5,
"low": 16.5,
"last": 16.5
},
{
"symbol": "BCDQ5|490C",
"underlying_future": "ZCZ25",
"root": "BCD",
"contract": "BCDQ25",
"contractName": "Corn Short Dated New Crop Options",
"contractMonth": "Q",
"exchange": "CBOT",
"type": "Call",
"strike": 490,
"expirationDate": "2025-07-25",
"date": "2024-12-30",
"open": 0,
"high": 13.5,
"low": 13.5,
"last": 13.5
},
{
"symbol": "BCDQ5|500C",
"underlying_future": "ZCZ25",
"root": "BCD",
"contract": "BCDQ25",
"contractName": "Corn Short Dated New Crop Options",
"contractMonth": "Q",
"exchange": "CBOT",
"type": "Call",
"strike": 500,
"expirationDate": "2025-07-25",
"date": "2024-12-30",
"open": 0,
"high": 11.5,
"low": 11.5,
"last": 11.5
}
]
}
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>BCDG5|425C</symbol>
<underlying_future>ZCZ25</underlying_future>
<root>BCD</root>
<contract>BCDG25</contract>
<contractName>Corn Short Dated New Crop Options</contractName>
<contractMonth>G</contractMonth>
<exchange>CBOT</exchange>
<type>Call</type>
<strike>425</strike>
<expirationDate>2025-01-24</expirationDate>
<date>2024-12-30</date>
<open>0</open>
<high>17.125</high>
<low>17.125</low>
<last>17.125</last>
</item>
<item>
<symbol>BCDG5|430C</symbol>
<underlying_future>ZCZ25</underlying_future>
<root>BCD</root>
<contract>BCDG25</contract>
<contractName>Corn Short Dated New Crop Options</contractName>
<contractMonth>G</contractMonth>
<exchange>CBOT</exchange>
<type>Call</type>
<strike>430</strike>
<expirationDate>2025-01-24</expirationDate>
<date>2024-12-30</date>
<open>0</open>
<high>13.125</high>
<low>13.125</low>
<last>13.125</last>
</item>
<item>
<symbol>BCDH5|425C</symbol>
<underlying_future>ZCZ25</underlying_future>
<root>BCD</root>
<contract>BCDH25</contract>
<contractName>Corn Short Dated New Crop Options</contractName>
<contractMonth>H</contractMonth>
<exchange>CBOT</exchange>
<type>Call</type>
<strike>425</strike>
<expirationDate>2025-02-21</expirationDate>
<date>2024-12-30</date>
<open>0</open>
<high>19</high>
<low>19</low>
<last>19</last>
</item>
<item>
<symbol>BCDH5|430C</symbol>
<underlying_future>ZCZ25</underlying_future>
<root>BCD</root>
<contract>BCDH25</contract>
<contractName>Corn Short Dated New Crop Options</contractName>
<contractMonth>H</contractMonth>
<exchange>CBOT</exchange>
<type>Call</type>
<strike>430</strike>
<expirationDate>2025-02-21</expirationDate>
<date>2024-12-30</date>
<open>0</open>
<high>15.5</high>
<low>15.5</low>
<last>15.5</last>
</item>
<item>
<symbol>BCDH5|435C</symbol>
<underlying_future>ZCZ25</underlying_future>
<root>BCD</root>
<contract>BCDH25</contract>
<contractName>Corn Short Dated New Crop Options</contractName>
<contractMonth>H</contractMonth>
<exchange>CBOT</exchange>
<type>Call</type>
<strike>435</strike>
<expirationDate>2025-02-21</expirationDate>
<date>2024-12-30</date>
<open>0</open>
<high>12.375</high>
<low>12.375</low>
<last>12.375</last>
</item>
<item>
<symbol>BCDJ5|430C</symbol>
<underlying_future>ZCZ25</underlying_future>
<root>BCD</root>
<contract>BCDJ25</contract>
<contractName>Corn Short Dated New Crop Options</contractName>
<contractMonth>J</contractMonth>
<exchange>CBOT</exchange>
<type>Call</type>
<strike>430</strike>
<expirationDate>2025-03-21</expirationDate>
<date>2024-12-30</date>
<open>0</open>
<high>18.125</high>
<low>18.125</low>
<last>18.125</last>
</item>
<item>
<symbol>BCDJ5|440C</symbol>
<underlying_future>ZCZ25</underlying_future>
<root>BCD</root>
<contract>BCDJ25</contract>
<contractName>Corn Short Dated New Crop Options</contractName>
<contractMonth>J</contractMonth>
<exchange>CBOT</exchange>
<type>Call</type>
<strike>440</strike>
<expirationDate>2025-03-21</expirationDate>
<date>2024-12-30</date>
<open>0</open>
<high>12.625</high>
<low>12.625</low>
<last>12.625</last>
</item>
<item>
<symbol>BCDK5|440C</symbol>
<underlying_future>ZCZ25</underlying_future>
<root>BCD</root>
<contract>BCDK25</contract>
<contractName>Corn Short Dated New Crop Options</contractName>
<contractMonth>K</contractMonth>
<exchange>CBOT</exchange>
<type>Call</type>
<strike>440</strike>
<expirationDate>2025-04-25</expirationDate>
<date>2024-12-30</date>
<open>16.75</open>
<high>16.75</high>
<low>16.75</low>
<last>16.75</last>
</item>
<item>
<symbol>BCDK5|450C</symbol>
<underlying_future>ZCZ25</underlying_future>
<root>BCD</root>
<contract>BCDK25</contract>
<contractName>Corn Short Dated New Crop Options</contractName>
<contractMonth>K</contractMonth>
<exchange>CBOT</exchange>
<type>Call</type>
<strike>450</strike>
<expirationDate>2025-04-25</expirationDate>
<date>2024-12-30</date>
<open>13.625</open>
<high>13.625</high>
<low>13.625</low>
<last>13.625</last>
</item>
<item>
<symbol>BCDK5|460C</symbol>
<underlying_future>ZCZ25</underlying_future>
<root>BCD</root>
<contract>BCDK25</contract>
<contractName>Corn Short Dated New Crop Options</contractName>
<contractMonth>K</contractMonth>
<exchange>CBOT</exchange>
<type>Call</type>
<strike>460</strike>
<expirationDate>2025-04-25</expirationDate>
<date>2024-12-30</date>
<open>10</open>
<high>10.25</high>
<low>10</low>
<last>10.25</last>
</item>
<item>
<symbol>BCDM5|450C</symbol>
<underlying_future>ZCZ25</underlying_future>
<root>BCD</root>
<contract>BCDM25</contract>
<contractName>Corn Short Dated New Crop Options</contractName>
<contractMonth>M</contractMonth>
<exchange>CBOT</exchange>
<type>Call</type>
<strike>450</strike>
<expirationDate>2025-05-23</expirationDate>
<date>2024-12-30</date>
<open>0</open>
<high>16.375</high>
<low>16.375</low>
<last>16.375</last>
</item>
<item>
<symbol>BCDM5|460C</symbol>
<underlying_future>ZCZ25</underlying_future>
<root>BCD</root>
<contract>BCDM25</contract>
<contractName>Corn Short Dated New Crop Options</contractName>
<contractMonth>M</contractMonth>
<exchange>CBOT</exchange>
<type>Call</type>
<strike>460</strike>
<expirationDate>2025-05-23</expirationDate>
<date>2024-12-30</date>
<open>0</open>
<high>13</high>
<low>13</low>
<last>13</last>
</item>
<item>
<symbol>BCDM5|470C</symbol>
<underlying_future>ZCZ25</underlying_future>
<root>BCD</root>
<contract>BCDM25</contract>
<contractName>Corn Short Dated New Crop Options</contractName>
<contractMonth>M</contractMonth>
<exchange>CBOT</exchange>
<type>Call</type>
<strike>470</strike>
<expirationDate>2025-05-23</expirationDate>
<date>2024-12-30</date>
<open>0</open>
<high>10.125</high>
<low>10.125</low>
<last>10.125</last>
</item>
<item>
<symbol>BCDN5|460C</symbol>
<underlying_future>ZCZ25</underlying_future>
<root>BCD</root>
<contract>BCDN25</contract>
<contractName>Corn Short Dated New Crop Options</contractName>
<contractMonth>N</contractMonth>
<exchange>CBOT</exchange>
<type>Call</type>
<strike>460</strike>
<expirationDate>2025-06-20</expirationDate>
<date>2024-12-30</date>
<open>0</open>
<high>16.125</high>
<low>16.125</low>
<last>16.125</last>
</item>
<item>
<symbol>BCDN5|470C</symbol>
<underlying_future>ZCZ25</underlying_future>
<root>BCD</root>
<contract>BCDN25</contract>
<contractName>Corn Short Dated New Crop Options</contractName>
<contractMonth>N</contractMonth>
<exchange>CBOT</exchange>
<type>Call</type>
<strike>470</strike>
<expirationDate>2025-06-20</expirationDate>
<date>2024-12-30</date>
<open>0</open>
<high>13.125</high>
<low>13.125</low>
<last>13.125</last>
</item>
<item>
<symbol>BCDN5|480C</symbol>
<underlying_future>ZCZ25</underlying_future>
<root>BCD</root>
<contract>BCDN25</contract>
<contractName>Corn Short Dated New Crop Options</contractName>
<contractMonth>N</contractMonth>
<exchange>CBOT</exchange>
<type>Call</type>
<strike>480</strike>
<expirationDate>2025-06-20</expirationDate>
<date>2024-12-30</date>
<open>0</open>
<high>10.75</high>
<low>10.75</low>
<last>10.75</last>
</item>
<item>
<symbol>BCDQ5|470C</symbol>
<underlying_future>ZCZ25</underlying_future>
<root>BCD</root>
<contract>BCDQ25</contract>
<contractName>Corn Short Dated New Crop Options</contractName>
<contractMonth>Q</contractMonth>
<exchange>CBOT</exchange>
<type>Call</type>
<strike>470</strike>
<expirationDate>2025-07-25</expirationDate>
<date>2024-12-30</date>
<open>0</open>
<high>18.625</high>
<low>18.625</low>
<last>18.625</last>
</item>
<item>
<symbol>BCDQ5|480C</symbol>
<underlying_future>ZCZ25</underlying_future>
<root>BCD</root>
<contract>BCDQ25</contract>
<contractName>Corn Short Dated New Crop Options</contractName>
<contractMonth>Q</contractMonth>
<exchange>CBOT</exchange>
<type>Call</type>
<strike>480</strike>
<expirationDate>2025-07-25</expirationDate>
<date>2024-12-30</date>
<open>16.5</open>
<high>16.5</high>
<low>16.5</low>
<last>16.5</last>
</item>
<item>
<symbol>BCDQ5|490C</symbol>
<underlying_future>ZCZ25</underlying_future>
<root>BCD</root>
<contract>BCDQ25</contract>
<contractName>Corn Short Dated New Crop Options</contractName>
<contractMonth>Q</contractMonth>
<exchange>CBOT</exchange>
<type>Call</type>
<strike>490</strike>
<expirationDate>2025-07-25</expirationDate>
<date>2024-12-30</date>
<open>0</open>
<high>13.5</high>
<low>13.5</low>
<last>13.5</last>
</item>
<item>
<symbol>BCDQ5|500C</symbol>
<underlying_future>ZCZ25</underlying_future>
<root>BCD</root>
<contract>BCDQ25</contract>
<contractName>Corn Short Dated New Crop Options</contractName>
<contractMonth>Q</contractMonth>
<exchange>CBOT</exchange>
<type>Call</type>
<strike>500</strike>
<expirationDate>2025-07-25</expirationDate>
<date>2024-12-30</date>
<open>0</open>
<high>11.5</high>
<low>11.5</low>
<last>11.5</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
"BCDG5|425C","ZCZ25","BCD","BCDG25","Corn Short Dated New Crop Options","G","CBOT","Call","425","2025-01-24","2024-12-30","0","17.125","17.125","17.125"
"BCDG5|430C","ZCZ25","BCD","BCDG25","Corn Short Dated New Crop Options","G","CBOT","Call","430","2025-01-24","2024-12-30","0","13.125","13.125","13.125"
"BCDH5|425C","ZCZ25","BCD","BCDH25","Corn Short Dated New Crop Options","H","CBOT","Call","425","2025-02-21","2024-12-30","0","19","19","19"
"BCDH5|430C","ZCZ25","BCD","BCDH25","Corn Short Dated New Crop Options","H","CBOT","Call","430","2025-02-21","2024-12-30","0","15.5","15.5","15.5"
"BCDH5|435C","ZCZ25","BCD","BCDH25","Corn Short Dated New Crop Options","H","CBOT","Call","435","2025-02-21","2024-12-30","0","12.375","12.375","12.375"
"BCDJ5|430C","ZCZ25","BCD","BCDJ25","Corn Short Dated New Crop Options","J","CBOT","Call","430","2025-03-21","2024-12-30","0","18.125","18.125","18.125"
"BCDJ5|440C","ZCZ25","BCD","BCDJ25","Corn Short Dated New Crop Options","J","CBOT","Call","440","2025-03-21","2024-12-30","0","12.625","12.625","12.625"
"BCDK5|440C","ZCZ25","BCD","BCDK25","Corn Short Dated New Crop Options","K","CBOT","Call","440","2025-04-25","2024-12-30","16.75","16.75","16.75","16.75"
"BCDK5|450C","ZCZ25","BCD","BCDK25","Corn Short Dated New Crop Options","K","CBOT","Call","450","2025-04-25","2024-12-30","13.625","13.625","13.625","13.625"
"BCDK5|460C","ZCZ25","BCD","BCDK25","Corn Short Dated New Crop Options","K","CBOT","Call","460","2025-04-25","2024-12-30","10","10.25","10","10.25"
"BCDM5|450C","ZCZ25","BCD","BCDM25","Corn Short Dated New Crop Options","M","CBOT","Call","450","2025-05-23","2024-12-30","0","16.375","16.375","16.375"
"BCDM5|460C","ZCZ25","BCD","BCDM25","Corn Short Dated New Crop Options","M","CBOT","Call","460","2025-05-23","2024-12-30","0","13","13","13"
"BCDM5|470C","ZCZ25","BCD","BCDM25","Corn Short Dated New Crop Options","M","CBOT","Call","470","2025-05-23","2024-12-30","0","10.125","10.125","10.125"
"BCDN5|460C","ZCZ25","BCD","BCDN25","Corn Short Dated New Crop Options","N","CBOT","Call","460","2025-06-20","2024-12-30","0","16.125","16.125","16.125"
"BCDN5|470C","ZCZ25","BCD","BCDN25","Corn Short Dated New Crop Options","N","CBOT","Call","470","2025-06-20","2024-12-30","0","13.125","13.125","13.125"
"BCDN5|480C","ZCZ25","BCD","BCDN25","Corn Short Dated New Crop Options","N","CBOT","Call","480","2025-06-20","2024-12-30","0","10.75","10.75","10.75"
"BCDQ5|470C","ZCZ25","BCD","BCDQ25","Corn Short Dated New Crop Options","Q","CBOT","Call","470","2025-07-25","2024-12-30","0","18.625","18.625","18.625"
"BCDQ5|480C","ZCZ25","BCD","BCDQ25","Corn Short Dated New Crop Options","Q","CBOT","Call","480","2025-07-25","2024-12-30","16.5","16.5","16.5","16.5"
"BCDQ5|490C","ZCZ25","BCD","BCDQ25","Corn Short Dated New Crop Options","Q","CBOT","Call","490","2025-07-25","2024-12-30","0","13.5","13.5","13.5"
"BCDQ5|500C","ZCZ25","BCD","BCDQ25","Corn Short Dated New Crop Options","Q","CBOT","Call","500","2025-07-25","2024-12-30","0","11.5","11.5","11.5"
PHP
<?php
$ondemand = new SoapClient('https://ondemand.websol.barchart.com/service?wsdl');
$params = [
'apikey' => 'YOUR_API_KEY',
'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("YOUR_API_KEY", "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('YOUR_API_KEY', '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 = ondemand.service.getSpecialOptions('YOUR_API_KEY', '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: {
apikey: 'YOUR_API_KEY',
root: 'BCD',
type: 'Call',
premiumRange: '500.50-1000',
mode: 'D',
fields: 'open,high,low,last',
sortDirection: 'ASC',
}
)
response.body