Extract Trending Keywords from Google Trends
Extract trending search keywords from Google Trends for any country with structured JSON output for SEO and market research.

TypeScript
Source codenpx create-browser-app --template google-trends-keywords
Python
Source codeuvx create-browser-app --template google-trends-keywords
Automate Google Trends keyword extraction for market research
Automatically extract trending search keywords from Google Trends for any country or language. This template navigates to Google Trends, handles consent dialogs, and extracts trending topics with rank positions using Zod schema validation. Perfect for SEO keyword research, content strategy planning, competitive intelligence, and tracking emerging market trends across different regions.
Steps
- Initialize Stagehand session with Browserbase
- Navigate to Google Trends trending page with configured country and language
- Extract trending keywords with rank positions using structured Zod schema
- Output formatted JSON with country code, language, timestamp, and keyword list