Amazon Product Scraper avatar
Amazon Product Scraper
Try for free

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

View all Actors
Amazon Product Scraper

Amazon Product Scraper

junglee/amazon-crawler
Try for free

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

Use this Amazon scraper to collect data based on URL and country from the Amazon website. Extract product information without using the Amazon API, including reviews, prices, descriptions, and Amazon Standard Identification Numbers (ASINs). Download data in various structured formats.

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

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    "categoryOrProductUrls": [
11        {
12            "url": "https://www.amazon.com/s?i=specialty-aps&bbn=16225009011&rh=n%3A%2116225009011%2Cn%3A2811119011&ref=nav_em__nav_desktop_sa_intl_cell_phones_and_accessories_0_2_5_5"
13        }
14    ],
15    "maxItemsPerStartUrl": 100,
16    "proxyConfiguration": {
17        "useApifyProxy": true,
18        "apifyProxyGroups": [
19            "RESIDENTIAL"
20        ]
21    }
22};
23
24(async () => {
25    // Run the Actor and wait for it to finish
26    const run = await client.actor("junglee/amazon-crawler").call(input);
27
28    // Fetch and print Actor results from the run's dataset (if any)
29    console.log('Results from dataset');
30    const { items } = await client.dataset(run.defaultDatasetId).listItems();
31    items.forEach((item) => {
32        console.dir(item);
33    });
34})();
Developer
Maintained by Apify
Actor metrics
  • 204 monthly users
  • 88.5% runs succeeded
  • 4.6 days response time
  • Created in Oct 2018
  • Modified about 4 hours ago
Categories