Answers / Reddit
How can I read Reddit posts with an API?
Send GET /v1/reddit/search?query=coffee with Authorization: Bearer YOUR_API_KEY. Each result includes its original URL and available scores and comment counts. Use the website for one verified trial before buying credit.
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 "https://posttodata.com/v1/reddit/search?query=coffee&limit=5" -H "Authorization: Bearer YOUR_API_KEY"import requests
r = requests.get(
"https://posttodata.com/v1/reddit/search",
headers={"Authorization": "Bearer YOUR_API_KEY"},
params={"query": "coffee", "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.
claude mcp add --transport http posttodata https://posttodata.com/mcp --header "Authorization: Bearer YOUR_API_KEY"Then ask
“Search Reddit for opinions about pour-over coffee and cite the sources.”
The model calls search_posts with platform reddit.
Good to know
- All six supported actions use the same response format.
- Search currently lists at $0.003 per successful call; check prices.json for current prices.
- An API key and prepaid balance are required for direct API calls.
Full reference in the docs. All Reddit endpoints are on the Reddit API page.
More answers