Skip to main content
AI Studio  add-on for Spider.
Finance
gurufocus.com Verified

GuruFocus Scraper

Track guru investor portfolios, value stock screeners, and intrinsic value calculations from GuruFocus. Built on spider-browser .

Get started Docs
target
gurufocus.com
success rate
99.9%
latency
~4ms
POST /fetch/gurufocus.com/
return_format
curl -X POST https://api.spider.cloud/fetch/gurufocus.com/ \
  -H "Authorization: Bearer $SPIDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_format": "json"}'
200 OK · cache hit · response shape
{
  "url": "https://gurufocus.com/",
  "status": 200,
  "data": {
    "guru_name": "string",
    "stock": "string",
    "action": "string",
    "shares": "string",
    "portfolio_weight": "string",
    "value_score": "string",
    "gf_value": "string",
    "margin_of_safety": "string"
  }
}
Quick start

Extract data in minutes.

Structured JSON from gurufocus.com with a single POST. AI-resolved selectors, cached on the first call.

gurufocus-scraper.ts
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 to run · spider-browser · TypeScript
Extraction

Fields you can pull.

Guru nameStockActionSharesPortfolio weightValue scoreGF valueMargin of safety
Data

Market data capture

Extract real-time quotes, charts, and financial metrics from gurufocus.com.

Rendering

Dynamic charts

Full browser rendering for interactive charts, tables, and streaming tickers.

Scale

Bulk screening

Process thousands of tickers and financial instruments concurrently.

Related

More Finance scrapers.

Start

Start scraping gurufocus.com.

Grab an API key and call the endpoint above. The first request resolves the config; every request after hits cache.