# Taobao Product Scraper (`automly/taobao-product-scraper`) Actor

Scrape Taobao and Tmall products by keyword, category or shop, each with its product page details: price in yuan, Taobao or Tmall, seller type and credit level, shop scores, rating split, newest review, ships-from city.

- **URL**: https://apify.com/automly/taobao-product-scraper.md
- **Developed by:** [Automly](https://apify.com/automly) (community)
- **Categories:** E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 product with details

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 Product Scraper

### What is Taobao Product Scraper?

**Taobao Product Scraper** is a tool that lets you **scrape Taobao and Tmall products with their product page details**: full title, price in Chinese yuan (plus Hong Kong and Taiwan dollars), promotion label, photos, shop and category, and from each product's page: Taobao or Tmall, the seller's profile (individual or business seller, credit level, shop opening date, number of products and its three service scores), the rating split, the newest review, where the product ships from, its category path and payment methods. Search by keyword, open a category or a shop, click **Start**, and download the products as Excel, CSV or JSON.

- ⚡ **Fast:** Taobao's top 40 products for a keyword, each with its page details, in seconds
- 🏪 **Seller checks on every product:** credit level, shop age, catalogue size and the description, service and delivery scores
- 🛍️ **Taobao and Tmall:** every row says which platform the product is on
- 🔗 **Working product links:** every row's `url` opens the product's page on Taobao's international storefront
- 🔓 **No login:** no Taobao account, cookies or app needed

### What can Taobao Product Scraper do?

- **Scrape Taobao products for any keyword**, like `手机壳`, `连衣裙`, `蓝牙耳机`, `phone case` or `lipstick`
- **Scrape a Taobao category's top products** by its id or link, like `50064014` (mineral and purified water)
- **Scrape a Taobao shop's products** by its shop id or link
- **Check a seller before you order:** credit level, shop opening date, number of products and its three service scores
- **Read product pages again later** from the `url` each row gives you
- **Track Taobao prices, promotions and ratings** with a daily schedule
- Export to Excel, CSV, JSON, HTML or XML, or send the data to Google Sheets, Make, Zapier and more

### What data can you extract from Taobao products?

| | | |
|---|---|---|
| 🏷️ Full title and product link | 💰 Price and yuan price | 💱 HKD and TWD prices |
| 🎁 Promotion label and original price | 📸 Photos | 🆔 Product, shop and category IDs |
| 🏪 Shop name | 🚚 Free shipping flag | 🛒 Taobao or Tmall |
| 👤 Seller type and credit level | 📅 Shop opening date and size | 📊 Description, service and delivery scores |
| 👍 Positive, neutral and negative review share | 💬 The newest review, with the option bought | 📍 Ships from |
| 🗂️ Category path | 💳 Payment methods | 🔢 Rank in the search |

### How to scrape Taobao products

1. [Create a free Apify account](https://console.apify.com/sign-up).
2. Open **Taobao Product Scraper**.
3. Enter search words, category ids, shop ids or Taobao storefront product links, one per line.
4. Set **Max products**.
5. Click **Start**, then download the products as Excel, CSV, JSON or HTML.

### How much does it cost to scrape Taobao products?

You pay per product saved, with its page details included.

| Apify plan | Products per 1,000 |
|---|---|
| Free | $4.49 |
| Starter (Bronze) | $3.99 |
| Scale (Silver) | $3.49 |
| Business (Gold) and higher | $2.99 |

Each run also costs $0.0005 to start. Platform usage is included in these prices, so you pay nothing else for the run.

Example: 1,000 products with seller and rating details cost $4.49 on the Free plan and $2.99 on Business.

Every Apify account gets **$5 of free usage each month**, which is plenty to try the scraper on real searches. **Max products** keeps the cost of a run under control, and you can also set a maximum cost per run.

### ⬇️ Input

| Setting | What it does |
|---|---|
| **Search words** | What to search for, like `手机壳` or `phone case`, one per line. Chinese words find the most |
| **Categories** | Category ids or links, like `50064014` |
| **Shops** | Shop ids or links, like `188555483` or `https://shop188555483.taobao.com` |
| **Product links** | Taobao storefront product links (`https://world.taobao.com/item/...`, the `url` of every row); search, category and shop links work here too |
| **Max products** | Most products to save in the run (default 100). Set 0 for no limit |

Phone cases and Bluetooth earphones with seller details:

```json
{
  "searchTerms": ["手机壳", "蓝牙耳机"],
  "maxItems": 80
}
```

A category, a shop and a product link:

```json
{
  "categoryIds": ["50064014"],
  "shopIds": ["188555483"],
  "startUrls": ["https://world.taobao.com/item/SnA2dmxGcWpIZXRWLzJoZ0tCQjdXQT09.htm"]
}
```

### ⬆️ Output

Each product is one row (shortened):

```json
{
  "itemId": "1078907312106",
  "title": "【新款18勃艮第紅色】圖拉斯雪霧適用iPhone18ProMax手機保護殼蘋果17磁吸外殼16pm高級磨砂15Pro保護套14P全包13",
  "url": "https://world.taobao.com/item/SnA2dmxGcWpIZXRWLzJoZ0tCQjdXQT09.htm",
  "taobaoUrl": "https://detail.tmall.com/item.htm?id=1078907312106",
  "price": 116,
  "currency": "CNY",
  "priceCny": 116,
  "priceHkd": 137.89,
  "priceTwd": 578.12,
  "promotion": "超級立減活動價",
  "image": "https://img.alicdn.com/imgextra/O1CN01MD26uLjX8UC1chua_!!6000000000818-2-yinhe.png",
  "shopId": "72104903",
  "shopName": "圖拉斯數碼旗艦店",
  "platform": "tmall",
  "shipsFrom": "廣東東莞",
  "latestReview": {
    "rating": 5,
    "text": "與手機顏色渾然一體，輕便磨砂感，磁吸強",
    "date": "2026-11-03T10:24:00",
    "variant": "適用手機型號:iPhone 18 Pro;顏色分類:【雪霧 | 酒紅色 | 磁吸款】",
    "reviewer": "***"
  },
  "sellerId": "896588234",
  "sellerType": "business",
  "sellerCreditLevel": 20,
  "shopOpenedAt": "2012-05-28T11:41:20",
  "shopItemCount": 262,
  "shopScores": { "delivery": 4.8, "service": 4.8, "description": 4.7 },
  "paymentMethods": ["蚂蚁花呗", "信用卡支付", "集分宝"],
  "rank": 1,
  "region": "world",
  "sourceType": "search",
  "source": "手机壳",
  "scrapedAt": "2026-11-14T16:13:38Z"
}
```

The **Products** table shows photo, title, price, shop and rank; the **Sellers and ratings** table shows the seller profile, scores and the newest review. The run report (in the run's storage) lists every input with the products Taobao counts for it, what was saved, and any input that does not exist on Taobao.

### How can I use Taobao product data?

- **Dropshipping and sourcing:** find suppliers for a product and check their credit level, shop age and scores before you order through an agent
- **Price research:** compare yuan prices with the same products on Amazon, AliExpress or Shopee, or watch a keyword every day
- **Brand monitoring:** see which shops sell your brand on Taobao and Tmall, at what price and with which promotions
- **Market research:** sample Taobao's best-ranked products for a keyword or category and see which sellers and cities lead

### How many products can I scrape from one search?

Taobao shows its **top 40 products** for a search word or a category, and **up to 60** for a shop, to visitors who are not logged in. To cover more of a market, add more search words (other phrasings, brands, models, Chinese and English), add the categories the products belong to (every row has its `categoryId`), and read the shops you find (every row has its `shopId`). A product found by several inputs is saved once.

### Use with AI agents (MCP)

AI assistants can run Taobao Product Scraper through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp). Ask in plain words, for example "find the top Taobao sellers of Bluetooth earphones with their scores", and the agent runs:

```json
{ "searchTerms": ["蓝牙耳机"], "maxItems": 40 }
```

### Integrations and API

Run Taobao Product Scraper from your code with the [Apify API](https://docs.apify.com/api/v2), the [Python client](https://docs.apify.com/api/client/python/) or the [JavaScript client](https://docs.apify.com/api/client/js/). Schedule it daily or weekly, and send each run's products to Google Sheets, Slack, Make, Zapier, Airbyte or a webhook.

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("automly/taobao-product-scraper").call(run_input={
    "searchTerms": ["手机壳"],
    "maxItems": 40,
})
for product in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(product["title"], product["priceCny"], product["sellerCreditLevel"])
```

### ❓FAQ

#### How much does it cost to scrape Taobao products?

You pay per product saved, with its page details included, plus a small fee per run. The **Pricing** tab has the exact prices for your plan, and a new Apify account's monthly $5 of free usage covers a good first test.

#### Can I paste item.taobao.com or detail.tmall.com links?

No. Taobao no longer opens product pages from those links, or from bare item numbers, for visitors who are not logged in. Such a link is listed as not supported in the run's log, status and report, is not charged, and the rest of the run carries on. Find the product with a search word, its category or its shop instead. Links of the form `https://world.taobao.com/item/...`, like the `url` of every row, do work.

#### Does it scrape Tmall too?

Yes. Tmall products show up in searches, categories and shops like any other. `platform` says `taobao` or `tmall`, and `taobaoUrl` points to the right site.

#### Do I need a Taobao account?

No. The scraper only reads what Taobao shows to any visitor who is not logged in. You do not need an account, cookies or the Taobao app.

#### Does it give variants (SKUs), stock or sales numbers?

No. Taobao shows option lists with their prices and stock, sales counts and the full review list only to logged-in shoppers, so they are not in the data. You get the product's price (and `hasPriceRange: true` when the price depends on the option), the rating split and the newest review with the option that buyer chose.

#### What happens with a search word, product or shop that does not exist?

It is listed as not found in the run's log and report, and the run carries on with the other inputs. Taobao only has result lists for real product words, so a made-up word or a long sentence may have none: try a shorter word or its Chinese name.

#### Is it legal to scrape Taobao?

The scraper collects only public product and shop information that Taobao shows to anyone without logging in, and no personal data: reviewer names come masked by Taobao. Check the rules that apply to your use, such as copyright on photos and your local data laws. Taobao Product Scraper is not affiliated with or endorsed by Taobao, Tmall or Alibaba Group.

#### Something does not work. What can I do?

Open the **Issues** tab and tell us the input you used and what you expected. We read every issue and usually reply within a day. If the scraper helps you, a review on the Store helps other buyers find it.

# Actor input Schema

## `searchTerms` (type: `array`):

What to search Taobao for, one word or phrase per line, e.g. 手机壳, 连衣裙, phone case, lipstick. Chinese words find the most. Each search gives Taobao's top products for it (up to 40), each with its page details.

## `categoryIds` (type: `array`):

Taobao category ids or links, e.g. 50064014 or https://world.taobao.com/category/50064014.htm. Each gives the category's top products (up to 40).

## `shopIds` (type: `array`):

Taobao shop ids or links, e.g. 188555483, https://world.taobao.com/dianpu/188555483.htm or https://shop188555483.taobao.com. Each gives the shop's listed products (up to 60). Every row carries its shopId, so you can feed shops back here.

## `startUrls` (type: `array`):

Taobao storefront product links, e.g. https://world.taobao.com/item/SnA2dmxGcWpIZXRWLzJoZ0tCQjdXQT09.htm (the url of every row). Search, category and shop links work here too. Taobao no longer opens product pages from item.taobao.com or detail.tmall.com links or bare item numbers, so those are listed as not supported: find the product with a search word, its category or its shop instead.

## `maxItems` (type: `integer`):

Most products to save in the whole run, e.g. 100. Set 0 for no limit (every product the inputs list).

## Actor input object example

```json
{
  "searchTerms": [
    "手机壳"
  ],
  "maxItems": 5
}
```

# Actor output Schema

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

No description

## `details` (type: `string`):

No description

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

No description

## `report` (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 = {
    "searchTerms": [
        "手机壳"
    ],
    "maxItems": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("automly/taobao-product-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 = {
    "searchTerms": ["手机壳"],
    "maxItems": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("automly/taobao-product-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 '{
  "searchTerms": [
    "手机壳"
  ],
  "maxItems": 5
}' |
apify call automly/taobao-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,automly/taobao-product-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/CCLYtCfzHje40Sn2u/builds/eADGuP0d1FfY8SV2Z/openapi.json
