Amazon Reviews Scraper avatar
Amazon Reviews Scraper
Try for free

14 days trial then $40.00/month - No credit card required now

View all Actors
Amazon Reviews Scraper

Amazon Reviews Scraper

junglee/amazon-reviews-scraper
Try for free

14 days trial then $40.00/month - No credit card required now

Amazon scraper to extract reviews from Amazon products. Scrape and download detailed reviews without using the Amazon API, including rating score, review description, reactions and images. Download your data as HTML table, JSON, CSV, Excel, XML.

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

Node.js

Python

curl

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10    "productUrls": [
11        {
12            "url": "https://www.amazon.com/Apple-iPhone-64GB-Midnight-Green/dp/B08BHHSB6M"
13        }
14    ],
15    "maxReviews": 100,
16    "filterByRatings": [
17        "allStars"
18    ],
19    "proxyConfiguration": {
20        "useApifyProxy": true,
21        "apifyProxyGroups": [
22            "RESIDENTIAL"
23        ]
24    }
25};
26
27(async () => {
28    // Run the Actor and wait for it to finish
29    const run = await client.actor("junglee/amazon-reviews-scraper").call(input);
30
31    // Fetch and print Actor results from the run's dataset (if any)
32    console.log('Results from dataset');
33    console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
34    const { items } = await client.dataset(run.defaultDatasetId).listItems();
35    items.forEach((item) => {
36        console.dir(item);
37    });
38})();
39
40// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Developer
Maintained by Apify
Actor metrics
  • 146 monthly users
  • 93.1% runs succeeded
  • 2.5 days response time
  • Created in May 2022
  • Modified 4 days ago
Categories