Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

TikTok Trends API - hashtag volume & growth as JSON

License: MIT API v1 MCP compatible Free tier

TikTok trend data as clean JSON: hashtag volume time series, growth rates and live trending hashtags, sounds and searches from one REST endpoint. No TikTok API approval, no scraping.

One endpoint. One API key. One normalized 0-100 trend score you can compare against 14 other platforms.

Docs: https://trendsapi.ai/#quickstart · llms.txt: https://trendsapi.ai/llms.txt · Free API key (100 req/mo): https://trendsapi.ai/#get-key


What a call looks like

curl -X POST https://api.trendsapi.ai/api \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"mode": "get_growth", "source": "tiktok", "keyword": "booktok", "percent_growth": ["3M", "12M"]}'
{
  "keyword": "booktok",
  "source": "tiktok",
  "growth": { "3M": 41.8, "12M": 212.4 },
  "timestamp": "2026-08-03T12:00:00Z"
}

Quickstart (60 seconds)

1. Get a free API key at https://trendsapi.ai/#get-key - 100 requests/month, no credit card.

2. Make your first call:

curl -X POST https://api.trendsapi.ai/api \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"mode": "get_time_series", "source": "tiktok", "keyword": "booktok"}'

Python:

import requests

res = requests.post(
    "https://api.trendsapi.ai/api",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={"mode": "get_growth", "source": "tiktok", "keyword": "booktok",
          "percent_growth": ["3M", "12M"]},
)
print(res.json())

Node.js:

const res = await fetch("https://api.trendsapi.ai/api", {
  method: "POST",
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ mode: "get_growth", source: "tiktok", keyword: "booktok",
                          percent_growth: ["3M", "12M"] }),
});
console.log(await res.json());

The three modes

Mode What it returns Needs a keyword?
get_time_series Historical hashtag volume as a normalized 0-100 series yes
get_growth Growth % over 3M / 6M / 12M / 5Y windows yes
get_top_trends Live trending feeds (21 of them) no

Why teams switch

TikTok developer API Trends API
TikTok API approval required, slow not needed
Hashtag volume history not exposed weekly + daily series
Trending hashtags feed manual one call
Cross-platform compare no same 0-100 scale as Google, YouTube, Amazon
Free tier n/a 100 requests/month

Use cases

  • Content strategy: spot hashtags rising before they saturate the For You page
  • Brand monitoring: track a brand or product hashtag's volume over time
  • Ecommerce: catch TikTok Shop product trends while they are still early
  • Agencies: prove to clients which hashtags actually grew, with numbers

Use it from your AI assistant (MCP)

The same API key powers the Trends API MCP server, so Claude, Cursor, VS Code, ChatGPT and any MCP-compatible client can query this data in natural language.

+ Add to Cursor (one click)

Cursor / Windsurf / Cline (~/.cursor/mcp.json or equivalent):

{
  "mcpServers": {
    "trendsapi": {
      "url": "https://api.trendsapi.ai/mcp",
      "transport": "http",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

VS Code / GitHub Copilot (.vscode/mcp.json):

{
  "servers": {
    "trendsapi": {
      "type": "http",
      "url": "https://api.trendsapi.ai/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "trendsapi": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://api.trendsapi.ai/mcp", "--header", "Authorization:${AUTH_HEADER}"],
      "env": { "AUTH_HEADER": "Bearer YOUR_API_KEY" }
    }
  }
}

Claude.ai (browser): Settings -> Connectors -> Add custom connector -> https://api.trendsapi.ai/mcp

Then ask things like:

How did "creatine gummies" grow on TikTok vs Google over the last 12 months?
What is trending on YouTube right now?

Every source on the same key

Source source value What it measures
Google Search google search Search volume
Google Images google images Image search volume
Google News google news News search volume
Google Shopping google shopping Shopping search volume
YouTube youtube Search volume
TikTok tiktok Hashtag volume
Reddit reddit Subreddit subscribers
Amazon amazon Product search volume
Wikipedia wikipedia Page views
News volume news volume Article mention volume
News sentiment news sentiment Positive / negative score
App downloads app downloads Android downloads (AppBrain)
App rankings app rankings Android chart position
npm npm Weekly package downloads
Steam steam Concurrent players (monthly)

Live feeds (get_top_trends, no keyword needed)

Feed type value
Google Trends Google Trends
Google News Top News Google News Top News
TikTok Trending Hashtags TikTok Trending Hashtags
TikTok Trending Searches TikTok Trending Searches
TikTok Shop Hot Products TikTok Shop Hot Products
YouTube Trending YouTube Trending
X (Twitter) Trending X (Twitter) Trending
Reddit Hot Posts Reddit Hot Posts
Reddit World News Reddit World News
Wikipedia Trending Wikipedia Trending
Amazon Best Sellers Top Rated Amazon Best Sellers Top Rated
Amazon Best Sellers by Category Amazon Best Sellers by Category
App Store Top Free App Store Top Free
App Store Top Paid App Store Top Paid
Google Play Google Play
Top Websites Top Websites
Spotify Top Podcasts Spotify Top Podcasts
Steam Most Played Steam Most Played
GitHub Trending Repos GitHub Trending Repos
IMDb MOVIEmeter IMDb MOVIEmeter
Open Library Trending Books Open Library Trending Books

FAQ

What TikTok data does Trends API provide?

Hashtag volume over time (normalized 0-100), growth percentages over 3M/6M/12M/5Y windows, and live feeds: trending hashtags, trending searches and TikTok Shop hot products.

Do I need a TikTok developer account?

No. There is no OAuth flow, no app review and no approval wait. One Trends API key covers TikTok and every other source.

How early can I detect a TikTok trend?

Daily data for the last 30 days plus weekly history lets you catch early growth spikes before a hashtag reaches mainstream saturation. TikTok spikes typically lead Google Search interest by 2-4 weeks.

Are hashtags case-sensitive?

No. booktok, BookTok and #booktok all resolve to the same signal.

Can I compare TikTok against other platforms?

Yes - that is the point of the product. Query tiktok, youtube and google search for the same keyword and compare normalized scores directly.


Links

License

MIT - see LICENSE. Data is served by Trends API; usage of the API itself is subject to the plan limits on your key.

About

TikTok Trends API as JSON: hashtag volume time series, growth rates, and live trending hashtags/searches/shop products. No TikTok API approval needed. REST + MCP, free tier.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors