Google Trends Scraper avatar

Google Trends Scraper

Pricing

$19.99/month + usage

Go to Apify Store
Google Trends Scraper

Google Trends Scraper

๐Ÿ“ˆ Google Trends Scraper extracts trending topics, related topics/queries, rising & breakout keywords, plus interest over time and by region. ๐Ÿ”Ž Ideal for SEO, keyword research, content planning & market analysis. โš™๏ธ Export clean data to CSV/JSON fast.

Pricing

$19.99/month + usage

Rating

0.0

(0)

Developer

ScraperX

ScraperX

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Share

The Google Trends Scraper is a fast, reliable Google Trends data extractor that pulls clean interest-over-time timelines for your keywords directly from Google Trends. It eliminates manual checks by returning a normalized time series per keyword, configurable by time range, country, and category โ€” ideal for marketers, developers, data analysts, and researchers. Built as a Google Trends scraper Python actor using pytrends, it enables automated, repeatable monitoring at scale so you can download Google Trends data and operationalize insights in your workflows.

What data / output can you get?

Below are the exact fields this actor saves to the Apify dataset for each run. The timeline array contains one item per date with a 0โ€“100 score for each input keyword.

Data fieldDescriptionExample value
inputUrlOrTermComma-separated list of input keywords, echoed for traceability"chatgpt, AI, python"
searchTermSame as inputUrlOrTerm, for compatibility with views"chatgpt, AI, python"
interestOverTime_timelineDataArray of timeline points with date and per-keyword values[{...}, {...}]
interestOverTime_timelineData[].dateDate for the trend sample in YYYY-MM-DD format"2025-08-24"
interestOverTime_timelineData[].chatgptTrend score for โ€œchatgptโ€ at that date (0โ€“100)87
interestOverTime_timelineData[].AITrend score for โ€œAIโ€ at that date (0โ€“100)65
interestOverTime_timelineData[].pythonTrend score for โ€œpythonโ€ at that date (0โ€“100)42
interestOverTime_timelineData[].For every keyword you provide, a field with the same name appears in each timeline itemInteger 0โ€“100

Notes:

  • Granularity depends on timeRange and is determined automatically (daily for 1โ€“3 months, weekly for 12 months, monthly for 5 years; custom if you provide dates).
  • The actor drops partial flags and normalizes dates to YYYY-MM-DD.
  • You can export results from the Apify dataset in JSON, CSV, or Excel formats to support Google Trends bulk download and export Google Trends to CSV.

Key features

  • ๐Ÿš€ Multi-keyword timeline extraction
    Build one payload for multiple keywords and get synchronized interest-over-time series in a single dataset record โ€” perfect for Google Trends bulk download and keyword comparison.

  • ๐Ÿ—“๏ธ Configurable time ranges
    Choose โ€œtoday 1-mโ€, โ€œtoday 3-mโ€, โ€œtoday 12-mโ€, โ€œtoday 5-yโ€, or supply a custom range (YYYY-MM-DD YYYY-MM-DD) for historical data โ€” a practical Google Trends historical data scraper use case.

  • ๐ŸŒ Geographic and category filters
    Narrow results by country/region using geo (e.g., โ€œUSโ€) and by Google Trends category IDs.

  • ๐Ÿงฐ Smart proxy fallback & retries
    Starts without a proxy for speed, then automatically falls back to datacenter and residential proxies if blocked, with exponential backoff and up to 3 retries โ€” resilient Google Trends automation script behavior.

  • ๐Ÿงน Clean, analysis-ready output
    Dates are normalized to YYYY-MM-DD and partial flags are removed, so you can chart and model right away.

  • ๐Ÿ’พ Flexible exports on Apify
    Access and download your dataset in JSON, CSV, or Excel formats to seamlessly download Google Trends data into BI tools and notebooks.

  • ๐Ÿ‘ฉโ€๐Ÿ’ป Developer-friendly (Python + Apify SDK)
    Built with pytrends and the Apify Python SDK โ€” a pytrends Google Trends scraper you can integrate into Python scripts, APIs, and pipelines.

  • ๐Ÿ—๏ธ Production-ready reliability
    Robust logging, error handling, and proxy management designed for repeatable, scheduled runs.

  1. ๐Ÿ”‘ Sign up or log in to Apify
    Create a free Apify account or log in to your workspace.

  2. ๐Ÿ” Open the Google Trends Scraper actor
    Find โ€œGoogle Trends Scraperโ€ in your Apify dashboard or the Apify Store.

  3. ๐Ÿงพ Add your input data

    • keywords: Provide a list of one or more keywords (array of strings).
    • timeRange: Select a range like โ€œtoday 3-mโ€ (default) or another supported option.
    • geo (optional): Add a country/region code (e.g., โ€œUSโ€) or leave empty for global.
    • category (optional): Set a Google Trends category ID (0 for all categories).
  4. ๐Ÿ” Configure proxy settings (optional)
    Leave proxyConfiguration empty to start with no proxy. If needed, set useApifyProxy to true โ€” the actor will fall back to datacenter and residential groups automatically when blocked.

  5. โš™๏ธ Optional parameters
    sortOrder and maxComments are included in the input schema for compatibility but are not used by the current scraping logic.

  6. โ–ถ๏ธ Run the actor
    Click Start. The actor fetches interest-over-time data for your keywords and selected configuration with automatic retries and proxy fallback.

  7. ๐Ÿ“ค View and export results
    Once complete, open the runโ€™s Dataset. Export to JSON, CSV, or Excel for analysis, dashboards, or downstream automations.

