01 · Reddit API for agents
Reddit hides most of a long thread behind "load more" links. threadapi follows every one and returns the whole tree as JSON or Markdown your model can read.
No card. Credits never expire.
1,204 comments, 9 levels deep
38 "load more" links followed · 9 credits
# What's your backup strategy for a home server?
r/selfhosted · 1,204 comments
- **u/restic_fan** (512): Restic to B2, nightly…
- **u/quietbuilder** [OP] (88): Stealing that. We open every “load more comments”, 100 comments a request, and put each reply back under its parent.
Markdown that keeps nesting, scores and who the poster is, with a digest of the comments worth reading first. Or JSON with every field.
Every new post and comment on Reddit, checked against your keywords and sent to your webhook, Slack or Discord.
One MCP URL for Claude, Cursor, VS Code and Codex. They open a sign-in page the first time, so there's no key to paste.
How big is a Git commit?
Looking at git commit history across 40k repos. What's the average object size and commit depth in modern monorepos?
At least 3
A commit of three gits.
Specifically measuring the sha1 tree representation vs uncompressed blob references.
Commit objects themselves are very small (usually ~200-500 bytes), just author, committer, gpg sig, tree sha, parent shas and message.
SVN was simpler and never had this question.
reddit.com
What Reddit serves
threadapi
Our side
your agent
0.3–0.6 s
a post and its first page, not cached
5.9 s
800 comments of a 2,435-comment thread
< 1 ms
the same thread again, from cache
Timed on 9 October 2026 from a server in California, through the same egress production uses.
after
and leaves out NSFW unless you pass nsfw=true.
GET /v1/reddit/post 1 up to 500 comments A post and its whole comment tree, as JSON or Markdown. GET /v1/reddit/posts/batch 1 credit Up to 100 posts by ID or URL in one call. GET /v1/reddit/search 1 / page Posts, comments, subreddits or users matching a query. GET /v1/reddit/search/comments 1 / page Comments matching a query across Reddit or a subreddit. GET /v1/reddit/subreddit 1 / page Hot, new, top, rising or controversial posts. GET /v1/reddit/subreddit/comments 1 / page The newest comments in a subreddit. GET /v1/reddit/subreddit/about 1 credit Description, subscribers and rules. GET /v1/reddit/user 1 credit Profile and karma. GET /v1/reddit/user/posts 1 / page What someone posted. GET /v1/reddit/user/comments 1 / page What someone commented. Medians from a 6-hour test in October 2026.
Tools billed like the REST routes they call
get_reddit_post A post, its comment tree and the digest. get_reddit_posts_batch Up to 100 posts by ID or URL in one call. list_subreddit_posts Hot, new, top, rising or controversial posts. get_subreddit Description, subscribers and rules. get_reddit_user Profile and karma, with posts or comments. search_reddit Posts, comments, subreddits or users matching a query. create_monitor Creates a new keyword monitor on public Reddit. get_monitor_matches The latest matches of a keyword monitor. claude mcp add --transport http threadapi https://api.threadapi.dev/mcp
# Then ask:
# "Read the top posts in r/selfhosted this week and
# tell me which backup tools people trust."2,000 credits
$9
Try it on a project or run a monitor.
10,000 credits Most popular
$29
For daily research, monitoring, and agents in production.
50,000 credits
$79
Best rate for high-volume pipelines and automated agents.
What a request costs
| A post with up to 500 comments | 1 |
|---|---|
| Each further 100 comments | +1 |
| A listing, search or lookup, up to 100 items | 1 |
| A running monitor, per day (up to 20 keywords) | 10 |
| A failed request | 0 |
Requests ask for 200 comments unless you set max_comments, so most cost 1 credit. Free keys make up to 100 requests a day until a first pack.
More than 50,000 a month?
Volume pricing, custom rate limits, and invoice billing available.
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.
Reddit's Data API needs a registered app and OAuth, caps each app's request rate, and needs a separate agreement for commercial use. You'd also write the paging for hidden comments yourself. threadapi needs one key.
A thread under six hours old is never more than five minutes stale. One under two days old is refreshed at most hourly, and older threads, which rarely change, are kept for up to a week.
One Reddit page. A post request returns up to 500 comments on its first page for 1 credit, and each further page of up to 100 comments costs 1 more. You're charged for the comments you get back, not for the requests we make, so our retries are never on your bill. Listings and searches are 1 credit for up to 100 posts.
You get the comments your balance covers, the response says limited_by_balance, and the balance never goes below zero. Top up and ask again: the comments already fetched come from our cache, so the second request is quick.
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.
100 free credits. Sign in with Google, GitHub or an email code.