Stockanalysis Scraper avatar

Stockanalysis Scraper

Pricing

from $10.00 / 1,000 result items

Go to Apify Store
Stockanalysis Scraper

Stockanalysis Scraper

Pricing

from $10.00 / 1,000 result items

Rating

0.0

(0)

Developer

Fortuitous Pirate

Fortuitous Pirate

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Categories

Share

StockAnalysis.com Scraper

An Apify actor for scraping comprehensive financial data from StockAnalysis.com.

Features

  • Stock quotes and overview data
  • Financial statements (income statement, balance sheet, cash flow)
  • Valuation statistics and ratios
  • Analyst forecasts and price targets
  • Dividend information
  • Revenue data
  • IPO calendar (recent and upcoming)
  • Earnings calendar

Input

{
"tickers": ["AAPL", "MSFT", "GOOGL"],
"dataTypes": ["overview", "financials", "statistics", "forecast"],
"maxRequestRetries": 3,
"requestHandlerTimeoutSecs": 60
}

Input Parameters

ParameterTypeRequiredDefaultDescription
tickersarrayYes["AAPL"]Stock ticker symbols
dataTypesarrayNo["overview", "financials"]Types of data to scrape
maxRequestRetriesintegerNo3Max retries for failed requests
requestHandlerTimeoutSecsintegerNo60Request timeout in seconds

Available Data Types

Per-Ticker Data:

  • overview - Stock quote, key metrics, analyst rating
  • financials - Income statement
  • balance-sheet - Balance sheet
  • cash-flow - Cash flow statement
  • ratios - Financial ratios
  • statistics - Comprehensive valuation and trading statistics
  • forecast - Analyst estimates and price targets
  • company - Company profile
  • dividend - Dividend history and yield
  • revenue - Revenue data

Global Data (no ticker needed):

  • ipos - Recent and upcoming IPOs
  • earnings-calendar - Earnings report dates

Output Examples

Overview

{
"ticker": "AAPL",
"type": "overview",
"metrics": {
"Market Cap": "3.81T +5.9%",
"Revenue (ttm)": "435.62B +10.1%",
"PE Ratio": "32.91",
"Dividend": "$1.04 (0.40%)"
},
"analystRating": {
"consensus": "Buy",
"priceTarget": 298.75
}
}

Financials

{
"ticker": "AAPL",
"type": "financials",
"periods": ["TTM", "FY 2025", "FY 2024", "FY 2023"],
"metrics": {
"Revenue": ["435617", "416161", "391035", "383285"],
"Net Income": ["117777", "112010", "93736", "96995"],
"EPS (Diluted)": ["7.88", "7.46", "6.08", "6.13"]
}
}

IPOs

{
"type": "ipos",
"recent": [
{
"date": "Jan 30, 2026",
"symbol": "MEVO",
"company": "M Evo Global Acquisition Corp II",
"ipoPrice": "$10.00",
"currentPrice": "$10.03",
"return": "0.30%"
}
]
}

Local Testing

# Install dependencies
npm install
# Run test script
node test.js
# Run as Apify actor
APIFY_LOCAL_STORAGE_DIR=./apify_storage node src/main.js

Notes

  • The scraper uses Cheerio for HTML parsing (no browser required)
  • StockAnalysis.com uses server-side rendering, so data is embedded in HTML
  • Rate limiting is handled automatically by Crawlee
  • Financial values are in millions unless otherwise noted