Pro tip: Choose your timeRange intentionally โ€” โ€œtoday 3-mโ€ yields ~90โ€“93 daily points, โ€œtoday 12-mโ€ yields ~52 weekly points, and โ€œtoday 5-yโ€ yields ~60 monthly points.

Use cases

Use case nameDescription
SEO trend monitoringTrack changing keyword interest daily/weekly/monthly to time content and campaigns.
Content planningPrioritize topics backed by historical demand for higher engagement and organic reach.
Market researchMeasure interest patterns across countries and categories to identify emerging opportunities.
Product demand trackingFollow normalized trend signals (0โ€“100) to inform merchandising and inventory decisions.
Academic & data scienceFeed clean time series into models for forecasting, seasonality, and anomaly detection.
API/data pipeline integrationPull from the Apify dataset API to power dashboards, alerts, and automated reports in your Google Trends scraping tool stack.

Built for precision, automation, and reliability, this actor returns clean timelines you can trust for analysis and forecasting.

  • ๐ŸŽฏ Accurate, normalized signals โ€” Clean 0โ€“100 scores and normalized dates ready for modeling.
  • ๐ŸŒŽ Flexible filtering โ€” Configure timeRange, geo, and category to match your research scope.
  • ๐Ÿ“ฆ Easy exports โ€” Download results from the Apify dataset as JSON, CSV, or Excel.
  • ๐Ÿ‘ฉโ€๐Ÿ’ป Developer access โ€” Python-based implementation using pytrends and Apify SDK for seamless integration (great for Google Trends API Python workflows).
  • ๐Ÿ›ก๏ธ Safe & responsible โ€” Uses public Google Trends data; no login, cookies, or private data involved.
  • โšก Resilient infrastructure โ€” Automatic retries, backoff, and proxy fallback for stable runs at scale.
  • ๐Ÿ” Production-ready alternative โ€” Avoid copy-paste and unreliable extensions with a dependable Google Trends scraper GitHub alternative powered by Apify.

Yes โ€” when done responsibly. This actor collects aggregated, public data from Google Trends and does not access personal or private information.

Guidelines for compliant use:

  • Use data responsibly and in accordance with Googleโ€™s terms of service.
  • Avoid excessive request rates or abusive behavior.
  • Ensure your use complies with applicable laws and internal policies (e.g., GDPR, CCPA).
  • Do not attempt to access private or authenticated data.
  • For edge cases or large-scale deployments, consult your legal team.

Input parameters & output format

Example input JSON

{
"keywords": ["chatgpt", "AI", "python"],
"timeRange": "today 3-m",
"geo": "US",
"category": 0,
"sortOrder": "",
"maxComments": 100,
"proxyConfiguration": {
"useApifyProxy": false
}
}

