finviz

Extract fundamental, technical, insider trading, and news data from Finviz quote pages.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Finviz has no official public API, so accessing its stock fundamentals, technical indicators, insider trading records, and news headlines requires manual browsing or custom scraping. This Skill automates that extraction into structured JSON output. ## Core Features & Use Cases - Fundamental & Technical Extraction: Pulls P/E, EPS, PEG, margins, RSI, SMA, MACD, ATR, and dozens of other fields from Finviz quote pages using requests and BeautifulSoup. - News & Insider Trading: Retrieves recent news headlines and insider transaction records (trader, role, date, transaction type, shares) for any US ticker. - Batch & Filtered Queries: Supports multiple comma-separated tickers, field filtering (fundamentals, technicals, news, insider), configurable rate limiting, and JSON file output. - Use Case: Run the scraper on AAPL, MSFT, and GOOGL to compare valuation ratios and insider activity, saving results to a JSON file for further analysis. ## Quick Start Ask the AI to fetch fundamental and technical data for the ticker AAPL from Finviz and show the results as JSON.

Frequently Asked Questions about finviz

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

FAQPage Schema
How do I scrape Finviz stock data with Python?▼

Run the fetch_quote.py script with a ticker argument, such as python scripts/fetch_quote.py --ticker AAPL. It uses requests and BeautifulSoup to parse the Finviz quote page and returns fundamentals, technicals, news, and insider trading as JSON.

Does Finviz have an official API for stock data?▼

No, Finviz does not offer an official public API. This scraper accesses publicly available HTML pages, so you should respect Finviz terms of service and apply rate limiting of at least 2 seconds between requests.

How do I fetch data for multiple stock tickers at once?▼

Pass comma-separated tickers to the --ticker flag, for example --ticker AAPL,MSFT,GOOGL. The script iterates over each ticker with the configured delay and outputs a JSON array of results.

Can I extract only fundamentals or only news from Finviz?▼

Yes, use the --fields flag with values fundamentals, technicals, news, or insider to limit extraction. The default value all returns every section including insider trading records.

Why does the Finviz scraper stop returning data?▼

Finviz can change its HTML structure, which breaks the CSS class selectors like snapshot-table2 used by the parser. Excessive request frequency can also trigger blocking, so keep the delay at 2 seconds or higher.