Amazon Categories Scraper

Amazon Categories Scraper

by pintostudio

An Apify actor that scrapes and structures Amazon's full category hierarchy from regional sites. Perfect for market research, SEO, and building product databases.

198 runs
26 users
Try This Actor

Opens on Apify.com

About Amazon Categories Scraper

Need to map out Amazon's sprawling category structure for your project? This Apify actor is what I use to pull clean, structured category data directly from Amazon's various regional sites. It navigates those complex menus and extracts everything—parent categories, subcategories, URLs, and sometimes even product counts. I've found it super handy for building product databases, competitive analysis, or just understanding market segmentation without manually clicking through hundreds of pages. You set it to run for your target country (like amazon.com or amazon.co.jp), and it handles the rest, outputting organized JSON or CSV. It runs on Apify's platform, so you don't have to worry about proxies or getting blocked; it just works. If you're in e-commerce, doing market research, or developing an app that needs Amazon's category tree, this scraper saves a ton of time and headache.

What does this actor do?

Amazon Categories Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Amazon Categories Scraper

An Apify actor that scrapes the main navigation categories and their URLs from Amazon's regional websites.

Overview

This tool extracts structured category data from Amazon's country-specific domains. You provide a country code, and it returns a JSON array of category titles and their corresponding links from the site's primary navigation.

Key Features

  • Scrapes category titles and URLs from Amazon's main navigation.
  • Supports 24 regional Amazon sites (e.g., amazon.com, amazon.co.uk, amazon.de).
  • Returns clean, structured JSON data.
  • Handles country-specific domain logic automatically.
  • Includes error handling and logging.

Input

The actor requires a single input parameter.

  • countryIso (string, required): The two-letter ISO country code for the target Amazon site. Defaults to "us".
    • Valid codes: au, be, br, ca, cn, de, eg, es, fr, gb, ie, in, it, jp, mx, nl, pl, sa, se, sg, tr, us, za, ae.

Input Example:

{
  "countryIso": "de"
}

Output

The actor outputs an array of objects. Each object represents a main navigation section and contains its categories.

Each category object within the array has:
* title (string): The display name of the category.
* url (string): The full URL to the category page.
* mainId (string): An internal identifier for the main section.

Output Example:

[
  {
    "categories": [
      {
        "title": "All Videos",
        "url": "https://www.amazon.com/Amazon-Video/b?node=2858778011"
      }
    ],
    "mainId": "2"
  }
]

How to Use

Apify Console

  1. Go to the actor in your Apify console.
  2. Click Start.
  3. Select the desired countryIso from the dropdown.
  4. Click Start again to run it.
  5. Download the results from the dataset when the run finishes.

Apify API (JavaScript)

import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const input = { countryIso: 'jp' };

const run = await client.actor('ACTOR_ID').call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

HTTP API

curl -X POST https://api.apify.com/v2/acts/ACTOR_ID/runs \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"countryIso":"fr"}'

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Amazon Categories Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
pintostudio
Pricing
Paid
Total Runs
198
Active Users
26
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support