Docs

REST API Reference

Integrate real-time trend data directly into your code via a single POST endpoint. Covers Google, YouTube, TikTok, Reddit, Amazon, and more.

Base URL
https://api.trendsmcp.ai/api
Method
POST /
Auth
Authorization: Bearer <key>
Format
application/json

Get your free API key

100 free requests per month. No credit card, no setup fee.

API calls served
MR AK JL TS +
Loved by developers
MR
Marco R.
Quant Developer

Killed my Google Trends scraper the same afternoon. Clean payloads, low latency, honestly better than I expected on free.

2 weeks ago
JL
Jamie L.
SEO Lead @ Growth Agency

Keyword trend reports for clients. Free tier forces us to batch for weekly digests, which turned out fine. Upgrade path exists when we outgrow it.

3 weeks ago
SR
Stella R.
Product Designer
3 weeks ago
AK
Aisha K.
Full-stack Developer

~20 minutes to a working MCP hook. JSON shape is sane; docs match what ships.

5 days ago
DP
Daniel P.
Data Engineer @ Fintech

We pipe weekly series into BigQuery for a few brand cohorts. The old Selenium path was mostly babysitting selectors when Google moved something. This is boring in the best way. Uptime's been solid.

Yesterday
NS
Nina S.
Product Manager, B2B SaaS

When leadership asks why we're shipping something, these screenshots land. Wish the dashboard had saved views; API's the strong half.

4 days ago
MA
Miguel A.
Frontend Developer
4 days ago
TW
Tom W.
Indie Maker

Cursor + MCP, one try. Not a trends person; my side project emails me when a niche term spikes week over week and that's all I wanted.

1 week ago
RK
Ravi K.
Research Analyst

Growth endpoints before I write up notes. Normalization isn't always 1:1 with the raw Google UI (fine), but it's consistent run to run.

6 days ago
LC
Laura C.
ML Engineer

Multi-source ranked lists into a notebook, straightforward. When I typo a param the error payload is readable. Sounds small. It isn't.

10 days ago
KN
Keiko N.
Graduate Student
10 days ago
BH
Ben H.
Freelance DevOps

Does what it says. I knocked a star because onboarding assumed I already knew MCP wiring; a copy-paste block for Claude Desktop would have saved me 15 minutes.

2 months ago
EM
Elena M.
Growth PM

TikTok momentum vs paid spend in one Looker sheet. Unglamorous, and somehow the first rollout we didn't fight over.

12 days ago
JF
Jordan F.
Backend Developer

