Google Trends Scraper
Spider read trends.google.com in 218 ms without a browser and returned 115 lines of clean markdown, including the section "Google Trends".
# Google TrendsOur new report on this summer’s defining trends, based on US Google Trends data.](https://trends.withgoogle.com/trends/summergeist/?hl=en-US)See the sprouting Trends](https://trends.withgoogle.com/trends/us/gardening/?hl=en-US)See how Google Trends is being used across the world, by newsrooms, charities, and moreHow is AI changing the way we search? New data from the Google teamVisit](https://storage.googleapis.com/gweb-uniblog-publish-prod/documents/AI-Mode-US-Insights.pdf)What happens when you add data and birds into the equation? The latest visual by Nadieh Bremer is her most ambitious yet, an exploration of Google Trends data and birding across America.Visit](https://searchingforbirds.visualcinnamon.com/)What is Trending right now on Google around the world. See it visualised with our new screensaverVisit](https://trends.google.com/tv/?rows=3&cols=4)Visualizing Google Trends dataWelcome to our data visualization project: where the Trends Data Team works with the best designers around the world to tell stories with data — and make the results open sourceVisit](https://trends.withgoogle.com/trends/us/visualizing-google-trends-data/)See what's spiking in Google Trends where you liveVisit](https://trends.google.com/trending)A visual exploration of Google searches for the interpretation of dreamsVisit](https://the-shape-of-dreams.com/#/)A visual essay of what we're searching for throughout the day, night, and in betweenVisit](https://searchingthe.world/)OECD Weekly Tracker of Economic ActivityFrom the OECD: The Weekly Tracker provides an estimate of weekly GDP based on Google Trends search data and machine learning.Visit](https://www.oecd.org/economy/weekly-tracker-of-gdp-growth/)New to Trends? Browse these resources to learn what it can do and how to use it.Google Trends advanced tipsPrivacyTermsSend feedbackAboutThis site uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic 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 trends.google.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://trends.google.com/trending?geo=US");
// 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://trends.google.com/trending?geo=US");
await page.content(10000);
const data = await page.evaluate(`(() => {
const trends = [];
document.querySelectorAll("table tbody tr, [role='listitem']").forEach(el => {
const topic = (el.querySelector("td:nth-child(2)") ||
el.querySelector("a[href*='/trends/'] span"))?.textContent?.trim();
const volume = (el.querySelector("td:nth-child(3)") ||
el.querySelector("[aria-label*='search']"))?.textContent?.trim();
const started = (el.querySelector("td:nth-child(4)") ||
el.querySelector("time"))?.textContent?.trim();
if (topic) trends.push({ topic, volume, started });
});
return JSON.stringify({ total: trends.length, trends: trends.slice(0, 20) });
})()`);
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 trends.google.com costs to scrape.
The capture above cost $0.001265 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 Search scrapers.
Google Scraper
Extract Google Search results, knowledge panels, featured snippets, People Also Ask, and full SERP data programmatically. Geo-targeted proxies from 195+ countries for localized results.
Google Play Scraper
Extract app listings, ratings, reviews, download counts, and developer info from Google Play Store.
Google Maps Scraper
Extract business listings, reviews, ratings, contact info, hours, and location data from Google Maps. Full browser rendering handles map interfaces and infinite scroll.
Start scraping trends.google.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.