# Taobao Scraper 💰 $2/1K · Deep Search & Price Alerts (`first-penguin/taobao-scraper`) Actor

Scrape Taobao & Tmall without login: price, promo, shop and image from keywords, shops or categories. Deep search returns 100-400 products per keyword, plus listings by brand. Add seller credit, shop age and ships-from. Monitor mode alerts new products and price changes to Slack, Discord or webhook.

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

## Pricing

from $2.00 / 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.

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 Scraper — Deep Keyword Search, Shops & Price Alerts, No Login

Get Taobao (淘宝) and Tmall (天猫) products as clean rows: **price in CNY (plus HKD and TWD), promotion price and label, shop, image, category and a catalog link**. Start from **keywords, shops or categories**.

Taobao's public catalog shows only **20 products per keyword**. This Actor re-reads each keyword in other sort orders and price bands and keeps only new products, so one keyword returns **100–400 products** (measured below). Each keyword also comes with a free summary row: **total listings and listings by brand**.

Turn on **item pages** to add **seller credit level, shop opening date, item count, description/service/delivery scores, Tmall or Taobao, ships-from city and the latest review**. Turn on **monitor mode** to get only **new products and price changes** since the last run, sent to **Slack, Discord or any webhook**.

No Taobao account, no cookies, no login. **$2 per 1,000 products**, item pages +$2 per 1,000. Anything that cannot be returned is free and comes back with a reason.

**What it cannot do (read this first)**

- **Item IDs and normal product links do not work.** Taobao asks signed-out visitors to log in for `item.taobao.com` / `detail.tmall.com` links, numeric item IDs and `e.tb.cn` share links. They come back as a free row with the reason. Use keywords or shops instead; every row of this Actor has a catalog link (`www.taobao.com/list/item/<code>.htm`) you can paste back in.
- **No color / size table (SKUs) and no per-variant stock.** The public catalog does not show them.
- **Reviews:** only the latest review and Taobao's review tags.
- **Keywords work best in Chinese** (e.g. `蓝牙耳机` for bluetooth earphones). English works when Taobao has a catalog page for it (e.g. `phone case`). Keywords are not translated.
- **Shops:** up to 60 products per shop. **Categories:** the top 20.
- Shops that do not sell overseas have no public page.

### How it works

1. **Give keywords, shops or categories** — shop links in any form (`world.taobao.com/dianpu/<number>.htm`, `shop<number>.taobao.com` or the number). Duplicates are removed, so you are never charged twice.
2. **It reads Taobao's public catalog** — the pages Taobao publishes for search engines and overseas shoppers. No browser, so it is fast and cheap.
3. **Deep search** — for keywords, it re-reads the keyword by sales, rating and price, and in price bands set from the first page's prices. Bands that are still full are split again. Extra pages are not billed; only products are.
4. **One row per product** — or a row with a `reason` if something could not be returned (not charged).
5. **Monitor mode** — previous results are kept in your own Apify account. The next run tells you what is new in each keyword, shop or category and which prices changed, in one message per source.

### How it compares

| When you need… | This Actor | Typical Taobao Actors |
|---|---|---|
| **More than 20 products per keyword** | ✅ 100–400 per keyword (measured), extra pages free | Many stop at 20–40; some go deeper on paid plans only |
| **Who dominates a keyword** | ✅ Free summary row: total listings and listings by brand | ❌ Not returned |
| **New products and price changes, delivered** | ✅ Monitor mode: only what changed, one Slack / Discord / webhook message per keyword or shop | ❌ Re-run and compare yourself, or "changed only" without alerts |
| **Check a seller before ordering** | ✅ Credit level, shop age, item count, three shop scores, ships-from (item pages) | ✅ Most detail Actors |
| Price for 1,000 products | ✅ $2 (item pages +$2) | $2–$10 |
| Item ID → color / size table | ❌ Not possible without login | ✅ Some Actors ($5–$10 per 1,000) |
| No login | ✅ | ✅ Most |

### Measured (Apify datacenter proxy, November 2026)

| Test | Result |
|---|---|
| 10 keywords (手机壳, 运动鞋, 猫粮, 行李箱, 台灯, 保温杯, 机械键盘, 收纳盒, 汉服, phone case), 100 products each | **10 / 10 reached 100** in 6–10 pages each; 1,000 products in 6 minutes |
| One keyword (蓝牙耳机), as deep as possible | **389 products** from 33 pages |
| Item pages | **156 / 156** returned seller and shop data |
| 4 shops | 60 products each (23 for a shop with 23 listings), shop scores on every row |
| Item IDs / item.taobao.com links | Returned as free rows with the reason |

