Get the basic a World Index stock option chain and compare options.
Request
Authorization
Add parameter in header
x-rapidapi-key
Example:
x-rapidapi-key: ********************
Query Params
symbol
string
required
Index symbol
Example:
^GSPC
date
number
optional
Option date in epoch date format.
Example:
1718928000
straddle
string
optional
stradle option. true or false.
Example:
true
strike
number
optional
strike price.
Example:
15
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://live-stock-market.p.rapidapi.com/v1/index/options?symbol=^GSPC&date=1718928000&straddle=true&strike=15' \
--header'x-rapidapi-key;'