Scrape public Reddit posts, comments, subreddits, and users
What it does
Pulls public Reddit data — posts, comment threads, subreddit listings, and user pages — and returns structured results you can read in chat or in the playground output panel.
How it works
Reddit is a native connector. No Reddit account or OAuth setup is required. AINexLayer fetches public pages when you ask.
- Chat — describe what you need (a subreddit, topic, or post URL). The agent runs the Reddit scraper automatically and answers from the results.
- API Playground — run the scraper yourself: open API Playground in the workspace sidebar, pick Reddit → Scrape, fill in the form, and click Run. Results appear in the output panel; every run is logged under Runs with duration and cost.
Use in API Playground
- Open API Playground → Reddit → Scrape
- Add at least one input:
- Search queries — keywords to search on Reddit
- URLs — a post, subreddit (
/r/…), user page, or search URL - Community — a subreddit name (without
r/) to scope a search or list its posts
- Set Max items to 10–25 for a first run
- Optional: set Max comments per post if you need thread content (set to
0or enable Skip comments for faster runs) - Click Run
Useful options
| Option | What it does |
|---|---|
| Sort | Order results: new, hot, top, relevance, etc. |
| Time filter | When using top/controversial, limit to hour, day, week, month, year, or all time |
| Include NSFW | Include or exclude over-18 posts |
| Post / comment date limit | Only return content newer than a given date (useful for repeat runs) |
What you get back
Each result item is a post, comment, community, or user record — title, body, score, comment count, subreddit, author, and optional nested comments.
Runs are billed per item returned. The price per item is shown on the Reddit card in API Playground.
