Reddit discussion-attention API
Reddit attention trends via the Trends API. Subreddit history, growth, and live hot posts. Not PRAW.
Key: trendsapi.ai/#get-key. HTTP contract and every source: .
Power your agent
Yayıncının kendi URL'si. PlugMCP uç noktası değildir.
Host a copy with our keys and logs.
https://reddit.api.trendsapi.ai/mcpYukarıdaki Claude düğmesi, ad ve URL doldurulmuş olarak Claude'u açar. Onayı yine orada siz verirsiniz.
claude mcp add --transport http ai.trendsapi-reddit https://reddit.api.trendsapi.ai/mcpRun in a terminal.
{ "mcpServers": { "ai.trendsapi-reddit": { "command": "npx", "args": [ "-y", "mcp-remote", "https://reddit.api.trendsapi.ai/mcp" ] } }}claude_desktop_config.json
Uzak URL mi, yoksa makinenizde bir komut mu? İki kurulum arasındaki fark
PlugMCP’de çalıştır
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.
BaşlatYayıncıdan
Reddit attention trends via the Trends API. Subreddit history, growth, and live hot posts. Not PRAW.
Key: trendsapi.ai/#get-key. HTTP contract and every source: .
Reddit discussion volume and subreddit growth over time. Free key at trendsapi.ai
pip install trendsapi-reddit
export TRENDSAPI_KEY=your_key
Python 3.9+. Same key as the HTTP API.
from trendsapi_reddit import TrendsAPI
client = TrendsAPI() # TRENDSAPI_KEY
# client = TrendsAPI(api_key="YOUR_KEY")
Keyword helpers default to source: "reddit". Pass source= to hit any other platform with the same client. Official full client (every source, no preset): trendsapi.
source is lowercase (reddit). type is exact (Reddit Hot Posts). Mixing them is a 400.
from trendsapi_reddit import TrendsAPI
client = TrendsAPI() # TRENDSAPI_KEY
# client = TrendsAPI(api_key="YOUR_KEY")
series = client.get_time_series("wallstreetbets")
print(series[-1].date, series[-1].value)
growth = client.get_growth("wallstreetbets", 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("wallstreetbets")
Each point:
Python returns list[TrendsDataPoint]. Use .date and .value, not ["date"].
JS returns the same fields as object properties.
g = client.get_growth("wallstreetbets", 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_reddit import AsyncTrendsAPI
async def main():
c = AsyncTrendsAPI()
return await asyncio.gather(
c.get_time_series("wallstreetbets"),
c.get_time_series("wallstreetbets", source="google search"),
)
asyncio.run(main())
Each 200 is one billed request.
from dataclasses import asdict
import pandas as pd
from trendsapi_reddit import TrendsAPI
df = pd.DataFrame(asdict(p) for p in TrendsAPI().get_time_series("wallstreetbets"))
df["date"] = pd.to_datetime(df["date"])
print(df.set_index("date")["value"].resample("ME").mean().tail())
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":"reddit","keyword":"wallstreetbets"}'
source is always reddit. The community goes in keyword.value is not subscriber count.The HTTP body field is a JSON string. SDKs decode it. Raw curl must parse body a second time.
MIT. See LICENSE.
Reddit discussion volume and subreddit growth over time. Free key at trendsapi.ai
{ "mcpServers": { "ai.trendsapi-reddit": { "url": "https://reddit.api.trendsapi.ai/mcp", "headers": {} } }}Araçlar
Henüz araç listesi yok. Uzak sunucular ilk sağlık kontrolünden sonra bir liste alır.
SSS
Bu sayfadan Cursor, Claude Desktop, Claude Code veya VS Code için http yapılandırmasını kopyalayın. PlugMCP proxy'sini değil, yayıncının kurulumunu kullanır.
Bu kayıtta gerekli bir ortam değişkeni listelenmiyor.
Reddit Trends API sunucusuna HTTP üzerinden ulaşılır.
Son kontrol: 2026-11-07. Reddit discussion volume and subreddit growth over time. Free key at trendsapi.ai