2,000 credits
$9
$4.50 per 1,000 credits
- Up to 5 keyword monitors
- 5 requests per second
- All REST endpoints and MCP tools
- Credits never expire
Reddit API for AI agents
Fetch a public Reddit post with its nested replies, including comments behind “load more”. Get structured JSON or Markdown ready for your agent.
100 free credits. No card required.
GET /v1/reddit/postSaved example
# Quarter 2 Update - Revisiting Rules. Again.
https://www.reddit.com/r/selfhosted/comments/1sey9ch/
Welcome to Quarter 2 2026! The moderators are here and grateful for everyone's participation and feedback.The free preview returns the post body and metadata.
curl -G https://api.threadapi.dev/v1/reddit/post \
-H "Authorization: Bearer $THREADAPI_API_KEY" \
--data-urlencode 'url=https://www.reddit.com/r/selfhosted/comments/1sey9ch/' \
-d "format=md" -d "max_comments=500"Works with
Keyword monitors + agents
Watch for keywords in public posts and comments. Send matches to a webhook, or read them through the API or MCP. Your agent can pull the discussion and share a brief with your team.
Which Reddit API can include nested replies?
Has anyone else seen more API timeouts this morning?
What’s your self-hosted backup setup for Postgres?
> Read the thread and find backup tools worth looking at.
● get_monitor_matches└ Match for “self-hosted backup”
● get_reddit_post└ Source context retrieved
Replies discuss restic for off-site backups and how to test restores.
ThreadAPI reads public Reddit. Your agent can draft a response for your review.
Endpoints
Read threads, search discussions, and look up subreddits and users. Paginate listings with
after.
/v1/reddit/post 1 credit up to 500 comments Read a post and its nested comments in Markdown or JSON.
curl -G "https://api.threadapi.dev/v1/reddit/post" \
-H "Authorization: Bearer $THREADAPI_API_KEY" \
--data-urlencode "url=https://www.reddit.com/r/programming/comments/1x144ok/how_big_is_a_git_commit/" \
--data-urlencode "max_comments=500" \
--data-urlencode "format=md" /v1/reddit/posts/batch 1 credit Look up to 100 posts by ID or URL in a single request.
curl -X POST "https://api.threadapi.dev/v1/reddit/posts/batch" \
-H "Authorization: Bearer $THREADAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ids":["t3_1x1ai6v","t3_1xagllz"]}' /v1/reddit/search/posts 1 credit / page Search posts across Reddit or within a subreddit.
curl -G "https://api.threadapi.dev/v1/reddit/search/posts" \
-H "Authorization: Bearer $THREADAPI_API_KEY" \
--data-urlencode "q=backup strategy" \
--data-urlencode "sub=selfhosted" /v1/reddit/search/comments 1 credit / page Find comments that match a query.
curl -G "https://api.threadapi.dev/v1/reddit/search/comments" \
-H "Authorization: Bearer $THREADAPI_API_KEY" \
--data-urlencode "q=postgres replica lag" /v1/reddit/subreddit/posts 1 credit / page List posts by hot, new, top, rising, or controversial.
curl -G "https://api.threadapi.dev/v1/reddit/subreddit/posts" \
-H "Authorization: Bearer $THREADAPI_API_KEY" \
--data-urlencode "sub=selfhosted" \
--data-urlencode "sort=top" \
--data-urlencode "t=week" /v1/reddit/subreddit/comments 1 credit / page Read recent comments in a subreddit.
curl -G "https://api.threadapi.dev/v1/reddit/subreddit/comments" \
-H "Authorization: Bearer $THREADAPI_API_KEY" \
--data-urlencode "sub=selfhosted" \
--data-urlencode "limit=25" /v1/reddit/subreddit 1 credit Get a subreddit's description, subscriber count, and rules.
curl -G "https://api.threadapi.dev/v1/reddit/subreddit" \
-H "Authorization: Bearer $THREADAPI_API_KEY" \
--data-urlencode "sub=selfhosted" /v1/reddit/user 1 credit Get a public user profile and karma.
curl -G "https://api.threadapi.dev/v1/reddit/user" \
-H "Authorization: Bearer $THREADAPI_API_KEY" \
--data-urlencode "name=spez" /v1/reddit/user/posts 1 credit / page List a user's public posts.
curl -G "https://api.threadapi.dev/v1/reddit/user/posts" \
-H "Authorization: Bearer $THREADAPI_API_KEY" \
--data-urlencode "name=spez" \
--data-urlencode "limit=25" /v1/reddit/user/comments 1 credit / page List a user's public comments.
curl -G "https://api.threadapi.dev/v1/reddit/user/comments" \
-H "Authorization: Bearer $THREADAPI_API_KEY" \
--data-urlencode "name=spez" \
--data-urlencode "limit=25" MCP and REST
Connect your MCP client to ThreadAPI over Streamable HTTP. Sign in when prompted or authenticate with an API key. The same key works for direct REST requests.
get_reddit_postget_reddit_itemslist_subreddit_postsget_subredditsearch_redditget_monitor_matchesMCP calls use the same credits as their REST routes.
Read the MCP setup guideclaude mcp add --transport http threadapi https://api.threadapi.dev/mcp
# In Claude Code, run /mcp and sign in when prompted.Then ask your agent
https://api.threadapi.dev/mcpPricing
Buy credits as you need them. Packs add to one balance and never expire. Start with 100 free credits.
$9
$4.50 per 1,000 credits
$29
$2.90 per 1,000 credits
$79
$1.58 per 1,000 credits
Thread requests ask for 200 comments by default. Free accounts can make up to 100 requests per day. Full pricing details.
From Reddit's public pages, read the way a logged-out browser reads them. threadapi doesn't use anyone's Reddit account, and it can't see private, quarantined or age-gated content. Those requests return an error and cost nothing. How you use what you fetch has to follow the laws and terms that apply to you.
Yes. Connect your MCP client to https://api.threadapi.dev/mcp and sign in, or use an API key to call the REST endpoints. Thread responses are available as JSON or Markdown.
Threads are cached based on their age. Recent posts are refreshed more often. The X-Cache header tells you whether a request was served from cache.
A post with up to 500 returned comments costs 1 credit. Each additional group of up to 100 returned comments costs 1 more. A page of listing or search results costs 1 credit.
You get the comments your balance covers, the response says limited_by_balance, and the balance never goes below zero. Top up and retry with your desired max_comments limit.
No. A deleted post, a private subreddit, a rate limit or a problem on our side costs nothing. Every successful response says what it cost in the X-Credits-Used header.
Yes, within 14 days of buying a pack if none of its credits were used. Email hello@threadapi.dev.
Start reading
100 free credits. Sign in with Google, GitHub or an email code.