Answers / Reddit

How do I connect an AI assistant to Reddit?

Configure https://posttodata.com/mcp and an Authorization: Bearer YOUR_API_KEY header in a remote MCP client. Call search_posts with platform reddit, then get_comments for a returned post. Results include source URLs.

Reddit · search posts · $0.003 a call · one verified website trial · updated 2026-11-13

Run it live

Calls run only when you press Run. Opening this page does not spend credit.

Loading…

Your results will appear here. Choose a platform and action, then press Run.

Real API calls require verification for one trial, or a signed-in account with prepaid credit.

From code

curl
curl "https://posttodata.com/v1/reddit/search?query=obsidian+vs+notion&limit=5" -H "Authorization: Bearer YOUR_API_KEY"
Python
import requests

r = requests.get(
    "https://posttodata.com/v1/reddit/search",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    params={"query": "obsidian vs notion", "limit": 5},
)
for item in r.json()["data"]["items"]:
    print(item["url"], item.get("text") or item.get("title"))

From your AI

Claude and ChatGPT clients that support OAuth can sign in without pasting a key. Follow the client setup guide. The command below is the API-key option for Claude Code.

Add the MCP server once
claude mcp add --transport http posttodata https://posttodata.com/mcp --header "Authorization: Bearer YOUR_API_KEY"

Then ask

“Compare Reddit discussions of Obsidian and Notion, with links.”

The model calls search_posts with platform reddit.

Good to know

  • Create your key in the dashboard.
  • REST and MCP share the same balance.
  • Upstream failures are not charged to the user.

Full reference in the docs. All Reddit endpoints are on the Reddit API page.

More answers