Taobao sometimes shows a security page; the Actor switches IP and retries (it does not solve the check). About 1 in 5 pages needed a retry.

### Use cases

- **Product research and sourcing** — search a category keyword in Chinese, get a few hundred products across price bands with price, promotion and shop, then add item pages for the shortlist to check sellers.
- **Brand and market share** — the summary row tells you how many listings each brand has for a keyword.
- **Price and new-product watch** — schedule a daily run on your keywords or competitor shops in monitor mode and get only what is new or cheaper, in Slack.
- **Seller due diligence** — credit level, opening date, item count and scores before you place an order.

### Pricing

Pay per event:

| Event | Price |
|---|---|
| Product returned | $2 / 1,000 |
| Item page added (only with "Add item pages") | $2 / 1,000 |
| Actor start | $0.00005 |
| Keyword and shop summary rows | Free |
| Extra deep-search pages | Free |
| Anything not returned (not found, unsupported input) | Free |
| Unchanged products left out with "Output only new and changed" | Free |

### Input

| Field | What it does |
|---|---|
| `keywords` | Search words, Chinese works best. |
| `shopUrls` | Shop links or numbers. Up to 60 products each. |
| `categoryUrls` | Category links or numbers. Top 20. |
| `itemUrls` | Catalog item links (`www.taobao.com/list/item/<code>.htm`). |
| `maxProductsPerSource` | Max products per keyword, shop or category (default 100). |
| `maxItems` | Max products in the whole run (default 1,000). |
| `deepSearch` | Go past 20 per keyword (default on). |
| `includeDetails` | Add item pages: seller and shop data, ships-from, latest review (+$2 / 1,000). |
| `monitor`, `monitorName`, `onlyChanged` | Monitor mode and its list name; leave unchanged products out (free). |
| `slackWebhookUrl`, `discordWebhookUrl`, `webhookUrl` | Where to send changes. |

#### Examples

Top products for two keywords, 200 each:

```json
{ "keywords": ["蓝牙耳机", "保温杯"], "maxProductsPerSource": 200 }
```

Watch two competitor shops every day and get changes in Slack:

```json
{ "shopUrls": ["https://world.taobao.com/dianpu/551061027.htm", "63978904"], "monitor": true, "onlyChanged": true, "slackWebhookUrl": "https://hooks.slack.com/services/..." }
```

Check sellers for a keyword:

```json
{ "keywords": ["机械键盘"], "maxProductsPerSource": 50, "includeDetails": true }
```

### Output

One row per product:

```json
{
  "status": "ok",
  "itemId": "1079352038299",
  "title": "爱国者蓝牙耳机半入耳式2026新款降噪高音质无线运动超长续航游戏",
  "price": 118,
  "originalPrice": null,
  "promoPrice": null,
  "promoLabel": null,
  "currency": "CNY",
  "priceHKD": 140.08,
  "priceTWD": 589.47,
  "shopId": "503709453",
  "shopName": "腔调会员精选旗舰店",
  "imageUrl": "https://img.alicdn.com/imgextra/i3/2215824413675/O1CN01E5GhXKqZBrE1chua_!!4611686018427384811-0-item_pic.jpg",
  "url": "https://www.taobao.com/list/item/RjRZL1NqR2pVTkxHOTFNTUIvZU8wZz09.htm",
  "source": "keyword",
  "sourceInput": "蓝牙耳机",
  "rank": 1,
  "foundBy": "top"
}
```

With item pages, the row also has `platform` (taobao / tmall), `location` (ships-from), `categoryPath`, `listPrice`, `promotionPrice`, `seller` (`creditLevel`, `openedAt`, `itemCount`, `descriptionScore`, `serviceScore`, `deliveryScore`, `sellerType`) and `latestReview`. Note: the title on item pages is shortened by Taobao; the keyword and shop rows have the full title.

Keyword summary row (free):

```json
{ "status": "keyword_summary", "keyword": "蓝牙耳机", "totalListings": 36928, "brands": [{ "brand": "Huawei/华为", "listings": 929 }, { "brand": "MIUI/小米", "listings": 463 }] }
```

In monitor mode each row has `change`: `{ "status": "new" | "changed" | "unchanged", "changes": [{ "type": "price_drop", "before": 129, "after": 99, "deltaPercent": -23.3 }] }`.

### FAQ

**Why can't I paste an item ID?** Taobao shows the item page for an ID only to signed-in users. This Actor never logs in and never asks for your cookies.

