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.smartproxy.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.smartproxy.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.smartproxy.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

Need help or just want to say hello? Our customer support is available 24/7. You can also reach us anytime via email at [email protected].

Feedback

Can't find what you're looking for? Request an article!
Have feedback? Share your thoughts on how we can improve.