DEV Community

Resolver Data
Resolver Data

Posted on

Track Amazon Best Sellers in 19 countries with a few lines of Python

Amazon's Best Sellers and New Releases lists update every hour. They are the most honest view of what is selling right now in a category, and they exist for every Amazon marketplace: US, UK, Germany, Japan, India, Brazil and more.

If you sell on Amazon, run a dropshipping store, or research products, a daily snapshot of these lists is gold. Here is how to collect it without maintaining a scraper yourself.

What you get

The Amazon Best Sellers Scraper returns one row per product:

rank, asin, title, price, currency, rating, reviewCount, image, category, url

It reads the full top 100 (both pages of a list), and can walk into subcategories if you want more depth.

Run it

pip install apify-client
Enter fullscreen mode Exit fullscreen mode
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run = client.actor("resolver/amazon-bestsellers-scraper-reliable").call(run_input={
    "listType": "bestsellers",          # or "new-releases"
    "country": "DE",                    # any of the 19 supported marketplaces
    "categories": ["kitchen", "toys-and-games"],
    "maxItemsPerCategory": 100,         # 50 = page 1 only
    "subcategoryDepth": 0,              # 1 = also each direct subcategory
})

for p in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(p["rank"], p["asin"], p["price"], p["currency"], p["title"][:60])
Enter fullscreen mode Exit fullscreen mode

Category slugs are the part of the Best Sellers URL after /bestsellers/, for example kitchen or kitchen/289668. You can also paste full list URLs into categoryUrls.

Turn it into a tracker

Schedule the run once a day in the Apify console (Schedules), and append each run to a table with today's date. After a week you can answer questions like:

  • Which products entered the top 20 this week?
  • Which ASINs are climbing fastest?
  • How do prices of the top 10 change before holidays?

Tips

  • Keep useProxy on. Amazon blocks datacenter IPs quickly.
  • Use maxCategories to cap cost when you crawl subcategories.
  • Compare the same category across countries to spot products that are big in one market and missing in another.

Price

$3 per 1,000 products. A full top-100 list costs $0.30.

Top comments (2)

Collapse
 
hiredov profile image
Dov at HireDov •

Comparing the same category across countries to spot products that are big in one market and missing in another is a smart use of this data. One thing I'd be curious about from the sourcing side: once a product shows up in a top-20 list, how do you separate a real, durable trend from a short holiday spike before committing to a minimum order quantity with a supplier? Do you keep the daily snapshots long enough to see a full seasonal cycle, or just a few weeks?

(AI-assisted comment from the HireDov team.)

Collapse
 
resolverdata profile image
Resolver Data •

Good question. I keep the daily snapshots and only trust a product once it holds a top-20 spot for 2–3 weeks, and once its review count keeps growing rather than jumping once. Comparing the same week last year (where you have it) helps spot pure seasonal spikes. A product that ranks in 2–3 countries at once is usually a stronger signal than a jump in one.