# Taobao Shop Scraper (`sleepmodesystems/taobao-shop-scraper`) Actor

\[💰 $4.99 / 1K products] A Taobao or Tmall (淘宝 天猫) shop's catalogue, up to 10,000 products: every variant's price and stock, the yuan price, the seller's credit and scores, reviews, English titles. Catalogue rows only at $0.99 / 1K. No account, no proxy. Export JSON, CSV or Excel.

- **URL**: https://apify.com/sleepmodesystems/taobao-shop-scraper.md
- **Developed by:** [Sleep Mode Systems](https://apify.com/sleepmodesystems) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## 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]** Paste a Taobao or Tmall (淘宝 天猫) shop and get its catalogue, up to 10,000 products, each with every variant's price and stock and the seller's scores: 100 products in about 25 seconds, and a shop's price list at $0.99 per 1,000.

### What can Taobao Shop Scraper do?

Taobao Shop Scraper **reads Taobao and Tmall shops** (https://www.taobao.com, https://www.tmall.com): paste a shop link, a shop id or one of its product links and get the products the shop lists, up to 10,000, each complete with every variant (SKU) and its own price, stock and photo, the yuan price, attributes, description images and titles in Chinese and English, with the seller's credit level and shop scores on every row. Filter the shop by price or stock, or get its price list for less. 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">

🏪 **A shop's catalogue**, up to 10,000 products <br>
🏷️ **Every variant**: price, stock, photo <br>
📦 **Stock**: sold-out and nearly sold-out variants <br>
⭐ **Seller**: credit level, shop scores, shop age <br>
🧾 **Attributes**, brand, description images <br>
🔤 **Chinese and English** titles and variants

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

🎯 **Filters**: price range, in stock only <br>
💸 **Price lists** at $0.99 per 1,000 <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 vet suppliers, follow a competitor's prices or export a brand store's catalogue, you can get it all from a single tool.

### What data can I scrape from a Taobao shop?

One **complete row per product** of the shop:

- **The catalogue:** *what the shop sells.* The products the shop lists publicly, in the shop's own order, with each product's position.
- **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.
- **Price:** *what it costs in China.* The price in yuan, the price range over variants, the domestic shipping fee.
- **Seller:** *who runs the shop.* Shop name, logo and link, Taobao or Tmall, the seller's credit level, the shop's age and product count, and its three scores against its industry, on every row.
- **Product:** *what it is.* Brand, attributes in English, description images.

Fill rates over 1,100 products of two shops: variants, stock, price, shop, seller credit and scores, attributes, English titles, description images and position 100%; brand 99%; Taobao's own product-page details (ships-from, category, reviews) on a few products only. Taobao's own count of each shop's products is in the run summary: the shops read here listed publicly 67-93% of it.

> Need more? These dedicated scrapers cover other Taobao jobs:
>
> - 🛒 [Taobao & Tmall Scraper](https://apify.com/sleepmodesystems/taobao-scraper): search by keyword, best sellers, links and shops in one run
> - 📦 [Taobao Product Details Scraper](https://apify.com/sleepmodesystems/taobao-product-details-scraper): product links or ids you already have

### How much will scraping a Taobao shop cost?

Taobao Shop 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 are not charged.

| Event | FREE | BRONZE | SILVER | GOLD |
|---|---|---|---|---|
| Product, complete: every variant with price and stock, seller scores, attributes, description images (per 1,000) | $4.99 | $4.74 | $4.49 | $4.24 |
| Product, catalogue row: 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, no fee per shop.

#### Cost examples

| Scenario | Products | Cost (FREE) | Cost (GOLD) |
|---|---|---|---|
| Try it: a shop's first 100 products, complete | 100 | $0.50 | $0.42 |
| A supplier's 1,000 products, complete | 1,000 | $4.99 | $4.24 |
| A competitor's price list | 1,824 | $1.81 | $1.53 |
| 5 shops' price lists, weekly for a month | ~20,000 | ~$19.80 | ~$16.80 |

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 Shop Scraper?

<a href="https://console.apify.com/actors/VtUockGjJsFOYYr8W/input"><img src="https://raw.githubusercontent.com/sleepmodesystems/actor-readme-images/main/taobao-shop-scraper/taobao-shop-scraper-how-it-works.png" alt="How Taobao Shop Scraper works: a Taobao shop in, its products out" style="width:100%;"></a>

1. [Create](https://console.apify.com/sign-up) a free Apify account.
2. Open **[Taobao Shop Scraper](https://console.apify.com/actors/VtUockGjJsFOYYr8W)** in Apify Console.
3. Paste the **shop links or ids**, one per line, and set **Products per shop**.
4. Click **Save & Start**: 100 products take about 25 seconds, 1,000 about 3 minutes.
5. Download the dataset as **JSON, CSV, Excel or XML**, or read it through the Apify API.

### ⬇️ Input

Paste shops: each one gives its products, in the shop's own order, up to **Products per shop**. The filters narrow each shop.

<a href="https://console.apify.com/actors/VtUockGjJsFOYYr8W/input"><img src="https://raw.githubusercontent.com/sleepmodesystems/actor-readme-images/main/taobao-shop-scraper/taobao-shop-scraper-input.png" alt="Taobao Shop Scraper input form: shop links or ids and products per shop" style="width:100%;"></a>

| Paste this | And you get |
|---|---|
| A shop link: `https://shop111052165.taobao.com` | The shop's catalogue |
| A shop id: `111052165`, or a Tmall shop id | The same |
| One of the shop's product links | That product's shop |

#### 🏪 Vet a supplier's shop

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

#### 💸 A competitor's price list for less

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

```json
{
    "shops": ["125701350"],
    "maxItems": 5000,
    "details": false
}
```

#### ✅ A brand store's products in stock

```json
{
    "shops": ["503709453"],
    "inStockOnly": true,
    "maxItems": 200
}
```

#### Input fields

| Field | Type | Default | Meaning |
|---|---|---|---|
| Shops (`shops`) | list | – | Shop links or ids, or a product link for its shop |
| Products per shop (`maxItems`) | number | 1,000 | Stop each shop at this many products, up to 10,000 |
| Lowest and highest price (¥) (`minPrice`, `maxPrice`) | number | none | In yuan |
| 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: catalogue rows 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/VtUockGjJsFOYYr8W/input"><img src="https://raw.githubusercontent.com/sleepmodesystems/actor-readme-images/main/taobao-shop-scraper/taobao-shop-scraper-output.png" alt="Taobao Shop Scraper output: a shop's products with photo, price, variants, stock and position" 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. The rows are the same as [Taobao & Tmall Scraper](https://apify.com/sleepmodesystems/taobao-scraper)'s, so datasets from both combine directly. Titles, variant names and options come in Chinese and English; attributes are in English.

#### 📦 Taobao shop product data sample

A product of a phone-accessory shop (lists and long text shortened):

```json
{
  "itemId": "1082227363648",
  "url": "https://item.taobao.com/item.htm?id=1082227363648",
  "platform": "taobao",
  "title": "轻派ins波漾双环三折叠适用MagSafe磁吸支架手机强力双面吸附新款",
  "titleEn": "Lightweight ins Wave Double Ring 70% off Stack Compatible with Magsafe Magnetic Stand Phone Strong Double-Sided Adsorption New Model",
  "imageUrl": "https://img.alicdn.com/bao/uploaded/i4/2093614553/O1CN01nqr5JNQaVjB2vHAO_!!2093614553.jpg",
  "images": [
    "https://img.alicdn.com/bao/uploaded/i4/2093614553/O1CN01nqr5JNQaVjB2vHAO_!!2093614553.jpg",
    "https://img.alicdn.com/bao/uploaded/i1/2093614553/O1CN011ObRhxcvrdH2vHAO_!!2093614553.jpg"
  ],
  "price": 88,
  "originalPrice": null,
  "priceRange": {
    "min": 90.39,
    "max": 90.39
  },
  "currency": "CNY",
  "priceType": "yuan",
  "discountLabel": "超級立減活動價",
  "inStock": true,
  "stockTotal": 1600,
  "stockCapped": true,
  "soldOutVariants": 0,
  "lowStockVariants": 0,
  "variantCount": 8,
  "variantOptions": [
    {
      "name": "商品规格",
      "nameEn": "Product Specifications",
      "values": [
        {
          "id": "-1",
          "name": "波漾三折叠【银色】磁吸支架",
          "nameEn": "Wave 70% off Stacked [Silver] Magnetic Stand",
          "imageUrl": "https://img.alicdn.com/bao/uploaded/i1/2093614553/O1CN01aoVeMIpCGxJ2vH2e_!!2093614553.jpg"
        },
        {
          "id": "-8",
          "name": "波漾三折叠【樱桃红】磁吸支架",
          "nameEn": "Wave 70% off Stacked [Cherry Red] Magnetic Stand",
          "imageUrl": "https://img.alicdn.com/bao/uploaded/i1/2093614553/O1CN01ZDkX4iWOatH2vH2e_!!2093614553.jpg"
        }
      ]
    }
  ],
  "variants": [
    {
      "skuId": "6137943777532",
      "name": "商品规格:波漾三折叠【银色】磁吸支架",
      "nameEn": "Product Specifications:Wave 70% off Stacked [Silver] Magnetic Stand",
      "properties": "-1:-1",
      "price": 90.39,
      "originalPrice": null,
      "stock": 200,
      "stockCapped": true,
      "imageUrl": "https://img.alicdn.com/bao/uploaded/i1/2093614553/O1CN01aoVeMIpCGxJ2vH2e_!!2093614553.jpg"
    },
    {
      "skuId": "6306329331965",
      "name": "商品规格:波漾三折叠【樱桃红】磁吸支架",
      "nameEn": "Product Specifications:Wave 70% off Stacked [Cherry Red] Magnetic Stand",
      "properties": "-1:-8",
      "price": 90.39,
      "originalPrice": null,
      "stock": 200,
      "stockCapped": true,
      "imageUrl": "https://img.alicdn.com/bao/uploaded/i1/2093614553/O1CN01ZDkX4iWOatH2vH2e_!!2093614553.jpg"
    }
  ],
  "shopId": "111052165",
  "shopName": "轻派工作室",
  "sellerId": "2093614553",
  "sellerType": "C",
  "shopUrl": "https://shop111052165.taobao.com",
  "shopLogo": "https://img.alicdn.com/imgextra/i2/2093614553/O1CN01IHanIh1jVKCieko32_!!2093614553.jpg",
  "shopCreditLevel": 20,
  "shopOpenedAt": "2014-05-22",
  "shopItemCount": 675,
  "shopNewItemCount": 159,
  "shopScores": {
    "description": 4.8,
    "service": 4.8,
    "delivery": 4.8,
    "descriptionVsIndustry": "lower",
    "serviceVsIndustry": "same",
    "deliveryVsIndustry": "same"
  },
  "location": "广东深圳",
  "reviewCountText": "31",
  "reviewCount": 31,
  "positiveRate": 100,
  "neutralRate": 0,
  "negativeRate": 0,
  "positiveReviewCountText": "31",
  "positiveReviewCount": 31,
  "negativeReviewCountText": "0",
  "negativeReviewCount": 0,
  "reviewTags": null,
  "latestReview": {
    "rating": 5,
    "text": "三折叠的支架真的好好用～追剧啥的很方便，而且磁力很强☺️搭配我的壳子很好看。",
    "date": "2026.09.25 23:46",
    "variant": "商品规格:波漾三折叠【雾紫色】磁吸支架"
  },
  "brand": "Light Style",
  "attributes": [
    {
      "name": "Brand",
      "value": "Light Style"
    },
    {
      "name": "Design Style",
      "value": "Simple"
    },
    {
      "name": "Applicable Scenarios",
      "value": "Office"
    },
    {
      "name": "Item Number",
      "value": "L20192"
    }
  ],
  "minOrderQuantity": null,
  "sellableLanguages": [
    "en_US"
  ],
  "categoryId": "150708",
  "rootCategoryId": "50008090",
  "categoryPath": [
    "3C数码配件",
    "手机配件",
    "手机支架"
  ],
  "descriptionImages": [
    "https://img.alicdn.com/imgextra/i1/2093614553/O1CN01fM0h2DsDKlH2vIsM~crop,0,0,1440,2880~_!!2093614553.jpg",
    "https://img.alicdn.com/imgextra/i1/2093614553/O1CN01fM0h2DsDKlH2vIsM~crop,0,2880,1440,2880~_!!2093614553.jpg"
  ],
  "sellingPoints": null,
  "paymentMethods": [
    "蚂蚁花呗",
    "集分宝",
    "支付宝支付"
  ],
  "shippingFee": 0,
  "freeShipping": true,
  "areaLimit": false,
  "deal": null,
  "searchTerm": null,
  "shopInput": "https://shop111052165.taobao.com",
  "position": 52,
  "details": true,
  "scrapedAt": "2026-11-16T12:10:58Z"
}
```

#### 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` |
| `shopInput`, `position` | Derived | The shop you gave, and the product's position in the shop's list (`searchTerm` is `null` here) |
| `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 two shops of 100 products each:

```json
{
  "products": 200,
  "completeRows": 200,
  "searchFieldsOnlyRows": 0,
  "leftOutByFilters": 0,
  "taobaoCountPerShop": {
    "111052165": 675,
    "503709453": 1782
  },
  "stoppedSources": [],
  "durationSec": 48
}
```

`taobaoCountPerShop` is Taobao's own count of each shop's products. `leftOutByFilters` were not charged. Set `minItems` to make a short run fail outright.

#### 📝 Notes and limits

- **The shop's own order.** Products come in the order the shop lists them; `position` is each product's place in that list.
- **What the shop lists publicly.** A shop gives the products Taobao lists for it publicly, up to 10,000; `taobaoCountPerShop` gives Taobao's own count, which can be higher.
- **Stock is exact below 200 per variant.** Above that, Taobao shows 200: `stock` is 200, `stockCapped` is true and `stockTotal` is a minimum.
- **Two prices, marked.** `price` is Taobao's yuan price when Taobao shows it (`priceType: yuan`), otherwise Taobao's overseas price, about 2-3% above (`priceType: overseas`).
- **Sales counts and coupon prices (券后价)** are shown to signed-in shoppers only; this actor never logs in.

### What can you do with Taobao shop data?

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

Importers and sourcing agents check a supplier before ordering: what it sells, at which price, and how buyers rate it.

**Recipe:**

1. Paste the supplier's shop link or id, or one of its product links.
2. Read `shopCreditLevel`, `shopOpenedAt`, `shopItemCount` and `shopScores` against their industry.
3. Compare the prices and stock of the products you need.

100 products cost about $0.50.

#### 💸 [Follow a competitor's price list](https://apify.com/sleepmodesystems/taobao-shop-scraper/examples/taobao-competitor-shop-price-list)

Resellers follow a competitor's prices and new products every week.

**Recipe:**

1. Paste the competitor's shop, turn **Product details** off and set **Products per shop** to cover the catalogue.
2. Save it as a task and schedule it weekly.
3. Compare `price` by `itemId` with the previous run; new `itemId`s are new products.

A shop of 1,824 products costs about $1.81.

#### ✅ [Export a brand store's products in stock](https://apify.com/sleepmodesystems/taobao-shop-scraper/examples/tmall-brand-store-in-stock-catalogue)

Brands and marketplace sellers export a Tmall store's catalogue with only what can still be bought.

**Recipe:**

1. Paste the store's shop id and turn on **In stock only**.
2. Export every variant's `price` and `stock` with `titleEn` and `attributes`.
3. Use `soldOutVariants` and `lowStockVariants` to see what is running out.

200 products cost about $1.

### Taobao shop scrapers compared

| | Taobao Shop Scraper | apt_marble | zen-studio (seller) | thenetaji |
|---|---|---|---|---|
| Price per 1,000 products | $4.99, catalogue rows $0.99 | $1.20 | $5.99 + $0.05 a run | $3, + $4.50 details |
| Products a shop | up to 10,000 | 60 | – | – |
| Every variant with price and stock | ✅ | ❌ | ❌ | ❌ |
| Seller credit level and shop scores on every product | ✅ | scores only | scores only | scores only |
| Titles and variant names in English | ✅ | ❌ | ❌ | ❌ |
| 30-day sales per product | ❌ | ❌ | ✅ | ❌ |

### 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-scraper">Taobao & Tmall Scraper</a></td>
<td>📦 <a href="https://apify.com/sleepmodesystems/taobao-product-details-scraper">Taobao Product Details 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 Shop 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-shop-scraper
```

For a client that takes a JSON config:

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

Then ask, for example:

- *"List the 50 cheapest products of this Taobao shop with their stock: https://shop111052165.taobao.com"*
- *"Is this Taobao supplier trustworthy? Show its credit level, shop age and scores against its industry."*
- *"Which products of this Tmall store are nearly sold out?"*

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

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

#### Why agents should choose Taobao Shop Scraper

- **The shop in one call.** Its products with every variant's price and stock, and the seller's record on every row.
- **Fast enough for a chat.** 100 products in about 25 seconds; the run starts in about 0.1 seconds.
- **Any shop input.** Shop links, shop ids, Tmall shop ids, or one of the shop's product links.
- **Errors an agent can act on.** Inputs that are not Taobao shops are listed in the summary with nothing charged.
- **Clear price.** $4.99 per 1,000 complete products (FREE tier), catalogue rows $0.99, no fee per shop.

#### Quick reference for AI agents

- **Actor:** `sleepmodesystems/taobao-shop-scraper`
- **Does:** one dataset row per product of the Taobao or Tmall shops given, prices in Chinese yuan (CNY).
- **Smallest input:** `{"shops": ["111052165"], "maxItems": 20}`.
- **Filters:** `"minPrice"`, `"maxPrice"` (yuan), `"inStockOnly"`; `"freshData"` for a live price and stock check.
- **Cheaper:** `"details": false` returns catalogue rows only at $0.99 per 1,000.
- **Each row has:** `itemId`, `url`, `title`, `titleEn`, `price`, `priceRange`, `inStock`, `stockTotal`, `variants`, `shopName`, `shopCreditLevel`, `shopScores`, `brand`, `attributes`, `position`, `imageUrl`.
- **The run summary** is the `SUMMARY` record in the run's key-value store: products, complete rows, Taobao's own count per shop, left out by filters.

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

#### Does it read every product of a shop?

It reads the products Taobao lists for the shop publicly, up to 10,000, and gives Taobao's own count in `taobaoCountPerShop`, so you can see how much of the shop was listed.

#### Can I sort a shop by price or sales?

Products come in the shop's own order. Use the price range to narrow a shop, or [Taobao & Tmall Scraper](https://apify.com/sleepmodesystems/taobao-scraper) to search with Taobao's best-seller order.

#### Can I get only the products in stock?

Yes. Turn on **In stock only**: products whose every variant is sold out are left out and not charged.

#### How fast is it?

100 products in about 25 seconds, 1,000 in about 3 minutes, a 1,824-product price list in about a minute and a half. A run starts in about 0.1 seconds.

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

Taobao shows coupons and sales only to signed-in shoppers, and this actor never logs in.

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

#### Can I integrate Taobao data with other apps?

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

#### Can I use Taobao Shop 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.

#### Taobao Shop 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 Shop Scraper save you time? A review on its [Apify page](https://apify.com/sleepmodesystems/taobao-shop-scraper) takes a minute and helps other people find it. Thank you!

# Actor input Schema

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

Shop links or ids, one per line: <code>https://shop111052165.taobao.com</code>, <code>111052165</code>, Tmall shops by id, or a product link (that product's shop). Each shop gives its catalogue, up to <i>Products per shop</i>. Up to 100 shops.

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

Stop each shop at this many products, in the shop's own order (up to 10,000).

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

Only products from this price, in yuan: <code>50</code>.

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

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

## `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: catalogue rows only (id, titles, price, image, position in the shop) at $0.99 per 1,000, for a shop's price list.

## `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
{
  "shops": [
    "https://shop111052165.taobao.com",
    "503709453"
  ],
  "maxItems": 100,
  "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 = {
    "shops": [
        "https://shop111052165.taobao.com",
        "503709453"
    ],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("sleepmodesystems/taobao-shop-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://shop111052165.taobao.com",
        "503709453",
    ],
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("sleepmodesystems/taobao-shop-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://shop111052165.taobao.com",
    "503709453"
  ],
  "maxItems": 100
}' |
apify call sleepmodesystems/taobao-shop-scraper --silent --output-dataset

```

## MCP server setup

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