Parameter reference (from the input schema):

  • keywords (array of string) โ€” List of keywords or search terms to analyze trends for (supports bulk input). Required: Yes. Default: none. Min items: 1.
  • timeRange (string) โ€” Time range for the trends data. Data granularity varies by range: โ€˜today 1-mโ€™ โ†’ ~30 daily, โ€˜today 3-mโ€™ โ†’ ~90โ€“93 daily, โ€˜today 12-mโ€™ โ†’ ~52 weekly, โ€˜today 5-yโ€™ โ†’ ~60 monthly, or custom โ€˜YYYY-MM-DD YYYY-MM-DDโ€™. Required: No. Default: "today 3-m". Options: ["today 1-m", "today 3-m", "today 12-m", "today 5-y"].
  • geo (string) โ€” Geographic location code (e.g., โ€œUSโ€). Leave empty for global. Required: No. Default: "".
  • category (integer) โ€” Google Trends category ID (0 for all categories). Required: No. Default: 0.
  • sortOrder (string) โ€” Sort order for results (optional). Required: No. Default: "". Options: ["", "relevance", "date"]. Note: Not used by current scraping logic.
  • maxComments (integer) โ€” Maximum number of comments to retrieve (optional). Required: No. Default: 100. Note: Not used by current scraping logic.
  • proxyConfiguration (object) โ€” Configure proxy settings. Actor will start with no proxy and fallback to datacenter/residential if blocked. Required: No. Default (prefill): {"useApifyProxy": false}.

Example output JSON

{
"inputUrlOrTerm": "chatgpt, AI, python",
"searchTerm": "chatgpt, AI, python",
"interestOverTime_timelineData": [
{
"date": "2025-08-24",
"chatgpt": 87,
"AI": 65,
"python": 42
},
{
"date": "2025-08-25",
"chatgpt": 96,
"AI": 72,
"python": 48
}
]
}

Notes:

  • Each timeline item includes a date and one field per input keyword with a 0โ€“100 score.
  • The actor drops partial flags and normalizes dates to โ€œYYYY-MM-DDโ€ for consistency.

FAQ

You can run the actor on Apify; usage depends on your plan and any actor-specific pricing. Check the Apify Store listing for current pricing and available trial minutes.

What data does this actor extract?

It returns interest-over-time timelines (0โ€“100) for your input keywords, with one record containing a date field and a value per keyword for each time point.

Can I analyze multiple keywords at once?

Yes. Provide an array of keywords in the keywords input; the output includes a field for each keyword in every timeline item.

How granular is the data?

Granularity depends on timeRange: โ€œtoday 1-mโ€ yields ~30 daily points, โ€œtoday 3-mโ€ yields ~90โ€“93 daily points, โ€œtoday 12-mโ€ yields ~52 weekly points, and โ€œtoday 5-yโ€ yields ~60 monthly points.

Can I filter by country or category?

Yes. Use geo to specify a country/region code (e.g., โ€œUSโ€), and category to set a Google Trends category ID (0 for all categories).

Does it handle proxies automatically?

Yes. The actor starts without a proxy and will fall back to datacenter and then residential proxies if it encounters blocks, with retry and backoff logic.

Can I export results to CSV or Excel?

Yes. Open the runโ€™s Dataset on Apify to export your results in JSON, CSV, or Excel formats โ€” an easy way to export Google Trends to CSV for analysis.

Is there Python or API support?

Yes. This is a Google Trends scraper Python implementation built with pytrends and the Apify SDK. You can pull results via the Apify dataset API to integrate with pipelines and dashboards.

Yes, when done responsibly. The actor accesses public, aggregated data and does not use private or authenticated sources. Ensure your usage complies with Googleโ€™s terms and applicable laws.

Closing CTA / Final thoughts

The Google Trends Scraper is built to deliver clean, reliable interest-over-time timelines for your keywords. With flexible time ranges, geo/category filters, and robust proxy fallback, it equips marketers, analysts, researchers, and developers with analysis-ready data. Export to JSON/CSV/Excel from the Apify dataset, or plug runs into your Python and API pipelines for a dependable Google Trends scraping tool. Start extracting smarter trend signals and turn search interest into actionable insights today.