Advanced Google Trending Searches avatar

Advanced Google Trending Searches

Try for free

3 days trial then $9.99/month - No credit card required now

View all Actors
Advanced Google Trending Searches

Advanced Google Trending Searches

dainty_screw/advanced-google-trending-searches
Try for free

3 days trial then $9.99/month - No credit card required now

Gather daily search trends and related queries from Google Trends. Configure settings for country, duration, and the maximum results. Enjoy unrestricted access with no quotas.

This scraper is designed to extract data from Daily Search Trends in the Trending Searches section on Google Trends. It creates a Google Trending Searches API that is not constrained by the quotas or limits imposed by Google Trends.

Features

Why use our Google Trending Searches API to extract information from Google Trends?

  • The data you get from this scraper is flat and not nested in JSON format.
  • The data it outputs is designed to be CSV friendly, so you can immediately use it in spreadsheets, applications, reports, or other Apify actors.
  • You can select your own time frame by setting "to" and "from" dates".
  • You can freely select the region or regions to be scraped.
  • You can easily use our scheduler to scrape data when you need it.
  • Our scraper is not limited by the unpredictable quotas or limits imposed by Google Trends.

Note that Google Trending Searches can only provide data going back 29 days, so our API cannot overcome this limitation.

If you use Google Trending Searches Scraper with our Google Trends Scraper, you can get a lot of useful data from Google Trends and use it for market research or search engine optimization. If you need inspiration, check out some of the use cases suggested on our Marketing & Media industries page or read our blog post about using Apify Store to power your SEO toolbox.

You can also combine this actor with tools such as our Google Sheets Import & Export to automatically feed the data into Google Sheets.

The data extracted can be downloaded in a range of formats, including JSON, CSV, XML, HTML, and Excel.

Cost of usage

Running the Google Trending Searches Scraper will consume platform credits. Every Apify subscription plan includes a set monthly USD amount of platform credits. If you require more, you will have to upgrade your plan. Check our platform pricing and subscription plan pages for details.

You can expect to spend less than $0.10 for 1,000 results, so your monthly free platform credits should be enough for many actor runs. The best way to find out how many platform credits an actor will consume is to perform a test run. You can then review platform usage in Billing and figure out the best Apify subscription plan for your needs.

If you want something special or require end-to-end service, you can also request a custom solution.

Tutorial

Check out our step-by-step guide to using the Google Trending Searches Scraper or email us at support@apify.com if you need any help.

You can also join the conversation on our Discord server, where the Apify team and community regularly discuss web scraping tips and tricks.

Input and Output

This actor has been developed to take advantage of the new extended output functionality of the Apify platform. That means that your selected input parameters directly impact the output datasets.

Input:

1{
2    "outputMode": "complete", // can be queries or articles
3    "geo": "US", // 2 letter ISO code for country, not every country is supported
4    "fromDate": "2 day", // from 2 days ago
5    "toDate": "3 day", // until 3 days ago
6    "proxy": { // required!
7        "useApifyProxy": true
8    }
9}

You can choose from four different output modes:

  • Complete: this scrapes everything along with nested articles (note that this is not Excel or CSV friendly)
1{
2  "query": "Lady Gaga",
3  "exploreLink": "https://trends.google.com/trends/explore?q=Lady+Gaga&date=now+7-d&geo=US",
4  "geo": "US",
5  "date": "2021-01-20T03:00:00.000Z",
6  "formattedTraffic": 1000000,
7  "relatedQueries": [
8    {
9      "query": "Jennifer Lopez",
10      "exploreLink": "https://trends.google.com/trends/explore?q=Jennifer+Lopez&date=now+7-d&geo=US"
11    }
12    // ...
13  ],
14  "articles": [
15    {
16      "title": /**/,
17      "timeAgo": "12h ago",
18      "source": /**/,
19      "image": {
20        "newsUrl": /**/,
21        "source": /**/,
22        "imageUrl": "https://t1.gstatic.com/images?q=tbn:ANd9GcTXemenozGptpcdEIVEqXAce5xohz46QYgrLgN_8jAjNyLanDyhJvDtkFXoDXwbWMBLnU4funD7"
23      },
24      "url": /**/,
25      "snippet": "Lady Gaga belted out the national anthem Wednesday in a very Gaga way — with flamboyance, fashion and passion. Watch her performance here."
26    }
27    // ...
28  ]
29}
  • Queries: this scrapes only queries, related queries, and traffic information (CSV or Excel friendly)
1{
2  "parentQuery": "Inauguration",
3  "parentExploreLink": "https://trends.google.com/trends/explore?q=Inauguration&date=now+7-d&geo=US",
4  "query": "Inauguration Day",
5  "exploreLink": "https://trends.google.com/trends/explore?q=Inauguration+Day&date=now+7-d&geo=US",
6  "date": "2021-01-19T03:00:00.000Z",
7  "geo": "US",
8  "formattedTraffic": null
9}
  • Related queries only: this is a stripped-down version of queries that only scrapes related queries
1{
2  "parentQuery": "Nets",
3  "parentExploreLink": "https://trends.google.com/trends/explore?q=Nets&date=now+7-d&geo=US",
4  "query": "Brooklyn Nets",
5  "exploreLink": "https://trends.google.com/trends/explore?q=Brooklyn+Nets&date=now+7-d&geo=US",
6  "date": "2021-01-19T03:00:00.000Z",
7  "geo": "US"
8}
  • Articles: just returns one article per dataset item
1{
2  "query": "Lady Gaga",
3  "exploreLink": "https://trends.google.com/trends/explore?q=Lady+Gaga&date=now+7-d&geo=US",
4  "title": "This Is the Lipstick Lady Gaga Wore for Her Inauguration Performance",
5  "timeAgo": "9h ago",
6  "source": "Glamour",
7  "image": {
8    "newsUrl": "https://www.glamour.com/story/lady-gaga-inauguration-performance-lipstick",
9    "source": "Glamour",
10    "imageUrl": "https://t2.gstatic.com/images?q=tbn:ANd9GcQdek3suLs_WBYf6UmwHpR80xiQRAU6WQGx5DCz67so8-uTyWmTQ5X7FrxY6tCbTSdieOAoWV6-"
11  },
12  "url": "https://www.glamour.com/story/lady-gaga-inauguration-performance-lipstick",
13  "snippet": "Here's the bold lip crayon that held up during Lady Gaga's inauguration performance. That red color was such a moment.",
14  "date": "2021-01-20T03:00:00.000Z",
15  "formattedTraffic": 1000000,
16  "geo": "US"
17}

Limitations

Google Trending Searches can only provide data up to 29 days ago.

License

Apache 2.0

Developer
Maintained by Community
Actor metrics
  • 4 monthly users
  • 1 star
  • 100.0% runs succeeded
  • Created in Apr 2024
  • Modified 2 months ago