![Amazon Products and Bestsellers Scraper ✅ Free avatar](https://images.apifyusercontent.com/HRs9OIqH3pesLNze4v2RlrDk6QsJ3GFHTRWkMyyTjCc/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS91enpIcE5xaTlrZVdDYzVvNS9zUHFvMko5enI0YWtnaFB0RC1hbWF6b24ucG5n.webp)
Amazon Products and Bestsellers Scraper ✅ Free
Try for free
No credit card required
View all Actors![Amazon Products and Bestsellers Scraper ✅ Free](https://images.apifyusercontent.com/HRs9OIqH3pesLNze4v2RlrDk6QsJ3GFHTRWkMyyTjCc/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS91enpIcE5xaTlrZVdDYzVvNS9zUHFvMko5enI0YWtnaFB0RC1hbWF6b24ucG5n.webp)
![Amazon Products and Bestsellers Scraper ✅ Free](https://images.apifyusercontent.com/HRs9OIqH3pesLNze4v2RlrDk6QsJ3GFHTRWkMyyTjCc/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS91enpIcE5xaTlrZVdDYzVvNS9zUHFvMko5enI0YWtnaFB0RC1hbWF6b24ucG5n.webp)
Amazon Products and Bestsellers Scraper ✅ Free
curious_coder/amazon-scraper
Try for free
No credit card required
Scrape products from amazon category pages, search results, best sellers, gitfts, etc and extract complete details such as description, price, rating, bestsellers ranks, badges, photos etc
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
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 "searchUrl": "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",
11 "startPage": 1,
12 "count": 50,
13 "threadCount": 10,
14 "proxy": {
15 "useApifyProxy": true,
16 "apifyProxyGroups": [
17 "RESIDENTIAL"
18 ],
19 "apifyProxyCountry": "US"
20 }
21};
22
23(async () => {
24 // Run the Actor and wait for it to finish
25 const run = await client.actor("curious_coder/amazon-scraper").call(input);
26
27 // Fetch and print Actor results from the run's dataset (if any)
28 console.log('Results from dataset');
29 console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
30 const { items } = await client.dataset(run.defaultDatasetId).listItems();
31 items.forEach((item) => {
32 console.dir(item);
33 });
34})();
35
36// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Developer
Maintained by Community
Actor metrics
- 38 monthly users
- 5 stars
- 87.0% runs succeeded
- 22 days response time
- Created in Jun 2023
- Modified 2 months ago
Categories