marketwatch

Scrapes quotes, financial statements, SEC filings, analyst estimates, options chains, and historical prices from MarketWatch.

Updated Aug 13, 2026
One-click install
npx skills add https://github.com/Martino17x/Sentinel-Invest --skill marketwatch-martino17x
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: marketwatch
Source: https://github.com/Martino17x/Sentinel-Invest/tree/main/.agents/skills/marketwatch
Command: npx skills add https://github.com/Martino17x/Sentinel-Invest --skill marketwatch-martino17x

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, beautifulsoup4, and includes scripts (resource) and references (resource) components.

What problem does it solve? MarketWatch has no official public API, making it hard to programmatically access its stock quotes, financial statements, SEC filings, analyst estimates, options chains, and historical prices. This Skill extracts that data directly from MarketWatch's public HTML pages without requiring an API key. ## Core Features & Use Cases - Financial Statements: Extract income statements, balance sheets, and cash flow statements (annual or quarterly, ~5 years of history) for US stocks and global ADRs. - Market Data: Fetch real-time quotes, company profile ratios (P/E, margins, ROE, debt ratios), analyst estimates with target prices, options chains by expiration, and daily OHLCV history. - SEC Filings: List recent 10-K, 10-Q, 8-K, and other filings with dates and categories. - Use Case: Run a single command like python scripts/fetch_marketwatch.py --ticker AAPL --all --output aapl.json to compile a complete fundamental and market data snapshot of Apple into structured JSON for further analysis. ## Quick Start Ask the AI to fetch all available MarketWatch data for a ticker such as AAPL and save the results to a JSON file.

Frequently Asked Questions about marketwatch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scrape financial data from MarketWatch with Python?▼

Run the fetch_marketwatch.py script with a ticker and data flags, for example --ticker AAPL --income --balance --cashflow. It uses requests and BeautifulSoup to parse MarketWatch HTML tables and outputs structured JSON.

Does MarketWatch have an official API for stock data?▼

No, MarketWatch has no official public API. This scraper extracts data from publicly available HTML pages, so no API key is required, but the site structure can change and break the parsing logic.

Why am I getting 401 Unauthorized errors when scraping MarketWatch?▼

MarketWatch uses Datadome anti-bot protection that returns 401 when requests come too fast or lack browser headers. Increase the delay to at least 3-5 seconds between requests, and wait 5-10 minutes if your IP gets temporarily blocked.

Can I get options Greeks or implied volatility from MarketWatch?▼

No, the MarketWatch options chain only includes last price, change, bid, ask, volume, and open interest per strike. Greeks (Delta, Gamma, Theta, Vega, Rho) and implied volatility are not available on these pages.

Is quarterly cash flow data available from MarketWatch?▼

No, the cash flow statement is only available annually on MarketWatch; the quarterly endpoint returns incomplete data. Income statement and balance sheet do support quarterly frequency via the --quarterly flag.

What are the limitations of scraping MarketWatch financial data?▼

Financial statements cover roughly 5 years, historical OHLCV covers about 60 days, and some quarterly fields appear as dashes. Heavy scraping triggers Datadome blocks, so limit runs to 4-5 endpoints per ticker.