trendsapi-tiktok
TikTok trends API - hashtag interest over time + live feeds
Presets source: "tiktok" for convenience. One API key → 30+ sources - override source= anytime. Quota is per key, not per package.
Install
pip install trendsapi-tiktok
Quickstart
from trendsapi_tiktok import TrendsAPI
client = TrendsAPI() # or TrendsAPI(api_key="...") / TRENDSAPI_KEY
series = client.get_time_series("creatine gummies")
print(series[-1].date, series[-1].value)
g = client.get_growth("creatine gummies", percent_growth=["12M"])
print(g.results[0].growth, g.results[0].direction)
Live feed helper
hot = client.get_live(limit=5) # TikTok Trending Hashtags
print(hot.data)
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/trendsapi-tiktok
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 trendsapi_tiktok-1.0.0.tar.gz.
File metadata
- Download URL: trendsapi_tiktok-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 |
8a68155845e9dbacc78ce765751600f8e2a59772562534120011e0b4397c40bf
|
|
| MD5 |
6f6274102a402bccb306ea3e830a1cb2
|
|
| BLAKE2b-256 |
2335e295fe90238c60077f3db78945262ca62c08901cab4532bac68dd37fcd0f
|
File details
Details for the file trendsapi_tiktok-1.0.0-py3-none-any.whl.
File metadata
- Download URL: trendsapi_tiktok-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 |
0a00d2ecb39a7b85cdde757bba163190f9bec3d3d61ba1b1691877771792b77d
|
|
| MD5 |
d9e2fa17c95971852e973eab7328bc4f
|
|
| BLAKE2b-256 |
d5bb6e398af3605c1604928a8f78b78e6b51689b8421754be83af17fa3eac42c
|