Actor picture

Amazon Best Sellers Scraper

junglee/amazon-bestsellers-scraper

Scrape the Amazon Best Sellers categories and extract details on top 100 most popular items on Amazon. Download product name, price, URL, and thumbnail image. Best used on .com, .co.uk, .de, .fr, .es, and .it domains. Download your data in various formats: HTML table, JSON, CSV, Excel, and more.

No credit card required

Author's avatarJunglee
  • Modified
  • Users575
  • Runs11,031
Actor picture
Amazon Best Sellers Scraper

Our free Amazon Best Sellers Scraper allows you to scrape the 100 top-selling items on Amazon. It extracts data from Amazon Best Sellers pages in structured formats such as JSON, XML, CSV, or Excel. With this Amazon API, you will be able to:

  • extract data from different domains: US, GB, DE, FR, ES and IT.
  • extract all Amazon Best Seller product details: name, price, URL, and thumbnail image.
  • scrape Amazon Best Seller categories and subcategories.

If you would prefer a more general Amazon product or data scraper, you should try Amazon Scraper instead.

How do I scrape Amazon Best Sellers?

For a step-by-step guide on how to scrape Amazon Best Sellers, follow our Amazon Best Sellers Scraper tutorial.

Input parameters

There are two ways you can scrape Amazon Best Sellers: either by Domain or by Amazon URL.

  1. Scraping by Domain will get you data from one of 6 available Amazon domains. You can only pick one per run.
  2. Scraping by Amazon URL will get you all details from a chosen category and its subcategories. You can add as many URLs as you want.

Here's an input example for an Amazon URL:

Apify  -  Amazon best sellers - input example  input

Tips and tricks

  • By default, this Amazon scraper extracts the 37 top Best Seller subcategories. A deeper level of extraction can be added to allow you to scrape the top-selling items from the first level of the main categories' sub-divisions.

  • The default depth of the crawl is limited to two subcategories. There is a way around this restriction. Start on the main category, scrape two departments. Then remove duplicate category URLs from there and feed them back into the scraper again.

Proxy configuration

The proxy configuration (proxyConfiguration) option enables you to set proxies that will be used by the scraper in order to prevent its detection by target websites. You can use both Apify Proxy and custom HTTP or SOCKS5 proxy servers.

The following table lists the available options of the proxy configuration setting:

Apify Proxy (automatic): The scraper will load all web pages using Apify Proxy in automatic mode. In this mode, the proxy uses all proxy groups that are available to the user, and for each new web page it automatically selects the proxy that hasn't been used in the longest time for the specific hostname, in order to reduce the chance of detection by the website. You can view the list of available proxy groups on the proxy page in the app.

Apify Proxy (selected groups): The scraper will load all web pages using Apify Proxy with specific groups of target proxy servers.

Custom proxies: The scraper will use a custom list of proxy servers. The proxies must be specified in the scheme://user:password@host:port format, multiple proxies should be separated by a space or new line. The URL scheme can be either HTTP or SOCKS5. User and password might be omitted, but the port must always be present.

Amazon Best Sellers data output

You can download the resulting datasets in various universal formats such as JSON, HTML, CSV or Excel. Each item in the dataset will contain a separate Amazon item following this format:

[{
  "category": "Amazon.co.uk Best Sellers: The most popular items in Books",
  "categoryUrl": "https://www.amazon.co.uk/best-sellers-books-Amazon/zgbs/books/ref=zg_bs_nav_0",
  "ID": 0,
  "name": "The Bullet That Missed: (The Thursday Murder Club 3)",
  "price": null,
  "url": "https://www.amazon.co.uk/Bullet-that-Missed-Thursday-Mystery/dp/0241512425/ref=zg_bs_books_sccl_1/261-2733972-0388621?pd_rd_i=0241512425&psc=1",
  "thumbnail": "https://images-eu.ssl-images-amazon.com/images/I/71xfjR3QXyL._AC_UL600_SR600,400_.jpg"
},
{
  "category": "Amazon.co.uk Best Sellers: The most popular items in Books",
  "categoryUrl": "https://www.amazon.co.uk/best-sellers-books-Amazon/zgbs/books/ref=zg_bs_nav_0",
  "ID": 1,
  "name": "One: Simple One-Pan Wonders",
  "price": null,
  "url": "https://www.amazon.co.uk/One-One-Pan-Wonders-Jamie-Oliver/dp/0241431107/ref=zg_bs_books_sccl_2/261-2733972-0388621?pd_rd_i=0241431107&psc=1",
  "thumbnail": "https://images-eu.ssl-images-amazon.com/images/I/81CBtopMxOL._AC_UL600_SR600,400_.jpg"
},
{
  "category": "Amazon.co.uk Best Sellers: The most popular items in Books",
  "categoryUrl": "https://www.amazon.co.uk/best-sellers-books-Amazon/zgbs/books/ref=zg_bs_nav_0",
  "ID": 2,
  "name": "Verity: The thriller that will capture your heart and blow your mind",
  "price": null,
  "url": "https://www.amazon.co.uk/Verity-thriller-that-capture-heart/dp/1408726602/ref=zg_bs_books_sccl_3/261-2733972-0388621?pd_rd_i=1408726602&psc=1",
  "thumbnail": "https://images-eu.ssl-images-amazon.com/images/I/91e9kVbpfZL._AC_UL600_SR600,400_.jpg"
}
...

During the run

  • During the run, the actor will output messages notifying you of which page is being extracted. When the items are extracted, the actor will notify you that they are being saved.
  • Due to concurrent extraction of pages, these notifications may not be displayed in order.
  • In the event of an error, the actor will complete its run immediately, without adding any data to the dataset.

How can you use Amazon Best Sellers data?

If you're web scraping Amazon for retail or market research, the Amazon Best Sellers list can tell you a lot about the top trends in e-commerce. Competing directly against top-selling items across Amazon can be difficult, but it also can be a source of inspiration for new products for e-commerce retailers. Data collected on those top-selling items can help you:

  • stay ahead of the competition
  • improve sales for your business
  • track up-and-coming products
  • adjust your product prices to market levels

Integrations and Amazon Best Sellers Scraper

Last but not least, Amazon Best Sellers Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. You can integrate with Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, and more. Or you can use webhooks to carry out an action whenever an event occurs, e.g. get a notification whenever Instagram API Scraper successfully finishes a run.

Using Amazon Best Sellers Scraper with the Apify API

The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify actors. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more.

To access the API using Node.js, use the apify-client NPM package. To access the API using Python, use the apify-client PyPI package.

Check out the Apify API reference docs for full details or click on the API tab for code examples.

How much does it cost to scrape Amazon Best Sellers?

For every 100 pages scraped, the scraper will consume 0.6 compute units, which boils down to 160 pages for less than USD 0.25 in platform credits. For more details about the plans we offer, platform credits, and usage, see the platform pricing page or this videoguide on ▷ how to choose the right subscription plan.

Resources on how to scrape Amazon Best Sellers data

  1. Platform pricing page with pricing specifications.
  2. Video guide ▷ on how to choose the right subscription plan.
  3. Step-by-step guide on how to use Amazon Best Sellers scraper.
  4. Input tab with all the technical parameters of this scraper.
  5. Is web scraping legal on the legal aspects of scraping.

Industries

See how Amazon Best Sellers Scraper is used in industries around the world