TikTok Trends API

TikTok's official API does not expose hashtag trend volume over time. Trends MCP does. Weekly hashtag interest series, period growth, and live trending hashtags via a single POST endpoint.

TikTok's Research API is limited to vetted academic institutions and does not return hashtag search interest in any normalized, time-series format. For developers building trend tools, content dashboards, or market research products, that data has been effectively inaccessible.

Trends MCP provides it via a single REST endpoint. Same auth, same request shape as every other source - just swap the source field.

Endpoint

POST https://api.trendsmcp.ai/api
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

Get a time series

Weekly TikTok hashtag interest over 5 years, normalized 0-100.

{
  "source": "tiktok",
  "keyword": "cottagecore"
}

Response:

[
  {
    "date": "2026-03-21",
    "value": 54,
    "volume": null,
    "keyword": "cottagecore",
    "source": "tiktok"
  }
]

For the last 30 days at daily resolution:

{
  "source": "tiktok",
  "keyword": "cottagecore",
  "data_mode": "daily"
}

Measure growth

{
  "source": "tiktok",
  "keyword": "stanley cup",
  "percent_growth": ["3M", "1Y", "2Y"]
}

Preset periods: 7D 14D 30D 1M 2M 3M 6M 9M 12M 1Y 18M 24M 2Y 36M 3Y 48M 60M 5Y MTD QTD YTD

Custom date pairs:

{
  "source": "tiktok",
  "keyword": "stanley cup",
  "percent_growth": [
    { "name": "peak vs now", "recent": "2026-01-01", "baseline": "2024-06-01" }
  ]
}

Get trending hashtags now

{
  "mode": "top_trends",
  "type": "TikTok Trending Hashtags",
  "limit": 25
}

Code examples

Python

import requests

res = requests.post(
    "https://api.trendsmcp.ai/api",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={"source": "tiktok", "keyword": "stanley cup", "percent_growth": ["3M", "1Y"]}
)
data = res.json()

JavaScript

const res = await fetch("https://api.trendsmcp.ai/api", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({ source: "tiktok", keyword: "stanley cup", percent_growth: ["3M", "1Y"] })
});
const data = await res.json();

Errors

Status Code Meaning
400 missing_parameter Required field absent
400 invalid_source Source value not recognized
401 Missing or invalid API key
404 not_found No data for this keyword
429 rate_limited Monthly limit reached

Common questions

TikTok's Research API is restricted to approved academic institutions and does not expose hashtag interest over time in a normalized, comparable format. Trends MCP provides that data for any developer.
Pass the hashtag topic or phrase without the # symbol. For example, 'cottagecore' or 'book review' rather than '#cottagecore'.
The default weekly series covers 5 years of historical data. Daily mode returns the last 30 days.