**Why do I get fewer products than `maxProductsPerSource`?** Some keywords have only a few hundred products in Taobao's public catalog, and shops show at most 60 there. The run summary (`RUN_SUMMARY`) shows how many pages were read per source.

**Are prices final?** They are the public catalog prices in CNY. Coupons and member prices that depend on a buyer account are not included.

**Is this an official Taobao tool?** No. It is an independent Actor with no affiliation to Alibaba Group. It reads only public catalog pages. You are responsible for how you use the data.

### Related Actors

- [Goofish Item & Seller Scraper](https://apify.com/first-penguin/goofish-item-seller-scraper) – second-hand listings and seller pages from Alibaba's flea market
- [JD.com Scraper](https://apify.com/first-penguin/jd-scraper) – JD.com search with prices in yuan, review counts and price-change alerts

# Actor input Schema

## `keywords` (type: `array`):

Chinese keywords reach far more products (e.g. 蓝牙耳机 for bluetooth earphones). English works when Taobao has a catalog page for it (e.g. phone case). Each keyword also returns one free summary row with the total listings and listings by brand.

## `shopUrls` (type: `array`):

Up to 60 products per shop, with the shop's description, service and delivery scores. Examples: https://world.taobao.com/dianpu/63978904.htm, https://shop63978904.taobao.com or 63978904. Shops that do not sell overseas have no public page.

## `categoryUrls` (type: `array`):

The top 20 products of a category. Example: https://world.taobao.com/category/50103032.htm

## `itemUrls` (type: `array`):

Catalog links like https://www.taobao.com/list/item/<code>.htm (every row of this Actor has one in 'url'). Not supported: item.taobao.com / detail.tmall.com links, numeric item IDs and e.tb.cn share links — Taobao asks signed-out visitors to log in for those. They come back as a free row with the reason.

## `maxProductsPerSource` (type: `integer`):

Keywords go past Taobao's 20-product page by re-reading the keyword in other sort orders and price bands (deep search). Shops stop at 60, categories at 20.

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

Hard cap for the whole run.

## `deepSearch` (type: `boolean`):

Re-read each keyword by sales, rating and price, and in price bands, and keep only new products. Off = the first 20 only (fastest). Extra pages are not billed; only products are.

## `includeDetails` (type: `boolean`):

Opens each product's catalog page and adds: seller credit level, shop opening date, item count, description/service/delivery scores, Tmall or Taobao, ships-from city, category path and the latest review. +$2 per 1,000 products. Item pages that fail are not charged.

## `monitor` (type: `boolean`):

Compare with the previous run of the same list: products new in the results of each keyword, shop or category, price drops and rises, promotions started or ended, and products removed from a shop (when the whole shop fits on one page). Previous values are stored only in your own Apify account (a named key-value store).

## `monitorName` (type: `string`):

Use different names to keep separate watch lists.

## `onlyChanged` (type: `boolean`):

In monitor mode, leave unchanged products out of the output. Products left out are not charged.

## `slackWebhookUrl` (type: `string`):

Optional. One message per keyword, shop or category when something is new or changed.

## `discordWebhookUrl` (type: `string`):

Optional. One message per keyword, shop or category when something is new or changed.

## `webhookUrl` (type: `string`):

Optional. Receives a JSON POST per keyword, shop or category with the new products, the price changes and the products removed from a shop.

## `maxConcurrency` (type: `integer`):

How many item pages to load at the same time.

## `proxyConfiguration` (type: `object`):

Apify datacenter proxy (the default) worked best in testing. Residential proxies were blocked more often.

## Actor input object example

```json
{
  "keywords": [
    "蓝牙耳机"
  ],
  "maxProductsPerSource": 100,
  "maxItems": 1000,
  "deepSearch": true,
  "includeDetails": false,
  "monitor": false,
  "monitorName": "default",
  "onlyChanged": false,
  "maxConcurrency": 8,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

One row per product (price, promo, shop, image, catalog link). With item pages: seller credit, shop age, scores, ships-from city and the latest review. Keyword summary rows carry total listings and listings by brand. Failed rows carry the reason and are not charged.

## `summary` (type: `string`):

What each keyword, shop and category returned, pages read, failures by reason and monitor changes.

# 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 = {
    "keywords": [
        "蓝牙耳机"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("first-penguin/taobao-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 = {
    "keywords": ["蓝牙耳机"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("first-penguin/taobao-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 '{
  "keywords": [
    "蓝牙耳机"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call first-penguin/taobao-scraper --silent --output-dataset

```

## MCP server setup

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