| Metadata | Value |
|---|---|
| Category | media |
| Capabilities | http |
| Website | https://reddit.com |
Returns shapes
Section titled “Returns shapes”community— fromget_communitycommunity[]— fromsearch_communitiespost— fromget_postpost[]— fromsearch_posts,list_posts,comments_post
Readme
Section titled “Readme”Access public Reddit data using Reddit’s built-in JSON endpoints.
No Setup Required
Section titled “No Setup Required”Unlike the official Reddit API (which now requires pre-approval), this adapter uses Reddit’s public JSON endpoints that work immediately without any configuration.
How it works
Section titled “How it works”Reddit exposes a public JSON API by simply appending .json to any URL:
reddit.com/r/programming.json→ subreddit postsreddit.com/r/programming/new.json→ new postsreddit.com/comments/{id}.json→ post with commentsreddit.com/search.json?q=query→ post search resultsreddit.com/subreddits/search.json?q=query→ subreddit search resultsreddit.com/r/{subreddit}/about.json→ subreddit metadata
No authentication required, just a custom User-Agent header to avoid rate limiting.
Rate Limits
Section titled “Rate Limits”- ~10 requests per minute without OAuth
- Sufficient for browsing and casual use
| Operation | Description |
|---|---|
search_posts | Search posts across all of Reddit |
list_posts | List posts from a specific subreddit |
get_post | Get a single post with comments |
search_communities | Search for subreddits |
get_community | Get metadata for a specific subreddit |
Examples
Section titled “Examples”# Search for posts about TypeScriptGET /api/posts/search?query=typescript+tips
# List hot posts from r/programmingGET /api/posts?subreddit=programming
# Get a specific postGET /api/posts/abc123# Using adapter endpoints directlyPOST /api/adapters/reddit/post.search{"query": "rust programming", "limit": 10}
POST /api/adapters/reddit/post.list{"subreddit": "programming", "sort": "hot"}
POST /api/adapters/reddit/post.get{"id": "1abc234"}
# Search for subredditsGET /api/groups/search?query=rust
# Get subreddit infoGET /api/groups/programming