Google Trends API

Stay on top of the market by scraping Google Trends in real time.

Google trends is a tool that returns data about the popularity of search queries. Being able to scrape Google Trends can give you an advantage over your competition or can be used in various marketing campaigns.

Scrape Google Trends Page

We will use following URL as an example for this request:

#1: Query Parameter

Parameter
Type
Description

q

string

The keyword that you are searching for (the query).

#2: Request Customization Parameters

Parameter
Type
Description

geo

string

The location you want to find the results for. It defaults to worldwide. For a full list of supported geo options, feel free to check our list.

date

string

You must use the format YYYY-MM-DD YYYY-MM-DD or one of the predefined values:

  • now 1-H, past 1 hour

  • now 4-H, past 4 hours

  • now 1-d, past day

  • now 7-d, past 7 days

  • today 1-m, past 30 days

  • today 3-m, past 90 days

  • today 12-m, past 12 months (default)

  • today 5-y , past 5 years

cat

string

This is the category parameter. You can find the full list of Google Trends categories here.

gprop

string

This parameter specifies the Google property to filter on. Possible values are:

  • images

  • news

  • froogle (for Google Shopping)

  • youtube

If unspecified, it defaults to web search.

Response Example

Last updated