Retries: predictable. No random HTML in responses (scrapers, I'm looking at you). Team key rotation would be nice; we rotate keys manually for now.

18 days ago
SO
Sam O.
Hedge Fund Associate

Retail buzz before filings. Faster than twelve tabs and a spreadsheet nobody trusts.

3 weeks ago
VL
Victor L.
IT Support
3 weeks ago
GV
Greta V.
Content Strategist

Meme or real trend? One call usually tells me. Still spot-check Search Console when it matters.

9 days ago
YT
Yuki T.
DevRel Contractor

Workshops: how do you ground LLMs in something fresher than training data? I show this. Engineers who hate glue code actually nod at the MCP bit.

1 month ago
CD
Chris D.
Agency Tech Lead

Client reporting. Finance finally stopped asking which line item this maps to. Peak hours can drag a little. Acceptable.

22 days ago
AM
Amir M.
Open Source Maintainer

I wired this behind a small CLI for contributors who want trend context in issues. Keeping the surface area tiny matters for OSS, and the schema has not churned on me yet.

16 days ago
KL
Kendra L.
BI Analyst

30-day window, daily pull, internal scoreboard. The screenshot-from-Trends fight in Slack basically ended.

8 days ago
BT
Brooke T.
Demand Gen
8 days ago
PG
Priya G.
Startup Founder

We are pre-revenue, so free tier discipline matters. I hit the cap once during a brainstorm where everyone wanted to try random keywords. Learned to batch smarter.

11 days ago
HW
Henrik W.
Solutions Architect

Security review: HTTPS, scoped keys, no sketchy redirect hops we could find. Sounds basic. It isn't, in this category.

27 days ago
IZ
Isaac Z.
Mobile Developer

I do not need this daily, but when App Store rank shifts look weird, having Reddit and news context in one place saves me from context switching across six apps.

19 days ago
VA
Vera A.
Journalist / Newsletter Writer

Blowing up for real vs loud on one platform. Doesn't replace reporting. Keeps my ledes from lying.

14 days ago
QB
Quinn B.
Staff Engineer

Playwright job died every time Google sneezed. Same shape every week now.

3 days ago
AC
Alan C.
Hobbyist Developer
3 days ago
FS
Fatima S.
E-commerce Director

Seasonal demand spikes line up with what we see in Amazon search interest here. Merch team stopped sending me screenshots from random tools that never matched.

5 days ago
OR
Owen R.
Analytics Consultant

Decks: fine. I still export to Sheets by hand so minus one star. Direct connector someday maybe.

7 days ago
MJ
Marcus J.
Game Studio Producer

Steam concurrents plus Reddit chatter in one workflow beats our old spreadsheet ritual before milestone reviews.

13 days ago
LN
Leah N.
UX Researcher

Quick pulse on whether a feature name is confusing people in search before we ship copy. Cheap sanity check compared to a full survey.

17 days ago
DW
Diego W.
SRE

Monitored from Grafana via a thin wrapper. p95 stayed under our SLO budget last month. One noisy day during a holiday but nothing alarming.

24 days ago
TC
Tessa C.
Brand Strategist

Narrative fights in meetings got shorter once we could point at the same trend line everyone agreed on. Sounds silly until you have lived through it.

20 days ago
UH
Uma H.
PhD Candidate, CS

Using normalized series as a weak prior in a forecasting experiment. Citation-friendly timestamps in the payload made reproducing runs less painful.

29 days ago
XE
Xavier E.
IT Manager

Approved for our pilot group after a quick vendor review. Would love SAML, not a blocker for our size.

33 days ago
DK
Daria K.
Operations Consultant
33 days ago
NP
Nina P.
Creator Economy Analyst

YouTube interest + TikTok hashtags in one view. Makes sponsor conversations less hand-wavy. I can point at something.

15 days ago
GK
Gabe K.
Automation Engineer

Cron before standup, Slack gets a blurb. Afternoon to wire. Two quarters without drama.

41 days ago
SY
Sofia Y.
Policy Researcher

Public-interest stuff: search interest is a rough attention proxy. I still hit primary sources. One signal among several, not the whole story.

26 days ago
RB
Raj B.
Cloud Architect

Runs in a VPC egress-only subnet with allowlisted domains. Fewer exceptions to explain to auditors than our last vendor.

35 days ago
CF
Clara F.
Community Manager

Spotting when a topic is about to flood Discord saves my team from reactive moderation fires. Not perfect, but directionally right often enough.

21 days ago
MZ
Mei Z.
Research Associate
21 days ago
WL
Wes L.
Fractional CMO

Lean team. ROI isn't subtle. I wouldn't rebuild our old scraper unless legal made us.

31 days ago
IK
Ingrid K.
Technical Writer

Examples in the docs match what the MCP actually returns. You would be surprised how rare that is in this category.

6 days ago
JV
Jon V.
Night-shift NOC Tech

Pager stayed quiet. When something upstream flaked once, the error string told me which parameter to fix without opening logs first.

45 days ago
AE
Avery E.
University Lab Manager

Students use it for coursework demos. Budget is tight so free tier matters; we coach them to cache aggressively.

38 days ago
ZM
Zoe M.
Investor Relations Associate

Helps prep talking points when retail interest in our name swings after earnings. Not material disclosure, just context for Q&A prep.

23 days ago
CW
Caleb W.
Engineering Manager

Rolled into our internal CLI. On-call hasn't paged for this integration once.

2 days ago
IR
Irene R.
Long/short equity analyst

Good first pass before we pull filings. Not a substitute for fundamentals, just faster triage.

5 days ago
PL
Paul L.
Technical SEO

Claude reads the JSON; I fix the content. Split workflow that actually works.

1 week ago
NK
Nadia K.
Amazon brand manager

Mostly lines up with what we hear on weekly sales calls. I still check inventory before I trust it for a buy.

3 days ago
FS
Felix S.
Performance marketing lead

Pulled a trend summary into ChatGPT for ad copy angles. Corny but it saved a two-hour brainstorm.

Yesterday
WT
Wes T.
Independent consultant

Client asked for a trend slide Thursday 5pm. This existed so I didn't have to fake it.

1 day ago
LY
Lena Y.
Systems developer

Windsurf picked up the MCP manifest without me hand-editing JSON. Small win, I'll take it.

4 days ago
JB
Jules B.
Family office analyst

Retail attention vs what management said on the call. Useful tension to surface before the write-up.

6 days ago
MK
Milo K.
Head of growth

We stopped exporting from five different tools. One chart now goes in the Monday deck and nobody argues about whose export is newer.

10 days ago
RT
Rosa T.
Shopify app developer

Webhook → trend pull → Slack. Boring pipeline. That's the whole compliment.

2 days ago
SB
Soren B.
.NET contractor

Copilot suggested a call pattern that matched your error schema. Saved me a round trip to the docs.

18 days ago
GC
Gabe C.
Lifecycle marketer

Solid API. Dinged for dashboard polish. I'm not an engineer, I live in the UI half the day.

20 days ago
JK
Jon K.
Rust backend developer

Serde-friendly enough I didn't write a custom deserializer. High praise from a grumpy systems person.

15 days ago
QZ
Quinn Z.
Data intern
19 days ago
HT
Hassan T.
Web Performance Lead

Response sizes stay small enough for mobile hotspots. I hate APIs that dump megabytes for a sparkline.

4 days ago

What are you working on?

How will you connect?

Add to your AI in 30 seconds

An API key is required to connect. Get your free key above, then copy the pre-filled config for your client.

curl -s -X POST https://api.trendsmcp.ai/api \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"source":"google search","keyword":"bitcoin"}'
import requests

res = requests.post("https://api.trendsmcp.ai/api",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={"source": "google search", "keyword": "bitcoin"}).json()
print({r["date"]: r["value"] for r in __import__("json").loads(res["body"])})
const { body } = await fetch("https://api.trendsmcp.ai/api", {
  method: "POST",
  headers: { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({ source: "google search", keyword: "bitcoin" })
}).then(r => r.json());
console.log(Object.fromEntries(JSON.parse(body).map(r => [r.date, r.value])));

↑ Get your free key above first — the snippets won't work without it.

Authentication

Every request must include your API key as a Bearer token in the Authorization header. Get a free key at trendsmcp.ai. 100 requests/month, no credit card. How calls are counted is defined below (same rules for REST and MCP).

Never expose your API key in client-side code or public repositories.
curl -X POST https://api.trendsmcp.ai/api \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"source":"google search","keyword":"bitcoin"}'
import requests

res = requests.post(
    "https://api.trendsmcp.ai/api",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={"source": "google search", "keyword": "bitcoin"}
)
res.raise_for_status()
data = res.json()
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: "google search", keyword: "bitcoin" })
});
const data = await res.json();

