# Taobao & Tmall Scraper (`sleepmodesystems/taobao-scraper`) Actor

\[💰 $4.99 / 1K products] Scrape Taobao and Tmall (淘宝 天猫) products by keyword, link or shop: every variant's price and stock, yuan price, seller credit and scores, reviews, English titles. 100 in about a minute. Search fields only $0.99 / 1K. No account, no proxy. Export JSON, CSV or Excel.

- **URL**: https://apify.com/sleepmodesystems/taobao-scraper.md
- **Developed by:** [Sleep Mode Systems](https://apify.com/sleepmodesystems) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 15 total users, 10 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $4.24 / 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

**\[💰 $4.99 per 1,000 products]** Scrape Taobao and Tmall (淘宝 天猫) products by keyword, link or shop, each with every variant's price and stock, the yuan price and the seller's scores: 100 complete products in about a minute, and 1,000 search rows in about a minute at $0.99 per 1,000.

### What can Taobao & Tmall Scraper do?

Taobao & Tmall Scraper **extracts products from Taobao (淘宝) and Tmall (天猫)** (https://www.taobao.com, https://www.tmall.com), China's largest marketplaces, in a single tool: search by **keyword**, paste **product links or ids**, or read a **shop's** catalogue, in one run, and get every product complete: every variant (SKU) with its own price, stock and photo, the yuan price, the seller's credit level and shop scores, reviews, attributes, description images and shipping, with titles and variant names in Chinese and English. No Taobao account, no Chinese phone number, no proxy, nothing to set up.

<table>
<tr>
<th>📦 What you can extract</th>
<th>⚙️ Features & integrations</th>
</tr>
<tr>
<td valign="top">

🏷️ **Every variant**: price, stock, photo <br>
💴 **Yuan price**, original price, price range <br>
📦 **Stock**: sold-out and nearly sold-out variants <br>
🏪 **Sellers**: credit level, shop scores, shop age <br>
⭐ **Reviews**: count, positive rate, tags <br>
🧾 **Attributes**, brand, description images <br>
🔤 **Chinese and English** titles and variants

</td>
<td valign="top">

🔎 **Search** by keyword, link or shop <br>
🏆 **Best sellers first**, price low to high <br>
🎯 **Filters**: price range, Tmall only, in stock <br>
🔄 **Live price and stock check** for trackers <br>
⬇️ **Export data** to JSON, CSV, Excel or XML <br>
🦾 **API access, webhooks**, Node.js & Python <br>
🤖 **LLM-ready data** for MCP, Claude, ChatGPT

</td>
</tr>
</table>

If you source products for your store, track prices and stock, vet suppliers or study a category, you can get it all from a single tool.

### What data can I scrape from Taobao?

One row per product, **complete by default**:

- **Variants:** *what a buyer can actually order.* Every variant (SKU) with its price, original price, stock and photo, its name in Chinese and English, and the options a buyer picks from (颜色分类, 尺码…).
- **Stock:** *what is left.* Stock per variant, exact below 200; the product's total, its sold-out and nearly sold-out variants, and whether it can be bought.
- **Price:** *what it costs in China.* The price in yuan, the original price before the promotion, the price range over variants, Taobao's price label, and the domestic shipping fee.
- **Seller:** *who you are buying from.* Shop name, logo and link, Taobao or Tmall, the seller's credit level, the shop's age and product count, and its three scores (description, service, delivery) against its industry.
- **Product:** *what it is.* Brand, attributes (model, material, battery…), description images, category, selling points.
- **Reviews:** *what buyers say.* Review count, positive, neutral and negative shares, the tags reviewers mention most, and a recent review, where Taobao shows them publicly.

Fill rates over 250 complete products (a 100-product search and 150 products by link): variants, stock, price, price range, shop, seller credit and scores, attributes, English titles, description images and shipping 98-100%; brand 91-98%; original price about 50% (products on promotion); Taobao's own product-page details (ships-from, category, review counts and tags, latest review, payment methods) 20-33%.

> Need one job only? These dedicated scrapers cover Taobao tasks on their own:
>
> - 📦 [Taobao Product Details Scraper](https://apify.com/sleepmodesystems/taobao-product-details-scraper): product links or ids only, any link shape
> - 🏪 [Taobao Shop Scraper](https://apify.com/sleepmodesystems/taobao-shop-scraper): a shop's catalogue, up to 10,000 products

### How much will scraping Taobao cost?

Taobao & Tmall Scraper uses **pay-per-event** pricing: you pay for each product written to the dataset, and nothing else. The start fee is a fraction of a cent, platform usage is included, and products your filters leave out or Taobao no longer has are not charged.

| Event | FREE | BRONZE | SILVER | GOLD |
|---|---|---|---|---|
| Product, complete: every variant with price and stock, seller scores, reviews, attributes, description images (per 1,000) | $4.99 | $4.74 | $4.49 | $4.24 |
| Product, search fields only: id, titles, price, photo, position, with **Product details** off (per 1,000) | $0.99 | $0.94 | $0.89 | $0.84 |
| Actor start | $0.00005 | $0.00005 | $0.00005 | $0.00005 |

The tiers are Apify's discount tiers; the PLATINUM and DIAMOND tiers pay the GOLD price. Every field is in the product price: no add-ons.

#### Cost examples

| Scenario | Products | Cost (FREE) | Cost (GOLD) |
|---|---|---|---|
| Try it: 20 products for a keyword, complete | 20 | $0.10 | $0.08 |
| The 100 best sellers of a category, complete | 100 | $0.50 | $0.42 |
| 100 products tracked every day for a month | 3,000 | $14.97 | $12.72 |
| A category sweep, search fields only | 10,000 | $9.90 | $8.40 |

Set the run's maximum charge in Apify to cap spend: the actor stops cleanly and says how many products it delivered.

### How do I use Taobao & Tmall Scraper?

<a href="https://console.apify.com/actors/epLJ5mEd0ICW9YC8O/input"><img src="https://raw.githubusercontent.com/sleepmodesystems/actor-readme-images/main/taobao-scraper/taobao-scraper-how-it-works.png" alt="How Taobao & Tmall Scraper works: keywords, links or shops in, complete Taobao products out" style="width:100%;"></a>

1. [Create](https://console.apify.com/sign-up) a free Apify account.
2. Open **[Taobao & Tmall Scraper](https://console.apify.com/actors/epLJ5mEd0ICW9YC8O)** in Apify Console.
3. Add **search terms**, **product links or ids**, or **shops**, and set **Maximum products**.
4. Click **Save & Start**: 100 complete products take about a minute.
5. Download the dataset as **JSON, CSV, Excel or XML**, or read it through the Apify API.

### ⬇️ Input

Search terms, products and shops add up: each search term and each shop gives up to **Maximum products**, each product link or id gives its one row. The filters narrow searches and shops, never a product you named.

<a href="https://console.apify.com/actors/epLJ5mEd0ICW9YC8O/input"><img src="https://raw.githubusercontent.com/sleepmodesystems/actor-readme-images/main/taobao-scraper/taobao-scraper-input.png" alt="Taobao & Tmall Scraper input form: search terms, products and shops" style="width:100%;"></a>

| Paste this | And you get |
|---|---|
| A word in Chinese or English: `蓝牙耳机`, `phone case` | Taobao's search, up to 10,000 products |
| A Taobao search or category link | The same search or category |
| A product id or link: `765833709683`, item.taobao.com, detail.tmall.com, Tmall HK, mobile | That product, complete |
| The Taobao app's share text, or a shopping-agent link (CNFans, Mulebuy, Hoobuy, KakoBuy…) | That product, complete |
| A shop link or id: `shop111052165.taobao.com`, `111052165` | The shop's catalogue, up to 10,000 products |

#### 🔎 Search Taobao by keyword

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

#### 🏆 Find best sellers in stock

```json
{
    "searchTerms": ["手机壳"],
    "sort": "bestSellers",
    "inStockOnly": true,
    "maxItems": 100
}
```

#### 🔗 Get products by link or id

```json
{
    "products": ["https://item.taobao.com/item.htm?id=765833709683", "1079352038299"],
    "freshData": true
}
```

#### 🏪 Read a shop's catalogue

```json
{
    "shops": ["https://shop111052165.taobao.com"],
    "maxItems": 500
}
```

#### 💸 Sweep a category for less

Turn **Product details** off for search fields only (id, titles, price, photo, position) at $0.99 per 1,000.

```json
{
    "searchTerms": ["连衣裙"],
    "maxItems": 5000,
    "details": false
}
```

#### Input fields

| Field | Type | Default | Meaning |
|---|---|---|---|
| Search terms (`searchTerms`) | list | – | Words in Chinese or English, or Taobao search and category links |
| Products (ids or links) (`products`) | list | – | Product links of any shape, the app's share text, agent links, or ids |
| Shops (`shops`) | list | – | Shop links or ids, or a product link for its shop |
| Maximum products (`maxItems`) | number | 500 | Per search term and per shop, up to 10,000 |
| Order (`sort`) | choice | Taobao's order | Taobao's order, best sellers first, lowest or highest price first (search terms) |
| Lowest and highest price (¥) (`minPrice`, `maxPrice`) | number | none | In yuan |
| Tmall only (天猫) (`tmallOnly`) | true or false | false | Only Tmall shops |
| In stock only (`inStockOnly`) | true or false | false | Leave out products whose every variant is sold out |
| Product details (`details`) | true or false | true | Off: search fields only, $0.99 per 1,000 |
| Live price and stock check (`freshData`) | true or false | false | Check each product's price and stock right before saving it, for trackers |
| Minimum products (`minItems`) | number | 0 | Fail the run when fewer products come back (for monitoring) |

### ⬆️ Output

<a href="https://console.apify.com/actors/epLJ5mEd0ICW9YC8O/input"><img src="https://raw.githubusercontent.com/sleepmodesystems/actor-readme-images/main/taobao-scraper/taobao-scraper-output.png" alt="Taobao & Tmall Scraper output: products with photo, price, variants, stock and shop" style="width:100%;"></a>

Results land in the run's dataset: view them as a table, download them as JSON, CSV, Excel or XML, or read them through the API. Titles, variant names and options come in Chinese as the seller wrote them and in English; attributes are in English.

#### 📦 Taobao product data sample

A product from a search for 蓝牙耳机 (lists and long text shortened):

```json
{
  "itemId": "968678471453",
  "url": "https://item.taobao.com/item.htm?id=968678471453",
  "platform": "taobao",
  "title": "华强北五代蓝牙耳机Pro2真无线降噪Air5洛达2026新款二代超长续航",
  "titleEn": "Huaqiangbei Fifth-Generation Bluetooth Headset Pro2 True Wireless Noise-Cancelling Air5 Loda 2026 New Model Second Generation Ultra-Long Battery Life",
  "imageUrl": "https://img.alicdn.com/bao/uploaded/i2/2030181314/O1CN0190YKSsZ1ziH1WPjS_!!2030181314.png",
  "images": [
    "https://img.alicdn.com/bao/uploaded/i2/2030181314/O1CN0190YKSsZ1ziH1WPjS_!!2030181314.png",
    "https://img.alicdn.com/bao/uploaded/i3/2030181314/O1CN01X23aCIs7u8J1WPjS_!!2030181314.png"
  ],
  "price": 69.17,
  "originalPrice": 78,
  "priceRange": {
    "min": 69.17,
    "max": 95.12
  },
  "currency": "CNY",
  "priceType": "overseas",
  "discountLabel": "優惠價",
  "inStock": true,
  "stockTotal": 2802,
  "stockCapped": true,
  "soldOutVariants": 0,
  "lowStockVariants": 0,
  "variantCount": 14,
  "variantOptions": [
    {
      "name": "颜色分类",
      "nameEn": "Color Classification",
      "values": [
        {
          "id": "38049783876",
          "name": "【品牌补贴】前100名下单补贴15%！数量有限",
          "nameEn": "[Brand Subsidy] the First 100 People to Place an Order Will Receive a 15% Subsidy! Quantities Are Limited",
          "imageUrl": "https://img.alicdn.com/bao/uploaded/i4/2030181314/O1CN01Pt2h601LZrZ9fHY33_!!2030181314.jpg"
        },
        {
          "id": "44321634394",
          "name": "【收藏加购】送豪华四件套★享30天试用★1年质保换新.",
          "nameEn": "Add to Favorites & Cart = Free Deluxe 4-Piece Bedding Set★Enjoy a 30-Day Trial★1 Year Warranty for Replacement",
          "imageUrl": "https://img.alicdn.com/bao/uploaded/i1/2030181314/O1CN01UNm4Et1LZraFncq8J_!!2030181314.png"
        }
      ]
    }
  ],
  "variants": [
    {
      "skuId": "6117772486958",
      "name": "颜色分类:【品牌补贴】前100名下单补贴15%！数量有限",
      "nameEn": "Color Classification:[Brand Subsidy] the First 100 People to Place an Order Will Receive a 15% Subsidy! Quantities Are Limited",
      "properties": "1627207:38049783876",
      "price": 95.12,
      "originalPrice": 99.68,
      "stock": 200,
      "stockCapped": true,
      "imageUrl": "https://img.alicdn.com/bao/uploaded/i4/2030181314/O1CN01Pt2h601LZrZ9fHY33_!!2030181314.jpg"
    },
    {
      "skuId": "6117772486961",
      "name": "颜色分类:【收藏加购】送豪华四件套★享30天试用★1年质保换新.",
      "nameEn": "Color Classification:Add to Favorites & Cart = Free Deluxe 4-Piece Bedding Set★Enjoy a 30-Day Trial★1 Year Warranty for Replacement",
      "properties": "1627207:44321634394",
      "price": 95.12,
      "originalPrice": 99.68,
      "stock": 200,
      "stockCapped": true,
      "imageUrl": "https://img.alicdn.com/bao/uploaded/i1/2030181314/O1CN01UNm4Et1LZraFncq8J_!!2030181314.png"
    }
  ],
  "shopId": "109608167",
  "shopName": "深圳华强北原装直销总店",
  "sellerId": "2030181314",
  "sellerType": "C",
  "shopUrl": "https://shop109608167.taobao.com",
  "shopLogo": "https://img.alicdn.com/imgextra/i1/2030181314/O1CN01gRJxeS1LZrUC1Sv1S_!!2030181314.webp",
  "shopCreditLevel": 15,
  "shopOpenedAt": "2014-03-21",
  "shopItemCount": 5,
  "shopNewItemCount": 1,
  "shopScores": {
    "description": 4.7,
    "service": 4.7,
    "delivery": 4.7,
    "descriptionVsIndustry": "lower",
    "serviceVsIndustry": "lower",
    "deliveryVsIndustry": "lower"
  },
  "location": "广东深圳",
  "reviewCountText": "5万+",
  "reviewCount": 50000,
  "positiveRate": 98,
  "neutralRate": 2,
  "negativeRate": 0,
  "positiveReviewCountText": "5万+",
  "positiveReviewCount": 50000,
  "negativeReviewCountText": "200+",
  "negativeReviewCount": 200,
  "reviewTags": [
    {
      "tag": "音质清晰",
      "count": 175
    },
    {
      "tag": "佩戴舒适",
      "count": 134
    },
    {
      "tag": "重量很轻",
      "count": 11
    }
  ],
  "latestReview": {
    "rating": 5,
    "text": "通话清晰无杂音，收货很满意，第三次买了，非常好，",
    "date": "2026.11.04 13:54",
    "variant": "颜色分类:【绝配版Pro2代】158dB主动降噪★杜比空间音频★同款全功能"
  },
  "brand": "Fabanmi",
  "attributes": [
    {
      "name": "Function",
      "value": "Battery Level Indicator"
    },
    {
      "name": "Color Classification",
      "value": "【Hassle-Free Returns】Buy Now and Get Free Return Shipping Insurance + Next-Day Delivery in 100 Cities"
    },
    {
      "name": "Transmission Radius",
      "value": "15m"
    }
  ],
  "minOrderQuantity": null,
  "sellableLanguages": [
    "en_US"
  ],
  "categoryId": "50005050",
  "rootCategoryId": "50011972",
  "categoryPath": [
    "影音视听",
    "耳机耳放",
    "耳机"
  ],
  "descriptionImages": [
    "https://img.alicdn.com/imgextra/i4/2030181314/O1CN017jmd371LZraFZUywa_!!2030181314.jpg",
    "https://img.alicdn.com/imgextra/i3/2030181314/O1CN01M9zQjv1LZraFZUeAi_!!2030181314.jpg"
  ],
  "sellingPoints": null,
  "paymentMethods": [
    "蚂蚁花呗",
    "集分宝",
    "支付宝支付"
  ],
  "shippingFee": 0,
  "freeShipping": true,
  "areaLimit": false,
  "deal": null,
  "searchTerm": "蓝牙耳机",
  "shopInput": null,
  "position": 16,
  "details": true,
  "scrapedAt": "2026-11-16T12:02:29Z"
}
```

#### Fields

Source: **Taobao** = Taobao's value unchanged. **Derived** = computed by this actor from Taobao's values. Missing values are `null`, never an empty string.

| Field | Source | Meaning |
|---|---|---|
| `itemId` | Taobao | Taobao's numeric item id; never changes |
| `url` | Derived | The product page: item.taobao.com, or detail.tmall.com for Tmall products |
| `platform` | Taobao | `taobao` or `tmall`, when Taobao says which |
| `title`, `titleEn` | Taobao | Title in Chinese as the seller wrote it, and in English |
| `imageUrl`, `images` | Taobao | Main photo and gallery |
| `price` | Taobao | Current price in yuan (CNY), see `priceType` |
| `originalPrice` | Taobao | Crossed-out price in yuan, when the product is discounted |
| `priceRange` | Derived | Lowest and highest variant price `{min, max}` |
| `currency` | Fixed | `CNY` |
| `priceType` | Derived | `yuan` = Taobao's price in yuan; `overseas` = Taobao's overseas price, which includes a currency conversion (~2-3% above the yuan price) |
| `discountLabel` | Taobao | Taobao's price label (优惠价…) |
| `inStock` | Derived | At least one variant can be bought |
| `stockTotal`, `stockCapped` | Derived | Units in stock over all variants; `stockCapped` true when a variant has 200 or more, so the total is a minimum |
| `soldOutVariants`, `lowStockVariants` | Derived | Variants with 0 left, and with 1 to 19 left |
| `variantCount` | Derived | Number of variants (SKUs) |
| `variantOptions` | Taobao | The options a buyer picks from (颜色分类, 尺码…), each value in Chinese and English with its photo |
| `variants` | Taobao | Every variant: `skuId`, `name`, `nameEn`, `properties`, `price`, `originalPrice`, `stock` (exact below 200), `stockCapped`, `imageUrl` |
| `shopId`, `shopName`, `shopUrl`, `shopLogo` | Taobao | The shop |
| `sellerId`, `sellerType` | Taobao | The seller's user id; `B` = Tmall (business), `C` = Taobao (individual) |
| `shopCreditLevel`, `shopOpenedAt` | Taobao | Taobao's seller credit level, and the date the shop opened |
| `shopItemCount`, `shopNewItemCount` | Taobao | Products the shop lists, and new ones listed recently |
| `shopScores` | Taobao | The three shop scores (description, service, delivery, 1 to 5) and how each compares with the industry (`higher`, `same`, `lower`) |
| `location` | Taobao | Where the product ships from (广东深圳…) |
| `reviewCountText`, `reviewCount` | Taobao, Derived | Reviews as Taobao writes it (`3000+`), and as a number (a minimum) |
| `positiveRate`, `neutralRate`, `negativeRate` | Taobao | Share of reviews, in percent (Taobao products; Tmall doesn't publish them) |
| `positiveReviewCountText`, `positiveReviewCount`, `negativeReviewCountText`, `negativeReviewCount` | Taobao, Derived | Positive and negative reviews as Taobao writes them (`7万+`) and as numbers |
| `reviewTags` | Taobao | What reviewers mention most, with counts (`性价比高`, 85) |
| `latestReview` | Taobao | A recent review: rating, text, date, variant bought |
| `brand` | Taobao | Brand |
| `attributes` | Taobao | Product attributes `{name, value}` (model, material, battery…), in English |
| `minOrderQuantity` | Taobao | Minimum quantity per order, when the seller sets one |
| `sellableLanguages` | Taobao | Languages Taobao sells the product in abroad |
| `categoryId`, `rootCategoryId`, `categoryPath` | Taobao | Taobao's category ids and names from the top |
| `descriptionImages` | Taobao | Images of the seller's product description |
| `sellingPoints` | Taobao | The seller's highlight badges |
| `paymentMethods` | Taobao | Payment methods Taobao lists (蚂蚁花呗, 信用卡支付…) |
| `shippingFee`, `freeShipping` | Taobao, Derived | Domestic shipping fee in China in yuan, and whether it is free |
| `areaLimit` | Taobao | Taobao limits where it ships |
| `deal` | Taobao | On Taobao's deal products only: `sales30Days`, `salesToday`, `salesLast2Hours`, `couponPrice` (券后价), `listPrice`, `coupon`, `couponsLeft`, `promotions` |
| `searchTerm`, `shopInput`, `position` | Derived | What found the product, and its position there |
| `details` | Derived | `true` = complete row, `false` = search fields only |
| `scrapedAt` | Derived | When the run read it (UTC) |

#### Run summary

Every run saves a `SUMMARY` record in its key-value store. This one is a 100-product search:

```json
{
  "products": 100,
  "completeRows": 100,
  "searchFieldsOnlyRows": 0,
  "rowsWithOverseasPrice": 80,
  "leftOutByFilters": 0,
  "productIdsNotOnTaobao": [],
  "productsToRunAgain": [],
  "inputsThatNeedALogin": [],
  "taobaoCountPerSearch": {
    "蓝牙耳机": 36573
  },
  "taobaoCountPerShop": {},
  "stoppedSources": [],
  "durationSec": 53
}
```

`taobaoCountPerSearch` and `taobaoCountPerShop` are Taobao's own counts. `rowsWithOverseasPrice` counts rows priced with Taobao's overseas price (`priceType: overseas`). `productIdsNotOnTaobao` lists ids Taobao no longer has, and `productsToRunAgain` products Taobao did not answer for this time: neither is charged. Set `minItems` to make a short run fail outright.

#### 📝 Notes and limits

- **Stock is exact below 200 per variant.** Above that, Taobao shows 200: `stock` is 200, `stockCapped` is true and `stockTotal` is a minimum. Sold-out (0) and nearly sold-out (1 to 19) variants are exact.
- **Two prices, marked.** `price` is Taobao's yuan price when Taobao shows it (`priceType: yuan`), otherwise Taobao's overseas price, which includes a currency conversion and sits about 2-3% above (`priceType: overseas`). Variant prices are overseas prices.
- **Sales counts and coupon prices (券后价)** are shown to signed-in shoppers only, except on Taobao's deal products, where the `deal` field carries the coupon, the price after it and the sales of the last 30 days. Best sellers first still follows Taobao's own sales ranking.
- **Taobao's own product-page details** (ships-from, category, review counts and tags, latest review, payment methods) are public for part of the products; the other rows have every other field and these are `null`.
- **Review counts are Taobao's rounded text** (`3000+`, `7万+`); the numeric fields are the minimum it means. Tmall doesn't publish a positive rate.
- **A shop's catalogue** is what Taobao lists for it publicly, up to 10,000 products; `taobaoCountPerShop` gives Taobao's own count.
- **Prices move during promotions** (618 in June, Double 11 in November): schedule runs as often as you need a fresh price, with the live check on for trackers.

### What can you do with Taobao data?

#### 🏆 [Find best sellers to resell, with variant stock](https://apify.com/sleepmodesystems/taobao-scraper/examples/taobao-dropshipping-best-sellers-variant-stock)

Shopify, Amazon and TikTok Shop sellers look for products that sell in China, and list only the variants that can be bought.

**Recipe:**

1. Search the product with **Order: best sellers first** and **In stock only**, and a price range if you have one.
2. Keep the variants with `stock` above your order size; `soldOutVariants` shows what is gone.
3. Check the seller's `shopCreditLevel` and `shopScores` before you order.

The 100 best sellers of a search, complete, cost about $0.50.

#### 📈 [Track the price and stock of your products](https://apify.com/sleepmodesystems/taobao-scraper/examples/taobao-tmall-price-stock-tracker)

Resellers and buying agents follow the products they buy: a price change or a sold-out variant costs them an order.

**Recipe:**

1. Paste your products' links or ids and turn on **Live price and stock check**; save it as an Apify task.
2. Schedule it daily, and send each run's dataset to Google Sheets, your database or Slack.
3. Compare `price` and each variant's `stock` by `itemId` and `skuId` with the previous day.

100 products tracked every day for a month cost about $15.

#### 🏪 [Vet a supplier's shop before you order](https://apify.com/sleepmodesystems/taobao-scraper/examples/taobao-supplier-shop-catalogue-seller-scores)

Importers and sourcing agents compare suppliers on what they sell and how they are rated.

**Recipe:**

1. Paste the shops' links or ids, with **Maximum products** set to cover their catalogues.
2. Compare `shopCreditLevel`, `shopOpenedAt`, `shopItemCount` and `shopScores` against their industry.
3. Compare their prices and stock on the products you need.

Two shops of 100 products each, complete, cost about $1.

#### 📊 Map a category's prices

Brands and analysts read a whole category's prices, shops and positions.

**Recipe:**

1. Search the category's words with **Product details** off, for up to 10,000 products a term at $0.99 per 1,000.
2. Group by `price`, `shopName` and `position`, and read Taobao's own count in the summary.
3. Read the products that matter complete, with [Taobao Product Details Scraper](https://apify.com/sleepmodesystems/taobao-product-details-scraper).

### Taobao scrapers compared

| | Taobao & Tmall Scraper | zen-studio (detail) | pizani | scrapesage | tortuga | memo23 |
|---|---|---|---|---|---|---|
| Price per 1,000 complete products | $4.99 | $9.99 | $4.99 | $3 + $6 details | $2 + $2.50 details | $4 + $7 variants |
| Time per complete product | 0.7 s | 3.1 s | one product a run | 2.9 s, no variants | 2.5 s | 13 s |
| Search, links and shops in one run | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ |
| Every variant with its price | ✅ | ✅ | ✅ | ❌ | ❌ | ✅ |
| Stock per variant, sold-out variants | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
| Seller credit and shop scores | ✅ | ❌ | ❌ | ✅ | ✅ | partial |
| Titles and variant names in English | ✅ | ❌ | title only | ❌ | ❌ | ❌ |
| Sales counts | deal products only | ✅ | ❌ | ❌ | ❌ | sales order only |

### Want to get other data from Taobao?

You can use the other dedicated Taobao scrapers below for one job each:

<table>
<tr>
<td>📦 <a href="https://apify.com/sleepmodesystems/taobao-product-details-scraper">Taobao Product Details Scraper</a></td>
<td>🏪 <a href="https://apify.com/sleepmodesystems/taobao-shop-scraper">Taobao Shop Scraper</a></td>
</tr>
</table>

> Want more Chinese marketplaces? [JD.com Scraper](https://apify.com/sleepmodesystems/jd-com-scraper) for China's other retail prices, [1688 Scraper](https://apify.com/sleepmodesystems/1688-scraper) for factory prices, [AliExpress Scraper](https://apify.com/sleepmodesystems/aliexpress-scraper) and [Alibaba Scraper](https://apify.com/sleepmodesystems/alibaba-scraper) for export, [Goofish Scraper](https://apify.com/sleepmodesystems/goofish-scraper) for second-hand (闲鱼).

### 🤖 AI agents and MCP

Taobao & Tmall Scraper is a ready tool for AI agents through the [Apify MCP server](https://mcp.apify.com/). Add this server to Claude (desktop, web or Code), ChatGPT, Cursor or any MCP client:

```
https://mcp.apify.com/?tools=sleepmodesystems/taobao-scraper
```

For a client that takes a JSON config:

```json
{
  "mcpServers": {
    "taobao": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.apify.com/?tools=sleepmodesystems/taobao-scraper"]
    }
  }
}
```

Then ask, for example:

- *"Find the 20 best-selling Bluetooth earphones on Taobao under ¥100, with the stock of each variant."*
- *"Is this Taobao product still in stock in every color? https://item.taobao.com/item.htm?id=765833709683"*
- *"Compare these three Taobao shops: credit level, shop scores and how many products they sell."*

The video shows how to connect Apify to Claude with MCP:

https://www.youtube.com/watch?v=BKu8H91uCTg

#### Why agents should choose Taobao & Tmall Scraper

- **Complete in one call.** Every variant with its price and stock, the seller's scores and the reviews summary, in Chinese and English.
- **Fast enough for a chat.** 20 complete products in 15 to 30 seconds, 100 in about a minute; the run starts in about 0.1 seconds.
- **Any input.** Words in Chinese or English, every Taobao and Tmall link shape, the app's share text, shopping-agent links, shops.
- **Errors an agent can act on.** Products Taobao no longer has, and inputs that are not Taobao, are listed in the summary with nothing charged.
- **Clear price.** $4.99 per 1,000 complete products (FREE tier), everything included.

#### Quick reference for AI agents

- **Actor:** `sleepmodesystems/taobao-scraper`
- **Does:** one dataset row per Taobao or Tmall product, prices in Chinese yuan (CNY).
- **Smallest input:** `{"searchTerms": ["蓝牙耳机"], "maxItems": 20}`.
- **Other inputs:** `"products"` (links or ids), `"shops"` (links or ids), `"sort": "bestSellers"`, `"minPrice"`, `"maxPrice"`, `"tmallOnly"`, `"inStockOnly"`, `"freshData"`.
- **Cheaper:** `"details": false` returns search fields only at $0.99 per 1,000.
- **Each row has:** `itemId`, `url`, `platform`, `title`, `titleEn`, `price`, `originalPrice`, `priceRange`, `inStock`, `stockTotal`, `variants`, `shopName`, `shopCreditLevel`, `shopScores`, `brand`, `attributes`, `imageUrl`.
- **Fields that can be `null`:** `originalPrice` without a promotion; ships-from, category and review fields where Taobao doesn't show them publicly; `deal` outside Taobao's deals.
- **The run summary** is the `SUMMARY` record in the run's key-value store: products, complete rows, Taobao's own counts, products not on Taobao, products to run again.

### ❓ Frequently Asked Questions

#### Do I need a Taobao account, a Chinese phone number or proxies?

No. The actor reads what any signed-out shopper sees and handles access to Taobao itself; there is nothing to set up.

#### Is there an official Taobao product API?

Taobao's open platform is for registered developers and sellers, after an application. This actor works as a Taobao product API without one: send search terms, links or ids to the Apify API and get the products back as JSON.

#### Does it give every variant's stock?

Yes. Each variant has its own stock, exact below 200 (above that, 200 and `stockCapped: true`), plus `soldOutVariants` and `lowStockVariants` for the whole product.

#### Can I get the coupon price (券后价) or sales counts?

For products in Taobao's deals, yes: the `deal` field has the coupon, the price after it and the sales of the last 30 days. For the others, Taobao shows coupons and sales only to signed-in shoppers, and this actor never logs in.

#### Can I search in English?

Yes. English words work (`phone case`, `bluetooth earbuds`); Chinese words match the way Taobao shoppers search and usually give more products. Every row has the title in both languages.

#### Which links does it accept?

item.taobao.com, detail.tmall.com, Tmall HK, mobile links, the Taobao app's `m.tb.cn` share text, shopping-agent links (CNFans, Mulebuy, Hoobuy, KakoBuy and others) and bare ids. A link from another marketplace (1688, Weidian, JD) is refused in a second, with nothing charged.

#### Is the data fresh?

Yes. For price and stock trackers, turn on **Live price and stock check**: each product's price and stock are checked with Taobao right before the row is saved, a few seconds more per product.

#### How fast is it?

20 complete products in 15 to 30 seconds, 100 in about a minute, 1,000 search rows in about a minute. A run starts in about 0.1 seconds.

#### Can I schedule it and send results somewhere?

Yes. Use Apify Schedules, and an integration or webhook to send each run's dataset to Google Sheets, Make, Zapier, n8n, Slack or your database.

#### Can I use Taobao & Tmall Scraper with the Apify API?

Yes. Any Apify client (JavaScript, Python, REST) can start the actor and read the dataset; the API tab of this actor has ready code.

#### Is it legal to scrape Taobao?

This actor reads product data Taobao and Tmall show publicly to anyone, without logging in. It collects no personal data about shoppers; the sample review it returns has no reviewer name. You are responsible for how you use the data, including Taobao's terms and any law that applies to you; see Apify's [guide to web scraping legality](https://blog.apify.com/is-web-scraping-legal/). Taobao & Tmall Scraper is an independent tool by Sleep Mode Systems, not affiliated with, endorsed by or sponsored by Alibaba Group, Taobao or Tmall; Taobao, 淘宝, Tmall and 天猫 are trademarks of their owner.

#### Taobao & Tmall Scraper not working?

Write the run's link in the Issues tab of this actor, or to sleepmodesystems@proton.me; questions, a missing field or a custom pipeline on top of this data are welcome too. Did Taobao & Tmall Scraper save you time? A review on its [Apify page](https://apify.com/sleepmodesystems/taobao-scraper) takes a minute and helps other people find it. Thank you!

# Actor input Schema

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

Words in Chinese or English, one per line: <code>蓝牙耳机</code>, <code>手机壳</code>, <code>phone case</code>. Or paste a Taobao search or category link (<code>s.taobao.com/search?q=…</code>, <code>www.taobao.com/list/category/50005050.htm</code>). Each gives products in Taobao's order, as deep as the catalogue goes: 蓝牙耳机 has ~35,000 listed and a run reads up to 10,000. Up to 100 terms.

## `products` (type: `array`):

Product ids or links, one per line, any shape: <code>765833709683</code>, <code>https://item.taobao.com/item.htm?id=765833709683</code>, Tmall and Tmall HK links, mobile links, <code>m.tb.cn</code> share text, and shopping-agent links (CNFans, Mulebuy, Hoobuy, KakoBuy…). One complete row each. Up to 10,000.

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

Shop links or ids, one per line: <code>https://shop111052165.taobao.com</code>, <code>111052165</code>, or a product link (that product's shop). The shop's catalogue, up to <i>Maximum products</i> per shop. Up to 100 shops.

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

Products per search term and per shop (up to 10,000). A product you named always gives its row.

## `sort` (type: `string`):

Taobao's own orders for search terms: <b>Best sellers first</b> is Taobao's sales ranking. Shops come in the shop's own order.

## `minPrice` (type: `integer`):

Only products from this price, in yuan: <code>50</code>. On searches and shops.

## `maxPrice` (type: `integer`):

Only products up to this price, in yuan: <code>300</code>. On searches and shops.

## `tmallOnly` (type: `boolean`):

Only products from Tmall stores. Needs product details.

## `inStockOnly` (type: `boolean`):

Leave out products whose every variant is sold out. Needs product details.

## `details` (type: `boolean`):

On (default): the complete row, every variant with its price and stock, attributes, description images, the seller's scores and credit, review count and tags, and Taobao's own yuan price where Taobao shows it. Off: search and shop rows only (id, titles, price, image, position) at the lower price, for daily trackers.

## `freshData` (type: `boolean`):

Check each product's price and stock with Taobao right before saving it (about 2-3 s more per product), for price and stock trackers.

## `minItems` (type: `integer`):

Fail the run when fewer products come back (for monitoring). 0 = never fail for a small result.

## Actor input object example

```json
{
  "searchTerms": [
    "蓝牙耳机"
  ],
  "maxItems": 50,
  "sort": "relevance",
  "tmallOnly": false,
  "inStockOnly": false,
  "details": true,
  "freshData": false,
  "minItems": 0
}
```

# Actor output Schema

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

No description

## `summary` (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": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("sleepmodesystems/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 = {
    "searchTerms": ["蓝牙耳机"],
    "maxItems": 50,
}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sleepmodesystems/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/epLJ5mEd0ICW9YC8O/builds/5SDx9u2UrGbTg2dzw/openapi.json
