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: .
Agenten stärken
Die eigene URL des Herausgebers. Kein PlugMCP-Endpunkt.
Host a copy with our keys and logs.
https://reddit.api.trendsapi.ai/mcpDie Claude-Schaltfläche oben öffnet Claude mit ausgefülltem Namen und ausgefüllter URL. Sie bestätigen dort noch.
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
Remote-URL oder ein Befehl auf Ihrem Rechner? Worin sich die beiden Installationen unterscheiden
Auf PlugMCP ausführen
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.
StartenVom Herausgeber
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": {} } }}Tools
Noch keine Tool-Liste. Remote-Server erhalten eine nach dem ersten Health-Check.
FAQ
Kopieren Sie auf dieser Seite die http-Konfiguration für Cursor, Claude Desktop, Claude Code oder VS Code. Sie nutzt die Installation des Herausgebers, keinen PlugMCP-Proxy.
In diesem Eintrag ist keine erforderliche Umgebungsvariable aufgeführt.
Reddit Trends API wird über HTTP erreicht.
Zuletzt geprüft: 2026-11-07. Reddit discussion volume and subreddit growth over time. Free key at trendsapi.ai