pytrends icon indicating copy to clipboard operation
pytrends copied to clipboard

Is there a way to return the Human Readable keyword for brand searches?

Open igalci opened this issue 3 years ago • 1 comments

Lets say I want to get the trends for %2Fm%2F0lwkh (Nike Company)

Is there anywhere I could fetch the English Human Readable text of what this keyword is?

igalci avatar Aug 20 '21 03:08 igalci

Hey, the string you provided is a Google id /m/0lwkh. You can use the id to query the Google Knowledge Graph API. This will return some information about the brand including the name.

Try it: https://developers.google.com/knowledge-graph/reference/rest/v1?apix_params=%7B%22ids%22%3A%5B%22%2Fm%2F0lwkh%22%5D%7D

Following the link should already include the id you provided in the ids field. Just hit execute and you should see the result.

webertim avatar Feb 07 '22 09:02 webertim