Macrotrends Scraper | Stock Financials and Historical Data
Pricing
from $19.00 / 1,000 results
Macrotrends Scraper | Stock Financials and Historical Data
Pull historical stock prices, financial statements, ratios, and macroeconomic charts from Macrotrends. Track revenue, earnings, margins, debt, dividends, and cash flow across decades for any public company. Perfect for analysts, investors, and quant research workflows worldwide.
Pricing
from $19.00 / 1,000 results
Rating
0.0
(0)
Developer
ParseForge
Maintained by CommunityActor stats
0
Bookmarked
5
Total users
0
Monthly active users
6 hours ago
Last modified
Categories
Share

๐ Macrotrends Scraper
๐ Export decades of financial and macro data in seconds. Scrape stock revenue, earnings, PE ratios, GDP, inflation, unemployment, and 1,000+ other historical time-series from Macrotrends - no API key required, fully automated.
The Macrotrends Scraper extracts historical time-series data directly from Macrotrends chart pages. It supports both stock financial charts (revenue, EPS, PE ratio, free cash flow, and more) and global macro charts (GDP, inflation, unemployment, interest rates). Data is parsed from the embedded JavaScript data layer - no browser required, results in seconds.
The dataset covers S&P 500 companies with quarterly and annual data going back to the 1970s for stocks, and annual macro data from the 1960s onward for countries worldwide.
Coverage
- Stock charts: Revenue, Net Income, EPS, PE Ratio, Free Cash Flow, Gross Profit, EBITDA, and 100+ other metrics for any ticker on Macrotrends
- Macro charts: GDP, Inflation (CPI), Unemployment, Interest Rates, National Debt, and more for 200+ countries
- History: Up to 50+ years of quarterly or annual data per series
- 7 output fields per record including date, value, metric name, ticker, source URL, and timestamp
Target Audience / Use Cases
| Who | How they use it |
|---|---|
| Financial analysts | Build revenue and earnings models for public companies |
| Economists | Track macro trends across countries and time periods |
| Quant researchers | Backtest strategies using historical PE ratios and earnings data |
| Data journalists | Verify and visualize long-run economic narratives |
| Business intelligence teams | Enrich dashboards with external benchmarks |
| Academic researchers | Collect ground-truth financial data for studies |
๐ What the Macrotrends Scraper does
- Scrapes any Macrotrends stock chart URL (e.g. Apple Revenue, Tesla PE Ratio, Microsoft EPS)
- Scrapes any Macrotrends global-metrics URL (e.g. US GDP, Germany Inflation, Japan Unemployment)
- Returns one record per time period with date, value, metric name, and ticker
- Automatically detects URL type and selects the correct data extraction path
- Limits output to
maxItemsfor cost control; free users get up to 10 records as a preview
๐ก Why it matters: Macrotrends is one of the richest free sources of historical financial and macro data on the internet. This scraper makes that data programmatically accessible for any workflow - financial modeling, macro research, dashboard enrichment, or academic study.
๐ Data fields
Each record includes: date, metric, results, scrapedAt, ticker, url, value. These field names come straight from the actor's dataset schema, so what you see here is what lands in your dataset.
๐ How to use
- Create a free Apify account with $5 in free credit
- Open this Actor in the Apify Console
- Paste any Macrotrends chart URL into the
startUrlfield - Set
maxItemsto control how many records you want (10 for preview, or higher for full history) - Click Start and wait a few seconds
- Download your dataset as CSV, Excel, JSON, or XML
๐ Recommended Actors
| Actor | Description |
|---|---|
| HUD User Data Scraper | Scrape US housing data from HUD including fair market rents and income limits |
| FINRA BrokerCheck Scraper | Extract financial advisor and broker records from FINRA |
| USGS Earthquake Scraper | Real-time and historical seismic data from USGS |
| EPA AQS Air Quality Scraper | Air quality monitoring data from the EPA AQS database |
| World Bank Data Scraper | 16,000+ World Bank economic indicators by country |
๐ก Pro Tip: browse the complete ParseForge collection to find scrapers for financial data, government databases, job boards, and more.
Disclaimer: This actor is not affiliated with, endorsed by, or sponsored by Macrotrends. It accesses only publicly available data. Use in accordance with Macrotrends' terms of service and applicable laws. Data accuracy depends on the source; always verify critical figures before use in financial decisions.
๐ Need Help?
If you hit a bug, have questions about setup, or need a scraper we haven't built yet, open our contact form or write to parseforge@protonmail.com. We also take on paid custom data projects.
For faster answers, join our Discord. It's the best place to get support and suggest new actors.