Options Screener API
getOptionsScreener
The getOptionsScreener API allows a user to screen for specific equity and ETF option strikes using a variety of filters and parameters that highlight where unusual options activity may be occuring. Users can build powerful market scanners to implement professional trading strategies.
View All APIsinstrumentTypeoptional
The type of underlying instrument of the option. If a user does not specify a particular instrument type, then stocks are returned by default.
stocks
optionTypeoptional
Specify whether to return calls, puts, or both types of instruments
both
minVolumeoptional
The minimum volume for the data set
10000
maxVolumeoptional
The maximum volume for the data set
10000
minOpenInterestoptional
The minimum open interest value for the data set
1.91
maxOpenInterestoptional
The maximum open interest value for the data set
1.91
minDTEoptional
The minimum days to expiry (DTE) of the options returned in the dataset. DTE is based on calendar days
1.12
maxDTEoptional
The maximum days to expiry (DTE) of the options returned in the dataset. DTE is based on calendar days
1.21
minPriceoptional
The minimum price for a particular strike to be returned in the data set
1.11
maxPriceoptional
The maximum price for a particular strike to be returned in the data set
1.13
minVolumeOpenInterestRatiooptional
The minimum volume/open interest ratio for the data set
1.21
maxVolumeOpenInterestRatiooptional
The maximum volume/open interest ratio for the data set
1.24
minDeltaoptional
The minimum delta value for the data set
12.4
maxDeltaoptional
The maximum delta value for the data set
1.24
fieldsoptional
A comma separated list of the optional output fields that should be included in the result.
delta,gamma
limitoptional
The number of maximum results that should be returned
100
pageoptional
The page number to return the results. This sets the offset for the results.s
1
eodoptional
End of day data is returned by default. Pass ‘false’ to return intraday values
always returned
A sequence of characters. (example: GOOG)
always returned
A sequence of characters. (example: GOOG)
always returned
A sequence of characters. (example: GOOG)
always returned
A sequence of characters. (example: GOOG)
always returned
A numeric type defining a number with fractional parts. (example: 2.14)
always returned
A date in the format of YYYY-MM-DD.
always returned
A numeric type defining a number with fractional parts. (example: 2.14)
always returned
A numeric type defining a number with fractional parts. (example: 2.14)
always returned
A numeric type defining a number with fractional parts. (example: 2.14)
always returned
A date and time in the format of YYYY-MM-DD HH:MI:SS<TIMEZONE_OFFSET>.
as requested
A numeric type defining a number with fractional parts. (example: 2.14)
as requested
A numeric type defining a number with fractional parts. (example: 2.14)
as requested
A numeric type defining a number with fractional parts. (example: 2.14)
as requested
A numeric type defining a number with fractional parts. (example: 2.14)
as requested
A numeric type defining a number with fractional parts. (example: 2.14)
as requested
A numeric type defining a number with fractional parts. (example: 2.14)
as requested
A numeric type defining a whole number. (example: 2)
as requested
A numeric type defining a number with fractional parts. (example: 2.14)
as requested
A numeric type defining a number with fractional parts. (example: 2.14)
as requested
A numeric type defining a number with fractional parts. (example: 2.14)
GET
GET https://ondemand.websol.barchart.com/getOptionsScreener.json?apikey=YOUR_API_KEY&instrumentType=stocks&optionType=both&minVolume=10000&maxVolume=10000&minOpenInterest=1.91&maxOpenInterest=1.91&minDTE=1.12&maxDTE=1.21&minPrice=1.11&maxPrice=1.13&minVolumeOpenInterestRatio=1.21&maxVolumeOpenInterestRatio=1.24&minDelta=12.4&maxDelta=1.24&fields=delta%2Cgamma&limit=100&page=1
Host: ondemand.websol.barchart.com
POST
POST https://ondemand.websol.barchart.com/getOptionsScreener.json
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length
apikey=YOUR_API_KEY&instrumentType=stocks&optionType=both&minVolume=10000&maxVolume=10000&minOpenInterest=1.91&maxOpenInterest=1.91&minDTE=1.12&maxDTE=1.21&minPrice=1.11&maxPrice=1.13&minVolumeOpenInterestRatio=1.21&maxVolumeOpenInterestRatio=1.24&minDelta=12.4&maxDelta=1.24&fields=delta%2Cgamma&limit=100&page=1
Response
{
"status": {
"code": 204,
"message": "Success, but no content to return."
},
"results": []
}
GET
GET https://ondemand.websol.barchart.com/getOptionsScreener.xml?apikey=YOUR_API_KEY&instrumentType=stocks&optionType=both&minVolume=10000&maxVolume=10000&minOpenInterest=1.91&maxOpenInterest=1.91&minDTE=1.12&maxDTE=1.21&minPrice=1.11&maxPrice=1.13&minVolumeOpenInterestRatio=1.21&maxVolumeOpenInterestRatio=1.24&minDelta=12.4&maxDelta=1.24&fields=delta%2Cgamma&limit=100&page=1
Host: ondemand.websol.barchart.com
POST
POST https://ondemand.websol.barchart.com/getOptionsScreener.xml
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length
apikey=YOUR_API_KEY&instrumentType=stocks&optionType=both&minVolume=10000&maxVolume=10000&minOpenInterest=1.91&maxOpenInterest=1.91&minDTE=1.12&maxDTE=1.21&minPrice=1.11&maxPrice=1.13&minVolumeOpenInterestRatio=1.21&maxVolumeOpenInterestRatio=1.24&minDelta=12.4&maxDelta=1.24&fields=delta%2Cgamma&limit=100&page=1
Response
<?xml version="1.0" encoding="utf-8"?>
<getOptionsScreener>
<status>
<code>204</code>
<message>Success, but no content to return.</message>
</status>
</getOptionsScreener>
GET
GET https://ondemand.websol.barchart.com/getOptionsScreener.csv?apikey=YOUR_API_KEY&instrumentType=stocks&optionType=both&minVolume=10000&maxVolume=10000&minOpenInterest=1.91&maxOpenInterest=1.91&minDTE=1.12&maxDTE=1.21&minPrice=1.11&maxPrice=1.13&minVolumeOpenInterestRatio=1.21&maxVolumeOpenInterestRatio=1.24&minDelta=12.4&maxDelta=1.24&fields=delta%2Cgamma&limit=100&page=1
Host: ondemand.websol.barchart.com
POST
POST https://ondemand.websol.barchart.com/getOptionsScreener.csv
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length
apikey=YOUR_API_KEY&instrumentType=stocks&optionType=both&minVolume=10000&maxVolume=10000&minOpenInterest=1.91&maxOpenInterest=1.91&minDTE=1.12&maxDTE=1.21&minPrice=1.11&maxPrice=1.13&minVolumeOpenInterestRatio=1.21&maxVolumeOpenInterestRatio=1.24&minDelta=12.4&maxDelta=1.24&fields=delta%2Cgamma&limit=100&page=1
Response
<?php
$ondemand = new SoapClient('https://ondemand.websol.barchart.com/service?wsdl');
$params = [
'apikey' => 'YOUR_API_KEY',
'instrumentType' => 'stocks',
'optionType' => 'both',
'minVolume' => '10000',
'maxVolume' => '10000',
'minOpenInterest' => '1.91',
'maxOpenInterest' => '1.91',
'minDTE' => '1.12',
'maxDTE' => '1.21',
'minPrice' => '1.11',
'maxPrice' => '1.13',
'minVolumeOpenInterestRatio' => '1.21',
'maxVolumeOpenInterestRatio' => '1.24',
'minDelta' => '12.4',
'maxDelta' => '1.24',
'fields' => 'delta,gamma',
'limit' => '100',
'page' => '1',
];
$result = $ondemand->getOptionsScreener($params);
var_dump($result);
Dim ondemand
Dim result
Set ondemand = Server.CreateObject("MSSOAP.SoapClient30")
ondemand.ClientProperty("ServerHTTPRequest") = True
ondemand.MSSoapInit("https://ondemand.websol.barchart.com/service?wsdl")
Set result = ondemand.getOptionsScreener("YOUR_API_KEY", "stocks", "both", "10000", "10000", "1.91", "1.91", "1.12", "1.21", "1.11", "1.13", "1.21", "1.24", "12.4", "1.24", "delta,gamma", "100", "1")
use SOAP::Lite;
use SOAP::WSDL;
my $ondemand = SOAP::Lite
-> service('https://ondemand.websol.barchart.com/service?wsdl');
my $result = $ondemand->getOptionsScreener('YOUR_API_KEY', 'stocks', 'both', '10000', '10000', '1.91', '1.91', '1.12', '1.21', '1.11', '1.13', '1.21', '1.24', '12.4', '1.24', 'delta,gamma', '100', '1');
print $result;
from suds.client import Client
ondemand = Client('https://ondemand.websol.barchart.com/service?wsdl')
result = ondemand.service.getOptionsScreener('YOUR_API_KEY', 'stocks', 'both', '10000', '10000', '1.91', '1.91', '1.12', '1.21', '1.11', '1.13', '1.21', '1.24', '12.4', '1.24', 'delta,gamma', '100', '1')
print(result)
require 'savon'
ondemand = Savon.client(wsdl: 'https://ondemand.websol.barchart.com/service?wsdl')
response = ondemand.call(
:getOptionsScreener,
message: {
apikey: 'YOUR_API_KEY',
instrumentType: 'stocks',
optionType: 'both',
minVolume: '10000',
maxVolume: '10000',
minOpenInterest: '1.91',
maxOpenInterest: '1.91',
minDTE: '1.12',
maxDTE: '1.21',
minPrice: '1.11',
maxPrice: '1.13',
minVolumeOpenInterestRatio: '1.21',
maxVolumeOpenInterestRatio: '1.24',
minDelta: '12.4',
maxDelta: '1.24',
fields: 'delta,gamma',
limit: '100',
page: '1',
}
)
response.body