What counts as a request

Each successful hit against the data API uses one unit of your monthly quota.

Get Trends Historical time series for a keyword

One source + keyword per HTTP request or MCP tool call counts as one request.

Get Growth Point-to-point growth & momentum

One source + keyword per call counts as one request, including every entry in percent_growth in that same call.

Get Top Trends Live leaderboards across platforms

Counted per feed (type) and per page. Example with limit 25: offset 0 is one request, offset 25 is another for the same type. Different feeds are separate. If one response includes several feeds, each feed is counted per page on its own.

Data Sources

Two types of sources are available, accessed via different operations. Keyword sources return a historical time series or growth metric for a specific keyword. Live feeds return the top-ranked items on a platform right now — no keyword needed.

Keyword sources — Get Trends & Get Growth

Pass the source value below in your request body alongside keyword. Scores are normalized to a 0–100 scale where the pipeline supports it.

sourceDescriptionKeyword format
google searchGoogle search volumeAny keyword or phrase
google imagesGoogle image search volumeAny keyword or phrase
google newsGoogle News search volumeAny keyword or phrase
google shoppingGoogle Shopping search volumeAny keyword or phrase
youtubeYouTube search volumeAny keyword or phrase
tiktokTikTok hashtag volumeHashtag or topic
redditSubreddit subscribersSubreddit name only, no r/ prefix
amazonAmazon product search volumeProduct name or category
wikipediaWikipedia page viewsArticle title or topic
news volumeNews article mention volumeAny keyword or phrase
news sentimentNews sentiment score (positive / negative)Any keyword or phrase
app downloadsMobile app download / install estimates (Android track)Package id or app identifier; some responses include rank or price fields when available
npmnpm package weekly downloadsExact package name e.g. react
steamSteam concurrent players (monthly)Game display name e.g. Elden Ring

