![Reddit API Scraper avatar](https://images.apifyusercontent.com/kicTri7wcAcDT8BW1acR6emh-4T0fM_8xadUBpBpQmw/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS90VzB0ZG11N1hBSW9OZXprMi9xRHJ6d2dMamhlQkc5QlJqay1SZWRkaXRfQVBJX1NjcmFwZXIucG5n.webp)
Reddit API Scraper
Try for free
Pay $5.00 for 1,000 results
View all Actors![Reddit API Scraper](https://images.apifyusercontent.com/kicTri7wcAcDT8BW1acR6emh-4T0fM_8xadUBpBpQmw/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS90VzB0ZG11N1hBSW9OZXprMi9xRHJ6d2dMamhlQkc5QlJqay1SZWRkaXRfQVBJX1NjcmFwZXIucG5n.webp)
![Reddit API Scraper](https://images.apifyusercontent.com/kicTri7wcAcDT8BW1acR6emh-4T0fM_8xadUBpBpQmw/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS90VzB0ZG11N1hBSW9OZXprMi9xRHJ6d2dMamhlQkc5QlJqay1SZWRkaXRfQVBJX1NjcmFwZXIucG5n.webp)
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 more
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
- 20 monthly users
- 4 stars
- 100.0% runs succeeded
- 7.9 days response time
- Created in Dec 2022
- Modified about 1 month ago
Categories