Web Scraping API Reddit Target
Specific target templates listed below are available with
Advanced
plans.
You can scrapeCore
plans as well by providing page URL (it does not support parsing or target specific parameters). Both solutions can be tested in the Playground in Dashboard.Read more about
Core
solution here.
The following targets are available:
Target |
---|
reddit_post |
reddit_subreddit |
reddit_user |
Reddit post
This target will return information from a post in a subreddit.
POST https://scraper-api.decodo.com/v2/scrape
Payload type: JSON
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
target | string | ✅ | This target type | reddit_post |
url | string | ✅ | Reddit post URL | https://www.reddit.com/r/nba/comments/17jrqc5/serious_next_day_thread_postgame_discussion/ |
Reddit subreddit
This target will return information from a given subreddit.
POST https://scraper-api.decodo.com/v2/scrape
Payload type: JSON
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
| string | ✅ | This target type |
|
| string | ✅ | Reddit subreddit URL. URLs can also include the sorting parameter at the end of the url. | Default sorting: Sorted by newest: |
Reddit user
This target will return information from a Reddit user's page.
POST https://scraper-api.decodo.com/v2/scrape
Payload type: JSON
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
| string | ✅ | This target type |
|
| string | ✅ | Reddit user URL |
|
| string | Sort results using one of Reddit's filters. Valid values: |
|
Support
Still can't find an answer? Want to say hi? We take pride in our 24/7 customer support. Alternatively, you can reach us via our support email at [email protected].
Updated 16 days ago