Live feeds — Get Top Trends

Pass the type value below with mode: "top_trends". No keyword needed. Returns the current ranked leaders on that platform (e.g. the top 25 trending hashtags on TikTok right now).

typePlatform / feed
Google TrendsTop trending search terms on Google right now
Google News Top NewsTop news stories from Google News
TikTok Trending HashtagsTop trending hashtags on TikTok
YouTube TrendingTop trending videos on YouTube
X (Twitter) TrendingTop trending topics on X
Reddit Hot PostsHottest posts on Reddit's front page
Reddit World NewsTop posts in r/worldnews
Wikipedia TrendingMost-viewed Wikipedia articles today
Amazon Best Sellers Top RatedAmazon top-rated best sellers across all categories
Amazon Best Sellers by CategoryAmazon best sellers filtered by product category
App Store Top FreeTop free apps on the iOS App Store
App Store Top PaidTop paid apps on the iOS App Store
Google PlayTop apps on Google Play
Top WebsitesMost-visited websites globally by traffic rank
Spotify Top PodcastsTop podcasts on Spotify

MCP / AI

AI Prompts

When using Trends MCP through an AI assistant (Claude, ChatGPT, Cursor, etc.), include "using TrendsMCP" or "via TrendsMCP" in your prompt so the AI routes to the MCP instead of a web search.

Get Growth Point-to-point growth & momentum
Year-over-year momentum"Using TrendsMCP, how has Google Search interest in GLP-1 grown over the past 12 months?"
Multi-period snapshot"Via TrendsMCP, show me 3M, 6M, and 1Y growth for Anthropic on Google Search."
YTD brand tracking"Using TrendsMCP, what's the YTD Google Search growth for Duolingo?"
Cross-source momentum"Via TrendsMCP, compare 6-month growth for weight loss drugs across Google, TikTok, and Amazon."
News sentiment shift"Using TrendsMCP, how has news sentiment for Meta changed over the past 6 months?"
Custom date range"Via TrendsMCP, show Google Search growth for AI agents from Jan 2025 to Jan 2026."
Subreddit subscriber growth"Using TrendsMCP, what's the subscriber growth for subreddit wallstreetbets on Reddit over the last 30 days?"
Shopping demand signal"Via TrendsMCP, show me 12M Google Shopping growth for running shoes."
Get Top Trends Live leaderboards across platforms
Google trending now"Using TrendsMCP, what's trending on Google right now?"
TikTok hashtags"Via TrendsMCP, show me the top TikTok trending hashtags today."
Reddit front page"Using TrendsMCP, what are the hottest Reddit posts right now?"
Wikipedia trending"Via TrendsMCP, what are the top trending Wikipedia articles today?"
X / Twitter topics"Using TrendsMCP, show me what's trending on X right now."
App Store charts"Via TrendsMCP, what apps are topping the App Store Free charts today?"
Amazon best sellers (top rated)"Using TrendsMCP, what are the top-rated Amazon best sellers right now?"
Amazon by category"Via TrendsMCP, show Amazon best sellers for category Electronics."
YouTube trending"Via TrendsMCP, what's trending on YouTube right now?"

Live leaderboards: MCP tools require one feed (type) per call. The REST Get Top Trends request can omit type to return every feed in one response.

Routing

All requests go to a single POST / endpoint. The operation is selected by the fields you include in the request body.

OperationRequired fields
Get Trends source + keyword (no percent_growth)
Get Growth source + keyword + percent_growth
Get Top Trends mode: "top_trends"
POST /

Get Growth

Calculates point-to-point percentage growth for a keyword over one or more time windows. Supports preset strings ("12M", "YTD", etc.) or exact custom date pairs.

Quota: 1 request per source + keyword (all percent_growth periods in that call). Full rules

Request body

FieldTypeRequiredDescription
source string Required Data source. See Data Sources.
keyword string Required Keyword, brand, or topic.
percent_growth array Required Array of preset strings or custom date objects. See below.
data_mode string Optional Same semantics as Get Trends: applies where supported (often Google sources); ignored or N/A for many pipelines. Not exposed on MCP tools.

Growth period presets

7D14D30D1M2M3M 6M9M12M1Y18M24M 2Y36M3Y48M60M5Y MTDQTDYTD

