Google Trends API Python Tutorial - Search Volume And Trending Keywords

preview_player
Показать описание
Long gone are the days of getting data manually through the google trends website now that you know how to automate google trends to get relative search volume and trending keyword data for keyword research, product research, and traffic analysis by using pytrends in python.

All the code can be found on my Github below.

00:00 intro
0:48 open the docs
1:04 pip install pytrends
1:37 connect to google
2:00 setting keyword lists
2:10 building a payload
2:54 get interest over time
3:45 using different timeframes
5:06 using a specific timeframe
5:29 *** DATA WARNING ***
6:07 LET'S KEEP SENDING IT
6:12 interest by region
6:30 get related topics
6:41 it be like that sometimes
7:46 get related queries
8:29 get trending searches
8:52 just what I expected
9:08 get top charts
9:26 get keyword suggestions (WARNING, SUS)
9:40 get categories

- - -

Subscribe to join our community and receive value on all things finance and technology!

If you love the content, buy me a coffee!

Keep up with me!

- - -

Need some ideas for your project portfolio?

Check out how to get historical option price data in Python from the Polygon API.

Here's how to quickly get crypto data in Python from the CoinGecko API

Here's how to create a SQL database from a Pandas DataFrame in Python

- - -

Рекомендации по теме
Комментарии
Автор

6:07 LET'S KEEP SENDING IT.
Subscribe to join our community and receive value on all things finance and technology!

If you love the content, buy me a coffee!

Keep up with me!

damgetbags
Автор

Hey Adam sorry to ask the same question as other people but the 429 error is still happening for me ive updated to the newest version but still getting the same result :(

AkaThePistachio
Автор

Is there a chance that it won't let me connect to the Google server and I get an error of too many attempts to access the Google server? If I do what you are doing exactly through the Kaggle website and not through the Spyder software? Does anyone know how to get access from Google?

Lion-prmw
Автор

429 too many request - You can't get rid of this error because Google doesn't want us to do this. This library works by scraping google data which is against Google's policy

biz-tech
Автор

The comparison for recession is a little off in google trends vs in python because geo wasnt specified, so youre comparing Worldwide in Python to USA in Trends

Erico
Автор

awesome video, I tried to integrate it in my webapp for Video Ideation but apparently the API is not working anymore, probably Google changed something, in the Github discussion many are reporting same issue.

MinimalNerd
Автор

Please help! Who solve this problem with 429 error?

ЕвгенийЕфремов-фе
Автор

Nice video. Looks amazing but I think google has recognize you are accessing trends through a python bot. How did you overcome this. For reference the error is "The request failed: Google returned a response with code 429"

Colosuss
Автор

any update to this video? been waiting forever, its not working

mustafamir
Автор

429 Error still remains. Hoping someone found a way around it

gtnetwork
Автор

Hey thanks for the great video. I have been running into a bit of an issue, so for some reason my data has a lot of 0 values with just a few spikes this doesn't match what I see on google trends here is an example of the code:

from pytrends.request import TrendReq

pytrends = TrendReq(hl='en-US')

pytrends.build_payload(['Tesla'],
0,
'today 12-m',
'',
''
)

data = pytrends.interest_over_time()

AlexHitchon
visit shbcf.ru