google trends data

Update 3.1.2020: The API to google trends is not supported any more.
Script response:

Bases on the pytrends script, you get the following results from google trends:

(If you experience a “year is out of range” message, check this stackoverfow issue.)

From pytrends manual:

  • Advanced Keywords
    • When using Google Trends dashboard Google may provide suggested narrowed search terms.
    • For example "iron" will have a drop down of "Iron Chemical Element, Iron Cross, Iron Man, etc".
    • Find the encoded topic by using the get_suggestions() function and choose the most relevant one for you.
    • For example:
    • "%2Fm%2F025rw19" is the topic “Iron Chemical Element” to use this with pytrends
    • You can also use pytrends.suggestions() to automate this.

Relate Queries

query with parameter:


Google Note: Users who searched for your term also searched for these terms. You can see the following measured values:

  • Top – Most popular search terms: The values ​​are given on a relative scale. The value 100 is given for the most frequently searched term. The value 50 is for search terms that were searched half as often, and the value 0 is for terms that are less than 1% of the queries compared to the most popular search terms.
  • Increasingly – search terms with the highest increase in search frequency since the last period. Results marked as “outliers” show significant increases, which are presumably due to the fact that these topics are new and have not been searched for, or only little, after them.

Interest over Time


Google Note: Interest over time: The values indicate the search interest relative to the highest point in the graph for the selected region in the specified time period. The value 100 stands for the highest popularity of this search term. The value 50 means that the term was half as popular and the value 0 corresponds to a popularity of less than 1% compared to the maximum value.


Intrest by region


Google Note: Interest in sub-region: You can see where your term was most popular within the specified period. The values are classified on a scale from 0 to 100. The value 100 is assigned to the location, where the total number of search queries is the most popular. The value 50 indicates a location with half the popularity and the value 0 represents a location where the term is less than 1% of the popularity compared to the maximum. A higher value does not mean that there are more search queries , But the share of all search requests is higher. In a small country, where 80% of the search queries contain the word “bananas”, the double score is achieved, as in a large country where only 40% of the search queries contain the word “bananas”.






About ralf

I studied Geology at University Erlangen and got my PhD (bio-nanotechnology) at TU Dresden. In my spare time i program simulations and tinker around with data prediction methods. Frisbee is my favorite sport and i play guitar when my friends and i meet to make some music.
This entry was posted in database and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.