# Amazon Seller ASIN Scraper (`listingdetective/amazon-seller-catalog-crawler`) Actor

Extract ALL ASINs and the full category tree from any Amazon seller — no page caps, 20+ marketplaces. Finds 23K+ ASINs in ~8 minutes.

- **URL**: https://apify.com/listingdetective/amazon-seller-catalog-crawler.md
- **Developed by:** [Listing Detective](https://apify.com/listingdetective) (community)
- **Categories:** E-commerce
- **Stats:** 4 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Amazon Seller Full Catalog & Category Tree Crawler

Extract **every ASIN** and the **complete category tree** from any Amazon seller's storefront. No page caps — handles sellers with **20,000+ products** across 14 Amazon marketplaces.

### What makes this different

Other Amazon seller scrapers use page-based pagination and hit a practical ceiling around **1,500–2,000 products**. This actor uses a **category-tree crawling approach** that walks the seller's entire catalog structure, discovering every category branch and collecting ASINs from each — no matter how large the seller is.

#### What you get

- ✅ **Every ASIN** the seller lists on the marketplace (tested with 23,000+ ASINs)
- ✅ **Full category tree** — the complete taxonomy of how the seller organizes their products
- ✅ **No page caps** — the crawler follows every category branch to the end
- ✅ **14 Amazon marketplaces** — US, Mexico, Canada, UK, Germany, France, Spain, Italy, Brazil, India, Japan, Australia, Turkey, UAE

#### Output format

**Dataset** contains:

- A **summary** record with totals (ASIN count, categories, duration, blocked requests)
- One record **per ASIN** — easy to export as CSV, JSON, or Excel

**Key-Value Store** contains:

- `category_tree` — the full hierarchical category tree as JSON, showing how the seller's products are organized

### How to use

1. Enter the **Seller ID** — found in any Amazon seller storefront URL after `me=` (e.g., `AO479GP0TJNDV`)
2. Select the **Marketplace** (defaults to USA)
3. Click **Start**

That's it. The crawler typically finishes in **15–25 minutes** for large sellers (20K+ ASINs).

#### Where to find the Seller ID

Go to any seller's storefront on Amazon. The URL looks like:

```
https://www.amazon.com/s?me=AO479GP0TJNDV&marketplaceID=ATVPDKIKX0DER
```

The Seller ID is the value after `me=` — in this case `AO479GP0TJNDV`.

### Example output

#### Summary record

```json
{
    "type": "summary",
    "seller": "AO479GP0TJNDV",
    "marketplace": "A1AM78C64UM0Y8",
    "asin_count": 22785,
    "categories_count": 4549,
    "blocked_count": 28,
    "duration_seconds": 1358.5
}
```

#### ASIN records

```json
{"type": "asin", "asin": "B08N5WRWNW", "seller": "AO479GP0TJNDV", "marketplace": "A1AM78C64UM0Y8"}
{"type": "asin", "asin": "B09XYZ1234", "seller": "AO479GP0TJNDV", "marketplace": "A1AM78C64UM0Y8"}
```

### Supported marketplaces

| Marketplace | ID | Domain |
|-------------|-----|--------|
| 🇺🇸 USA | ATVPDKIKX0DER | amazon.com |
| 🇲🇽 Mexico | A1AM78C64UM0Y8 | amazon.com.mx |
| 🇨🇦 Canada | A2EUQ1WTGCTBG2 | amazon.ca |
| 🇬🇧 United Kingdom | A1F83G8C2ARO7P | amazon.co.uk |
| 🇩🇪 Germany | A1PA6795UKMFR9 | amazon.de |
| 🇫🇷 France | A13V1IB3VIYBER | amazon.fr |
| 🇪🇸 Spain | A1RKKUPIHCS9HS | amazon.es |
| 🇮🇹 Italy | APJ6JRA9NG5V4 | amazon.it |
| 🇧🇷 Brazil | A2Q3Y263D00KWC | amazon.com.br |
| 🇮🇳 India | A21TJRUUN4KGV | amazon.in |
| 🇯🇵 Japan | A1VC38T7YXB528 | amazon.co.jp |
| 🇦🇺 Australia | A2VIGQ35RCS4UG | amazon.com.au |
| 🇹🇷 Turkey | A33AVAJ2PDY3EV | amazon.com.tr |
| 🇦🇪 UAE | A3K6Y4MI8GDBER | amazon.ae |

### Advanced settings

- **Workers** — Number of concurrent crawl workers (default: 100). Higher = faster.
- **Max Runtime** — Safety timeout in minutes (default: 25). Large sellers typically finish in 15–25 minutes.

### Use cases

- **Competitor analysis** — See every product a competitor sells and how they categorize them
- **Market research** — Map an entire seller's catalog to understand their product strategy
- **Product sourcing** — Find all products from a specific supplier/seller
- **Catalog monitoring** — Track changes in a seller's product lineup over time

# Actor input Schema

## `seller` (type: `string`):

Amazon Seller ID (e.g., AO479GP0TJNDV). Found in the seller's storefront URL after 'me=' parameter.

## `marketplace` (type: `string`):

Amazon marketplace to crawl.

## `workers` (type: `integer`):

Number of concurrent workers. Higher = faster. Default 100 is optimal.

## `maxRuntimeMin` (type: `integer`):

Safety timeout. Large sellers typically finish in 8-10 minutes.

## Actor input object example

```json
{
  "seller": "A33JT7GL8HAAL2",
  "marketplace": "ATVPDKIKX0DER",
  "workers": 100,
  "maxRuntimeMin": 25
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `categoryTree` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "seller": "A33JT7GL8HAAL2"
};

// Run the Actor and wait for it to finish
const run = await client.actor("listingdetective/amazon-seller-catalog-crawler").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "seller": "A33JT7GL8HAAL2" }

# Run the Actor and wait for it to finish
run = client.actor("listingdetective/amazon-seller-catalog-crawler").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "seller": "A33JT7GL8HAAL2"
}' |
apify call listingdetective/amazon-seller-catalog-crawler --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,listingdetective/amazon-seller-catalog-crawler"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/svqnX43ggF4jeHYyM/builds/PunwKCqFAxcfegMUP/openapi.json
