google-trends-client
Google Trends API for Python - managed JSON, not a scraper
Presets source: "google search" for convenience. One API key → 30+ sources - override source= anytime. Quota is per key, not per package.
Install
pip install google-trends-client
Quickstart
from google_trends_client import TrendsAPI
client = TrendsAPI() # or TrendsAPI(api_key="...") / TRENDSAPI_KEY
series = client.get_time_series("air fryer")
print(series[-1].date, series[-1].value)
g = client.get_growth("air fryer", percent_growth=["12M"])
print(g.results[0].growth, g.results[0].direction)
Auth & quota
- Free key: trendsapi.ai/#get-key
- Pass
api_key=or setTRENDSAPI_KEY - Only successful
200responses count
Links
- Product: https://trendsapi.ai
- Full client:
pip install trendsapi - GitHub: https://github.com/trendsapi/google-trends-client
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file google_trends_client-1.0.0.tar.gz.
File metadata
- Download URL: google_trends_client-1.0.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cfc652b8a0107864966b5ba7a020051391a38ff49e782227890eb62f162d4ab
|
|
| MD5 |
fa3a3634c6cc8da69ebdbc8361bd20ca
|
|
| BLAKE2b-256 |
61432214a21b8f8eee414b99a1027b8e015f836f8c96fe5149600a6e712049b7
|
File details
Details for the file google_trends_client-1.0.0-py3-none-any.whl.
File metadata
- Download URL: google_trends_client-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da8232f6012b16921727d36611b787d423de7efd6ebd2e308dfd96728c798ef3
|
|
| MD5 |
4233f075eada16650c342d9c91fba6a0
|
|
| BLAKE2b-256 |
6e1a3a441d72c8b247386c65df522749f02f55fda29417098e24f78f836cd29e
|