Google Trends is a website by Google that analyzes the popularity of top search queries in Google Search across various regions and languages. The website uses graphs to compare the search volume of different queries over time.

Hello there!

In this article, i’ll show you how to use the “Unofficial API for Google Trends” known as “Pytrends”.

It is good to know that: since —pytrends is a pseudo API for Google Trends, it may not work anymore if Google decides to change their backend in that specific module.

Before we get into it. You will need:

  • Python 2.7+ (I’m using 3.9.2).
  • pip (I’m using pip3).

Since we have Python and…

Matheus Leite

Just me.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store