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

The Motley Fool Scraper

Extract stock recommendation articles, portfolio performance data, and investing guides from The Motley Fool. Built on spider-browser .

Get started Docs
target
fool.com
success rate
99.9%
latency
~4ms
POST /fetch/fool.com/
return_format
curl -X POST https://api.spider.cloud/fetch/fool.com/ \
  -H "Authorization: Bearer $SPIDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_format": "json"}'
200 OK · cache hit · response shape
{
  "url": "https://fool.com/",
  "status": 200,
  "data": {
    "article_title": "string",
    "author": "string",
    "stock_picks": "string",
    "published_date": "string",
    "category": "string",
    "ticker_mentions": "string",
    "rating": "string",
    "summary": "string"
  }
}
Quick start

Extract data in minutes.

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

motley-fool-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.fool.com/investing/stock-market/");
await page.content();

const data = await page.evaluate(`(() => {
  const articles = [];
  document.querySelectorAll("article[data-id]").forEach(el => {
    const title = el.querySelector("h5 a")?.textContent?.trim();
    const author = el.querySelector(".author-name")?.textContent?.trim();
    const date = el.querySelector("time")?.getAttribute("datetime");
    const link = el.querySelector("h5 a")?.getAttribute("href");
    if (title) articles.push({ title, author, date, link });
  });
  return JSON.stringify({ total: articles.length, articles: articles.slice(0, 10) });
})()`);

console.log(JSON.parse(data));
await spider.close();
ready to run · spider-browser · TypeScript
Extraction

Fields you can pull.

Article titleAuthorStock picksPublished dateCategoryTicker mentionsRatingSummary
Data

Market data capture

Extract real-time quotes, charts, and financial metrics from fool.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 fool.com.

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