TikTok hashtag volume API
TikTok hashtag and search interest trends via the TikTok Trends API. History, growth, and live trending hashtags.
Power your agent
URL ของผู้เผยแพร่เอง ไม่ใช่เอนด์พอยต์ของ PlugMCP
Host a copy with our keys and logs.
https://tiktok.api.trendsapi.ai/mcpปุ่ม Claude ด้านบนจะเปิด Claude พร้อมกรอกชื่อและ URL ให้แล้ว คุณยังต้องยืนยันที่นั่นเอง
claude mcp add --transport http ai.trendsapi-tiktok https://tiktok.api.trendsapi.ai/mcpRun in a terminal.
{ "mcpServers": { "ai.trendsapi-tiktok": { "command": "npx", "args": [ "-y", "mcp-remote", "https://tiktok.api.trendsapi.ai/mcp" ] } }}claude_desktop_config.json
URL แบบรีโมตหรือคำสั่งบนเครื่องของคุณ? การติดตั้งสองแบบต่างกันอย่างไร
รันบน PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
เปิดจากผู้เผยแพร่
TikTok hashtag and search interest trends via the TikTok Trends API. History, growth, and live trending hashtags.
TikTok hashtag volume over time, with growth for any hashtag. Free key at trendsapi.ai
Key: trendsapi.ai/#get-key. HTTP contract and every source: trendsapi-ai/trendsapi.
pip install trendsapi-tiktok
export TRENDSAPI_KEY=your_key
Python 3.9+. Same key as the HTTP API.
from trendsapi_tiktok import TrendsAPI
client = TrendsAPI() # TRENDSAPI_KEY
# client = TrendsAPI(api_key="YOUR_KEY")
Keyword helpers default to source: "tiktok". Pass source= to hit any other platform with the same client. Official full client (every source, no preset): trendsapi.
source is lowercase (tiktok). type is exact (TikTok Trending Hashtags). Mixing them is a 400.
from trendsapi_tiktok import TrendsAPI
client = TrendsAPI() # TRENDSAPI_KEY
# client = TrendsAPI(api_key="YOUR_KEY")
series = client.get_time_series("matcha")
print(series[-1].date, series[-1].value)
growth = client.get_growth("matcha", percent_growth=["3M", "12M"])
print(growth.results[0].growth, growth.results[0].direction)
hot = client.get_live(limit=10)
print(hot.data) # [[1, "..."], ...]
points = client.get_time_series("matcha")
Each point:
Python returns list[TrendsDataPoint]. Use .date and .value, not ["date"].
JS returns the same fields as object properties.
g = client.get_growth("matcha", percent_growth=["12M", "3M", "YTD"])
print(g.results[0].growth, g.results[0].direction)
percent_growth default: ["12M"]. Presets: 7D 14D 30D 1M 2M 3M 6M 9M 12M/1Y 18M 24M/2Y 36M/3Y 48M 60M/5Y MTD QTD YTD. Custom: {"name": "Launch", "recent": "2024-06-01", "baseline": "2024-01-01"}.
Several windows still count as one request. Python: growth.results[0].growth. JS: growth.results[0].growth.
hot = client.get_live(limit=10)
Python: hot.data. JS: hot.data. Optional offset= and category= (Amazon Best Sellers by Category, Top Websites only).
import asyncio
from trendsapi_tiktok import AsyncTrendsAPI
async def main():
c = AsyncTrendsAPI()
return await asyncio.gather(
c.get_time_series("matcha"),
c.get_time_series("matcha", source="google search"),
)
asyncio.run(main())
Each 200 is one billed request.
from dataclasses import asdict
import pandas as pd
from trendsapi_tiktok import TrendsAPI
df = pd.DataFrame(asdict(p) for p in TrendsAPI().get_time_series("matcha"))
df["date"] = pd.to_datetime(df["date"])
print(df.set_index("date")["value"].resample("ME").mean().tail())
npm install trendsapi-tiktok
Node 18+, Deno, Bun, Workers. Same API key. Field tables above apply.
import { TrendsAPI } from "trendsapi-tiktok";
const client = new TrendsAPI({ apiKey: process.env.TRENDSAPI_KEY! });
const series = await client.getTimeSeries("matcha");
console.log(series.at(-1)?.date, series.at(-1)?.value);
const growth = await client.getGrowth("matcha", {
percent_growth: ["3M", "12M"],
});
console.log(growth.results[0].growth, growth.results[0].direction);
const live = await client.getLive({ limit: 10 });
console.log(live.data); // [[1, "..."], ...]
curl -sS -X POST https://api.trendsapi.ai/api \
-H "Authorization: Bearer $TRENDSAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"mode":"get_time_series","source":"tiktok","keyword":"matcha"}'
value is 0-100 for this hashtag, not view count.tiktok trending hashtags (wrong case) is 400.The HTTP body field is a JSON string. SDKs decode it. Raw curl must parse body a second time.
MIT. See LICENSE.
TikTok hashtag volume over time, with growth for any hashtag. Free key at trendsapi.ai
{ "mcpServers": { "ai.trendsapi-tiktok": { "url": "https://tiktok.api.trendsapi.ai/mcp", "headers": {} } }}6 เครื่องมือ
FAQ
คัดลอกคอนฟิก http สำหรับ Cursor, Claude Desktop, Claude Code หรือ VS Code ได้ในหน้านี้ คอนฟิกนี้ใช้การติดตั้งของผู้เผยแพร่ ไม่ใช่พร็อกซีของ PlugMCP
ระเบียนนี้ไม่ได้ระบุตัวแปรสภาพแวดล้อมที่จำเป็น
TikTok Trends API เข้าถึงได้ผ่าน HTTP
ตรวจสอบล่าสุดเมื่อ 2026-11-15 TikTok hashtag volume over time, with growth for any hashtag. Free key at trendsapi.ai