Reddit

Web Scraping API Reddit Target

📘

Specific target templates listed below are available with Advanced plans.
You can scrape Reddit target with Coreplans 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 Coresolution 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

ParameterTypeRequiredDescriptionExample
urlurlReddit post URLhttps://www.reddit.com/r/nba/comments/17jrqc5/serious_next_day_thread_postgame_discussion/
targetstringThis target typereddit_post
localestringLanguage localeen-GB
geostringGeolocationUnited States

Reddit subreddit

This target will return information from a given subreddit.

POST https://scraper-api.decodo.com/v2/scrape

Payload type: JSON

ParameterTypeRequiredDescriptionExample
urlurlReddit subreddit URLhttps://www.reddit.com/r/nba/
targetstringThis target typereddit_subreddit
localestringLanguage localeen-GB
geostringGeolocationUnited 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

ParameterTypeRequiredDescriptionExample
urlurlReddit user URLhttps://www.reddit.com/user/IWasRightOnce/
targetstringThis target typereddit_user
localestringLanguage localeen-GB
geostringGeolocationUnited 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].

Feedback

Something's missing? Request an article!
Got feedback? Let us know how we're doing and what can be improved.


```