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:
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 |
---|---|---|---|---|
url | url | ✅ | Reddit post URL | https://www.reddit.com/r/nba/comments/17jrqc5/serious_next_day_thread_postgame_discussion/ |
target | string | ✅ | This target type | reddit_post |
locale | string | Language locale | en-GB | |
geo | string | Geolocation | United States |
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 |
---|---|---|---|---|
url | url | ✅ | Reddit subreddit URL | https://www.reddit.com/r/nba/ |
target | string | ✅ | This target type | reddit_subreddit |
locale | string | Language locale | en-GB | |
geo | string | Geolocation | United States |
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 |
---|---|---|---|---|
url | url | ✅ | Reddit user URL | https://www.reddit.com/user/IWasRightOnce/ |
target | string | ✅ | This target type | reddit_user |
locale | string | Language locale | en-GB | |
geo | string | Geolocation | United States |
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 about 24 hours ago