Skip to main content gottem  — one API for every scraper.
Finance
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
Quick start

Extract data in minutes.

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
Fetch API

One endpoint for fool.com.

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

POST /fetch/fool.com/
Article titleAuthorStock picksPublished dateCategoryTicker mentions
cURL
curl -X POST https://api.spider.cloud/fetch/fool.com/ \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_format": "json"}'
Python
import requests

resp = requests.post(
    "https://api.spider.cloud/fetch/fool.com/",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
    },
    json={"return_format": "json"},
)
print(resp.json())
Node.js
const resp = await fetch("https://api.spider.cloud/fetch/fool.com/", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ return_format: "json" }),
});
const data = await resp.json();
console.log(data);
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.