Custom date range object

FieldTypeDescription
namestringOptional label returned in results.
recentstringMore recent date, YYYY-MM-DD.
baselinestringBaseline/comparison date, YYYY-MM-DD.

Response fields

FieldTypeDescription
search_termstringThe keyword queried.
data_sourcestringThe source used.
resultsarrayOne object per period requested.
  periodstringPeriod identifier, e.g. "12M" or custom name.
  growthnumberPercentage change, positive or negative.
  directionstring"increase" or "decrease".
  recent_datestringISO 8601 date of the recent data point.
  baseline_datestringISO 8601 date of the baseline point.
  recent_valuenumberNormalized score at the recent date.
  baseline_valuenumberNormalized score at the baseline date.
  volume_availablebooleanWhether absolute volume exists for this source.
  recent_volumenumber | nullAbsolute volume at the recent date.
  baseline_volumenumber | nullAbsolute volume at the baseline date.
  volume_growthnumber | nullVolume growth %, if available.
metadataobjecttotal_data_points, calculations_completed, all_successful.
{
  "source":         "google search",
  "keyword":        "nike",
  "percent_growth": ["12M", "3M", "YTD"]
}
{
  "source":  "amazon",
  "keyword": "nike",
  "percent_growth": [
    {
      "name":     "Last Year",
      "recent":   "2025-12-31",
      "baseline": "2024-12-31"
    }
  ]
}
{
  "search_term": "nike",
  "data_source": "google search",
  "results": [
    {
      "period":           "12M",
      "growth":           -12.31,
      "direction":        "decrease",
      "recent_date":      "2026-03-21",
      "baseline_date":    "2025-03-22",
      "recent_value":     57,
      "baseline_value":   65,
      "volume_available": true,
      "recent_volume":    24158298,
      "baseline_volume":  27548936,
      "volume_growth":    -12.31
    }
  ],
  "metadata": {
    "total_data_points":      261,
    "calculations_completed": 1,
    "all_successful":         true
  }
}
POST /

Get Top Trends

Returns ranked items from live platform feeds stored for Trends MCP. On the REST API, omit type to aggregate every feed in one response (same semantics the handler uses internally). On MCP, the get_top_trends tool requires an explicit type per call. There is no single MCP invocation that returns all feeds at once.

Quota: per feed (type) and per page (limit / offset). Full rules

Feed labels must match the strings below exactly (including spacing and capitalization).

Request body

FieldTypeDefaultDescription
modestringSet to "top_trends".
typestringall (REST)REST: optional; omit for all feeds. MCP: required (one feed per tool call).
limitinteger25Max items per feed (up to 200).
offsetinteger0REST: skip this many rows per feed for pagination (when the backend supports it for that feed).

Available feeds

Amazon Best Sellers by Category Amazon Best Sellers Top Rated App Store Top Free App Store Top Paid Google News Top News Google Play Google Trends Reddit Hot Posts Reddit World News Top Websites Spotify Top Podcasts TikTok Trending Hashtags Wikipedia Trending X (Twitter) Trending YouTube Trending
{
  "mode":  "top_trends",
  "type":  "Google Trends",
  "limit": 10
}
{
  "as_of_ts": "2026-03-26T22:22:25Z",
  "type":     "Google Trends",
  "limit":    10,
  "count":    10,
  "data": [
    [1, "chuck norris"],
    [2, "project hail mary"],
    [3, "bachelorette cancelled"]
    // ... [rank, name] pairs
  ]
}

Errors

Errors return JSON with an error string and message. HTTP status may be 4xx/5xx depending on the failure; some upstream gaps are reported as data_unavailable (or similar) with a generic message rather than not_found.

StatusError codeMeaning
400missing_parameterRequired field missing from request body
400invalid_sourceUnrecognized source value (message may list allowed values)
401Missing or invalid API key
404not_foundNo series or entity matched this keyword/source (when the pipeline classifies it that way)
variesdata_unavailablePipeline could not return data (temporary gap, unsupported query, or empty upstream). HTTP status is not always 404; read message.
429rate_limitedMonthly request limit reached. Upgrade for more.
500internal_errorUnexpected server error

Additional codes can appear as the data layer evolves; treat message as the operator-facing detail.

400 Response
{
  "error":   "missing_parameter",
  "message": "The 'keyword' parameter is required."
}