Reddit API Scraper avatar
Reddit API Scraper
Try for free

Pay $5.00 for 1,000 results

View all Actors
Reddit API Scraper

Reddit API Scraper

comchat/reddit-api-scraper
Try for free

Pay $5.00 for 1,000 results

Reddit Scraper is a powerful tool that allows you to extract data from Reddit such as posts by keyword. With Reddit Scraper, you can easily gather valuable information from Reddit without the need to log in. You can easily use this Reddit scraper as an alternative API.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "searchList": [
8    "webscraping"
9  ],
10  "resultsLimit": 5,
11  "sortBy": "new",
12  "proxy": {
13    "useApifyProxy": true,
14    "apifyProxyGroups": [
15      "RESIDENTIAL"
16    ]
17  }
18}
19EOF
20
21# Run the Actor using an HTTP API
22# See the full API reference at https://docs.apify.com/api/v2
23curl "https://api.apify.com/v2/acts/comchat~reddit-api-scraper/runs?token=$API_TOKEN" \
24  -X POST \
25  -d @input.json \
26  -H 'Content-Type: application/json'
Developer
Maintained by Apify
Actor metrics
  • 68 monthly users
  • 100.0% runs succeeded
  • 0.0 days response time
  • Created in Dec 2022
  • Modified 2 months ago