# Taobao & Tmall Shop Products Scraper (`automation-lab/taobao-seller-products-scraper`) Actor

Export a Taobao or Tmall shop's profile (scores, seller, total listings, location) and its listed products with CNY prices, promotions and images. Reaches 150-300 products per shop, past the usual 60. No login.

- **URL**: https://apify.com/automation-lab/taobao-seller-products-scraper.md
- **Developed by:** [Automation Lab](https://apify.com/automation-lab) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.72 / 1,000 products

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Taobao & Tmall Shop Products Scraper

Export any Taobao or Tmall shop in one run: a **shop profile row** (name, seller ID, Tmall or Taobao, description, service and delivery scores, total listed products, location, opening date) plus the shop's **listed products** with CNY price, promotion, images and links. Most shop scrapers stop at the first 60 products; this one also reads the shop's other listing orders and usually returns **150 to 300 distinct products per shop**. No Taobao account and no login.

### What does the Taobao & Tmall Shop Products Scraper do?

You paste shop links or shop IDs. For each shop the Actor:

1. reads the shop's public catalogue page and its seller block,
2. collects up to 60 products in the sort order you chose,
3. when you ask for more than 60, reads the same shop sorted by newest, best selling, price low to high and price high to low, and keeps only products it has not seen yet,
4. writes one shop profile row and one row per distinct product.

Every row carries the shop ID and shop name, so one export of many shops stays easy to filter.

### Who is it for?

- **Sourcing agents and importers** who shortlist Chinese suppliers and want each shop's scores, size and price range side by side.
- **Brands and resellers** who watch competitor or distributor shops every week for new listings, price moves and promotions.
- **Marketplace analysts** who benchmark Tmall flagship stores against Taobao sellers in a category.
- **Data teams** who feed supplier catalogues into a spreadsheet, a PIM or a price-monitoring database.

### Why use this shop scraper?

- **More than one screen of products.** Five listing orders give 150-300 distinct products for a typical shop instead of 60. The shop row tells you how many products the shop lists in total, so you know your coverage.
- **A real shop profile.** Seller ID, Tmall or Taobao, credit level, three shop scores, total and new product counts, ship-from location and opening date.
- **Clean prices.** CNY price, a promotional price only when it is actually lower, the promotion name, plus HKD and TWD prices converted by Taobao.
- **No login, no cookies.** It reads Taobao's public catalogue pages only.
- **Pay per row.** A product row costs $0.0009 on the Bronze plan, below the usual $0.001 per row, and less on higher plans.

### What data can you extract from Taobao and Tmall shops?

| Shop profile row | Product row |
| --- | --- |
| `shopId`, `shopName`, `shopUrl` | `shopId`, `shopName`, `position` |
| `sellerId`, `platform` (tmall / taobao) | `itemId`, `title`, `url`, `taobaoUrl` |
| `sellerCreditLevel` | `price` (CNY), `promoPrice`, `promoLabel`, `onPromo` |
| `descriptionScore`, `serviceScore`, `deliveryScore` | `priceHkd`, `priceTwd`, `currency` |
| `totalProductCount`, `newProductCount` | `freeShipping`, `categoryId`, `rootCategoryId` |
| `location`, `openedAt`, `logoUrl` | `imageUrl`, `images`, `sellingPoints` |
| `productsCollected`, `scrapedAt` | `foundInOrder`, `scrapedAt` |

Every row has `recordType`: `shop` or `product`. The dataset has three views: **All rows**, **Products** and **Shop profiles**.

### How much does it cost to scrape a Taobao shop's products?

You pay per row with pay-per-event pricing. Prices on the Bronze plan:

| Event | Price |
| --- | --- |
| Run start | $0.001 once per run |
| Shop profile row | $0.002 per shop |
| Product row | $0.0009 per product |

Higher Apify plans pay less per row (Silver: $0.0018 per shop, $0.00081 per product; Gold and above: $0.0016 per shop, $0.00072 per product). Examples on the Bronze plan:

- **One shop, 60 products:** $0.001 + $0.002 + 60 × $0.0009 = **$0.057**
- **One shop, full reach (about 250 products):** about **$0.23**
- **20 supplier shops, 100 products each, weekly:** about **$1.84 per week**

A shop that cannot be read costs nothing. Apify's free plan credit covers several full shops each month.

### How do I scrape a Taobao or Tmall shop?

1. Open the Actor in Apify Console.
2. Paste one or more shop links, or numeric shop IDs, into **Shops**.
3. Set **Maximum products per shop** (60 or less is fastest; up to 300).
4. Pick a **Sort order** for the first products you get.
5. Click **Start** and download the results as JSON, CSV, Excel or HTML, or read them through the API.

#### Where do I find a shop ID?

The shop ID is the number in a shop link: `https://world.taobao.com/dianpu/57303596.htm`, `https://www.taobao.com/list/dianpu/57303596.htm` or `https://shop57303596.taobao.com` all point to shop `57303596`. Links to single products or to Tmall brand domains (`xxx.tmall.com`) carry no shop ID and are skipped with a warning.

### Input parameters

| Field | Type | Default | What it does |
| --- | --- | --- | --- |
| `shops` | list of text | one example shop | Shop links containing the shop ID, or numeric shop IDs. Up to 100 per run. Duplicates are merged. |
| `maxProductsPerShop` | integer | `100` | Products per shop, 0-300. Up to 60 come from one listing; above 60 the other listing orders are read. `0` returns only the shop profile. |
| `sortBy` | choice | `default` | Which listing order is read first: `default`, `newest`, `bestSelling`, `priceLowToHigh`, `priceHighToLow`. |
| `includeShopProfile` | true/false | `true` | Adds one profile row per shop. |

Example input:

```json
{
    "shops": [
        "https://world.taobao.com/dianpu/57303596.htm",
        "63978904"
    ],
    "maxProductsPerShop": 200,
    "sortBy": "newest",
    "includeShopProfile": true
}
```

### Output example

Shop profile row (real run, abridged):

```json
{
    "recordType": "shop",
    "shopId": "57303596",
    "shopName": "优衣库官方旗舰店",
    "shopUrl": "https://www.taobao.com/list/dianpu/57303596.htm",
    "sellerId": "196993935",
    "platform": "tmall",
    "sellerCreditLevel": 20,
    "descriptionScore": 4.8,
    "serviceScore": 4.9,
    "deliveryScore": 4.9,
    "totalProductCount": 1739,
    "newProductCount": 168,
    "location": "上海",
    "openedAt": "2009-03-10",
    "productsCollected": 282,
    "scrapedAt": "2026-11-23T07:16:39.823Z"
}
```

Product row:

```json
{
    "recordType": "product",
    "shopId": "57303596",
    "shopName": "优衣库官方旗舰店",
    "position": 1,
    "foundInOrder": "default",
    "itemId": "930592859316",
    "title": "童装女童打褶迷你裙裤/格子优衣库短裙短裤百褶裙半身裙480971",
    "url": "https://www.taobao.com/list/item/L1F1VkdjaERyWVN3MnNDSHJDR1dPZz09.htm",
    "taobaoUrl": "https://item.taobao.com/item.htm?id=930592859316",
    "price": 39,
    "promoPrice": null,
    "promoLabel": null,
    "onPromo": false,
    "currency": "CNY",
    "priceHkd": 46.24,
    "priceTwd": 194.45,
    "freeShipping": false,
    "categoryId": "50013618",
    "imageUrl": "https://img.alicdn.com/imgextra/i4/196993935/O1CN01JfA4Nh1ewHcqr88R4_!!4611686018427380623-2-item_pic.png",
    "scrapedAt": "2026-11-23T07:16:19.482Z"
}
```

### Tips and limits

- **Coverage.** Taobao publishes one screen of up to 60 products per listing order and ignores page numbers and price filters on shop pages. Five orders together typically reach 150-300 distinct products. For shops with thousands of listings you get a large, varied slice, not the whole catalogue; compare `productsCollected` with `totalProductCount`.
- **Prices.** `price` is the price the listing shows, promotions included. `promoPrice` is filled only when a lower promotional price is published separately. `promoLabel` names the advertised promotion.
- **No sales counts.** Taobao's public catalogue pages do not show monthly sales, so the Actor does not output them rather than guess.
- **Speed.** A full-reach shop takes about 10-20 seconds; three shops are worked on at a time.
- **Unknown shop IDs** are skipped with a warning and cost nothing; the other shops still run. The run's status message says how many rows were delivered and why it stopped.
- Prices, promotions and scores are a snapshot and change after collection.

### Integrations and workflows

- **Weekly competitor watch.** Save an Apify task with your competitor shops and schedule it weekly. Compare `itemId` sets between runs to spot new listings and delistings, and `price` to spot price moves.
- **Supplier shortlist in Google Sheets.** Send the **Shop profiles** view to Google Sheets through Apify's integration and sort by scores and `totalProductCount`.
- **Price database.** Push product rows to your database through a webhook or Make/Zapier on run success.
- **Catalogue enrichment.** Feed `itemId` values into a detail scraper when you need full specifications.

### Use the API

#### cURL

```bash
curl -X POST "https://api.apify.com/v2/acts/automation-lab~taobao-seller-products-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"shops":["57303596"],"maxProductsPerShop":100}'
```

#### JavaScript

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('automation-lab/taobao-seller-products-scraper').call({
    shops: ['https://world.taobao.com/dianpu/57303596.htm'],
    maxProductsPerShop: 200,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
const shop = items.find((row) => row.recordType === 'shop');
console.log(shop.shopName, shop.totalProductCount, items.length - 1, 'products');
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("automation-lab/taobao-seller-products-scraper").call(
    run_input={"shops": ["57303596", "63978904"], "maxProductsPerShop": 100}
)
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    if row["recordType"] == "product":
        print(row["shopName"], row["title"], row["price"])
```

### Use it with AI agents through MCP

Add the Actor to Claude Code:

```bash
claude mcp add --transport http apify \
  "https://mcp.apify.com?tools=automation-lab/taobao-seller-products-scraper"
```

**Claude Desktop**, **Cursor** and **VS Code**: add the same server to the client's MCP configuration file (`claude_desktop_config.json`, `.cursor/mcp.json` or `.vscode/mcp.json`):

```json
{
    "mcpServers": {
        "apify": {
            "url": "https://mcp.apify.com?tools=automation-lab/taobao-seller-products-scraper"
        }
    }
}
```

Selecting this Actor also exposes Apify's run and dataset tools. A good agent workflow: start one run, keep its run ID, check the same run with `get-actor-run` until it finishes (short backoff, a set deadline), then read rows with `get-dataset-items` in pages of about 20 with only the fields you need, stopping at a fixed row and size budget. Keep full exports outside the model's context.

Example prompts:

- "Get the shop profile and the 100 newest products of Taobao shop 57303596, and list the five cheapest."
- "Compare the scores and total listings of shops 63978904 and 102330540."
- "Which products in shop 109718704 are on promotion right now?"

### Is it legal to scrape Taobao shops?

The Actor reads public catalogue pages that Taobao serves to any visitor without login. It collects shop and product information, not buyer accounts or private data. **Error diagnostics:** when an operation fails, the Actor sends sanitized diagnostic input, the exception and the Actor/build/run IDs to our private GlitchTip error-tracking service so we can repair it. Secret fields and URL query strings are removed, and reports are retained for 30 days.

Shop names can include a person's name for small sellers; handle such data under the privacy law that applies to you. Taobao's terms govern automated access, and you are responsible for using the data lawfully. This Actor is not affiliated with or endorsed by Taobao, Tmall or Alibaba.

### FAQ

**Do I need a Taobao account or cookies?**
No. Nothing is signed in to and nothing is bought.

**Why did I get fewer products than I asked for?**
Either the shop lists fewer products, or the five public listing orders did not reach further. The shop row's `totalProductCount` shows the shop's own total, and the run's status message says "Got X of Y rows" and why.

**Why was one of my shops skipped?**
Taobao has no public page for that shop ID (closed shop or a typo). Check the number in the shop link. Skipped shops are not charged.

**Can I pass a Tmall brand link such as `brand.tmall.com`?**
Not directly: those domains contain no shop ID. Open any of the shop's products and use the shop link or shop ID shown there.

**Can I get only the shop profiles?**
Yes. Set **Maximum products per shop** to `0`.

### Related Actors

- [Taobao overseas public catalogue products and prices](https://apify.com/automation-lab/taobao-overseas-public-catalogue-products-and-prices): keyword and category search across all Taobao shops.
- [1688.com Scraper](https://apify.com/automation-lab/1688-scraper): wholesale suppliers and products from 1688.
- [AliExpress Products & Seller Catalog Scraper](https://apify.com/automation-lab/aliexpress-products-scraper): AliExpress products and seller stores.

# Changelog

This Actor's version history is a separate document: https://apify.com/automation-lab/taobao-seller-products-scraper/changelog.md

# Actor input Schema

## `shops` (type: `array`):

Taobao or Tmall shop links that contain the shop ID, such as https://world.taobao.com/dianpu/57303596.htm or https://shop57303596.taobao.com, or plain numeric shop IDs such as 57303596. Up to 100 shops per run.

## `maxProductsPerShop` (type: `integer`):

How many listed products to collect from each shop. Up to 60 come from one listing; above 60 the Actor also reads the shop's other sort orders, which usually reaches 150 to 300 distinct products. Set 0 to get only the shop profile.

## `sortBy` (type: `string`):

Which listing order to read first. More products beyond the first 60 always come from the other orders.

## `includeShopProfile` (type: `boolean`):

Add one row per shop with its name, seller ID, Tmall or Taobao, description, service and delivery scores, total listed products, new products, location and opening date.

## Actor input object example

```json
{
  "shops": [
    "https://world.taobao.com/dianpu/57303596.htm"
  ],
  "maxProductsPerShop": 100,
  "sortBy": "default",
  "includeShopProfile": true
}
```

# Actor output Schema

## `overview` (type: `string`):

Every row: one shop profile per shop followed by its products.

## `products` (type: `string`):

Listed products with CNY price, promotion, images and links.

## `shops` (type: `string`):

One profile per shop with seller, scores, total listings, location and opening date.

# 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 = {
    "shops": [
        "https://world.taobao.com/dianpu/57303596.htm"
    ],
    "maxProductsPerShop": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("automation-lab/taobao-seller-products-scraper").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 = {
    "shops": ["https://world.taobao.com/dianpu/57303596.htm"],
    "maxProductsPerShop": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("automation-lab/taobao-seller-products-scraper").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 '{
  "shops": [
    "https://world.taobao.com/dianpu/57303596.htm"
  ],
  "maxProductsPerShop": 100
}' |
apify call automation-lab/taobao-seller-products-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,automation-lab/taobao-seller-products-scraper"
        }
    }
}
```

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/VLPeRnCGX92tUjUXt/builds/gzPslJ6BAHrV6meHO/openapi.json
