GuruFocus Scraper
Spider read gurufocus.com in 6.1 s without a browser and returned 1,113 lines of clean markdown, including sections like "Are there model portfolios based on Guru strategies?", "Can I screen for stocks based on Guru trades?" and "Are there Guru-related tutorials?".
* Guru Lists - Compile a list of Gurus you are interested in and get notified anytime one of them files a new trade.* Stock alerts - Get notified anytime any Guru buys or sells a stock you are watching.* Screener alerts - Set up a screener that finds stocks based on Guru activity and get notified anytime a new company enters or exits your screener results.* Portfolio alerts - Get notified anytime there is Guru buying or selling activity across your entire portfolio or watchlist.### Are there model portfolios based on Guru strategies?Yes! There are several Guru-based model portfolios to explore under our Tools section.### Can I screen for stocks based on Guru trades?Absolutely. You can either build a Guru-focused screener from scratch or layer Guru-based filters onto one of our premade screens. Just click on the Gurus tab on the screener or use the search bar to find a specific filter.### Are there Guru-related tutorials?Definitely. We have guided walkthroughs in our Demo Center as well as instructional videos on our YouTube channel.### Should I just copy Guru trades?No. Guru trades should be used as an idea-generation and research tool, not as automatic buy or sell signals. The most effective approach is to combine Guru insights with other fundamental analysis and valuation tools before making investment decisions.## Discussions on Guru PortfoliosAll-In-One ScreenerStock IdeasStock ListGuru ListGuru Real-Time PicksInsider ListInsider TradesEconomic IndicatorsSector & Industry PerformanceDCF CalculatorCalculatorsDiscussion BoardPricing PlansExcel Add-InGoogle Sheets Add-onData APIStock Comparison TableManual of StocksInstant AlertsMobile AppNewsletters Signup中文Financial GlossaryTutorialsFAQBuffett IndicatorShiller P/EYield Curve TodayU.S. Inflation RateGlobal Market ValuationFed Net LiquidityBuffett Assets Allocation The same call, in code.
The capture above came back as markdown. These examples add a key, so you get browser rendering, proxies, and concurrency on gurufocus.com.
import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://www.gurufocus.com/guru/warren+buffett/stock-picks");
// No selectors, no schema. Spider reads the page and names the fields.
const data = await page.scrape();
console.log(data);
await spider.close(); import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
stealth: 2,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://www.gurufocus.com/guru/warren+buffett/stock-picks");
await page.content();
const data = await page.evaluate(`(() => {
const holdings = [];
document.querySelectorAll("table.stock-picks tbody tr").forEach(el => {
const stock = el.querySelector("td:nth-child(1) a")?.textContent?.trim();
const weight = el.querySelector("td:nth-child(2)")?.textContent?.trim();
const shares = el.querySelector("td:nth-child(3)")?.textContent?.trim();
const action = el.querySelector("td:nth-child(4)")?.textContent?.trim();
if (stock) holdings.push({ stock, weight, shares, action });
});
return JSON.stringify({ total: holdings.length, holdings: holdings.slice(0, 15) });
})()`);
console.log(JSON.parse(data));
await spider.close(); Ready for volume? Get an API key →
Fields you can pull.
Spider names these from the page. The capture above came back as markdown; the same
call with return_format: "json" returns them as keys.
What gurufocus.com costs to scrape.
The capture above cost $0.000459 to fetch. Pricing is $1 per GB of pre-transformation bandwidth plus $0.001 per CPU minute, so a page like this one lands at a fraction of a cent. Failed requests are billed at $0.
- Free balance on signup
- No card required to test
- Balance never expires
Run it keyless, no account
More Finance scrapers.
Yahoo Finance Scraper
Extract stock quotes, financial statements, analyst ratings, and market news from Yahoo Finance.
Google Finance Scraper
Extract stock quotes, market indices, and financial news from Google Finance.
CoinGecko Scraper
Extract cryptocurrency prices, market caps, volume data, and historical charts from CoinGecko.
Start scraping gurufocus.com.
You already have the call. A key raises the rate limit and turns on browser rendering, proxies, and concurrency. Balance never expires, and top-ups go through secure checkout.