Add Tasks
Reddit Scraper
Add Tasks
Add Reddit URLs to scrape posts, comments, user profiles, or subreddits
POST
Add Tasks
Add Reddit URLs to collect posts, comments, user profiles, or subreddit metadata. The scraper handles post threads (with nested comments), subreddit feeds, user profile pages, and global or subreddit-scoped search results.
Headers
Your API authentication token. Value:
Token YOUR_API_KEYRequest body format. Value:
application/jsonRequest Body
| Field | Type | Required | Description |
|---|---|---|---|
| squid | string | Yes | Hash of your squid configured with the Reddit Scraper crawler |
| tasks | array | Yes | Array of task objects, each containing a url field |
Task Object
| Field | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | Reddit URL to scrape — see supported URL types below |
Supported URL Types
| Type | Example |
|---|---|
| Post thread | https://www.reddit.com/r/Bitcoin/comments/1rcbgsa/crypto_beginners/ |
| Subreddit | https://www.reddit.com/r/Bitcoin/ |
| User profile | https://www.reddit.com/user/thisisbillgates/ |
| Global search | https://www.reddit.com/search/?q=bitcoin |
| Subreddit search | https://www.reddit.com/r/Bitcoin/search/?q=lightning |
Code Examples
Response
200