Get a Yahoo Finance option chain
curl --request POST \
--url https://api.scrapeunblocker.com/finance/yahoo-options \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/finance/yahoo-options"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/finance/yahoo-options', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Plugins
Get a Yahoo Finance option chain
Returns the calls and puts for one expiration of a symbol: contractSymbol, strike, lastPrice, change, changePercent, bid, ask, volume, openInterest, impliedVolatilityPercent and inTheMoney. Also returns every listed expirationDates, the strikes, and the underlyingPrice. Without expiration you get the nearest one.
Get a Yahoo Finance option chain
curl --request POST \
--url https://api.scrapeunblocker.com/finance/yahoo-options \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/finance/yahoo-options"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/finance/yahoo-options', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Query Parameters
Response
JSON with calls and puts.

