curl --request POST \
--url https://api.scrapeunblocker.com/finance/marketwatch-quote \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/finance/marketwatch-quote"
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/marketwatch-quote', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Scrape a MarketWatch stock quote
Reads a stock’s MarketWatch quote page and returns price, change, changePercent, previousClose, marketState and quoteTime; keyData (open, day and 52-week ranges, market cap, shares, beta, P/E, EPS, dividend and short interest); performance over 5 days to 1 year; analyst (consensus, target price, yearly and quarterly EPS estimates, rating history and recent rating changes); competitors; and news headlines with links, sources and times. Pass country_code for a listing outside the US; those listings return only the consensus and number of ratings in analyst. Figures are numbers in the listing’s own units, and some non-US listings mix units (a London price is in pence, its market cap in pounds). unavailable lists any section that could not be read.
curl --request POST \
--url https://api.scrapeunblocker.com/finance/marketwatch-quote \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/finance/marketwatch-quote"
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/marketwatch-quote', 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 price, keyData, analyst and headlines.

