# Taobao Product Details Scraper (`sleepmodesystems/taobao-product-details-scraper`) Actor

\[💰 $4.99 / 1K products] Paste Taobao or Tmall (淘宝 天猫) product links or ids and get complete rows: every variant's price and stock, the yuan price, seller credit and scores, reviews, English titles. Any link shape, agent links too. No account, no proxy. Export JSON, CSV or Excel.

- **URL**: https://apify.com/sleepmodesystems/taobao-product-details-scraper.md
- **Developed by:** [Sleep Mode Systems](https://apify.com/sleepmodesystems) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 6 total users, 3 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 Taobao or Tmall (淘宝 天猫) product links or ids and get each product complete, with every variant's price and stock, the yuan price, the seller's scores and English titles: 20 products in about 10 seconds, 100 in about 45 seconds.

### What can Taobao Product Details Scraper do?

Taobao Product Details Scraper **turns Taobao and Tmall product links or ids into complete rows** (https://www.taobao.com, https://www.tmall.com): paste the links you collected, your clients sent or the Taobao app shared, in any shape, shopping-agent links included, and get every variant (SKU) with its own price, stock and photo, the yuan price, the seller's credit level and shop scores, reviews, attributes and description images, 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>
🧾 **Attributes**, brand, description images <br>
🔤 **Chinese and English** titles and variants

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

🔗 **Any link**: Tmall, mobile, share text, agents <br>
🔄 **Live price and stock check** for trackers <br>
⏰ **Scheduling** for daily price tracking <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 buy for clients, track the products you resell, or build store listings from Taobao products, you can get it all from a single tool.

### What data can I scrape from Taobao products?

One **complete row per product**:

- **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, and, where Taobao shows them publicly, category, ships-from and reviews.

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

> 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 Shop Scraper](https://apify.com/sleepmodesystems/taobao-shop-scraper): a shop's catalogue, up to 10,000 products

### How much will scraping Taobao products cost?

Taobao Product Details 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 Taobao no longer has or links from other sites 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 |
| 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. In the rare case Taobao doesn't show a product's variants during the run, the product is saved with what Taobao showed and charged $0.99 per 1,000 instead.

#### Cost examples

| Scenario | Products | Cost (FREE) | Cost (GOLD) |
|---|---|---|---|
| Try it: 20 product links | 20 | $0.10 | $0.08 |
| A client's sourcing list | 500 | $2.50 | $2.12 |
| 100 products tracked every day for a month | 3,000 | $14.97 | $12.72 |
| A 10,000-link list | 10,000 | $49.90 | $42.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 Product Details Scraper?

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

1. [Create](https://console.apify.com/sign-up) a free Apify account.
2. Open **[Taobao Product Details Scraper](https://console.apify.com/actors/MUqGgf1kdc6vYvWE7)** in Apify Console.
3. Paste your Taobao or Tmall **product links or ids**, one per line, or with **Bulk edit**.
4. Click **Save & Start**: 20 products take about 10 seconds, 100 about 45 seconds.
5. Download the dataset as **JSON, CSV, Excel or XML**, or read it through the Apify API.

### ⬇️ Input

Paste product links or ids: each one gives one complete row, and a product pasted twice is saved once.

<a href="https://console.apify.com/actors/MUqGgf1kdc6vYvWE7/input"><img src="https://raw.githubusercontent.com/sleepmodesystems/actor-readme-images/main/taobao-product-details-scraper/taobao-product-details-scraper-input.png" alt="Taobao Product Details Scraper input form: product links or ids" style="width:100%;"></a>

| Paste this | And you get |
|---|---|
| A product id: `765833709683` | That product, complete |
| A link: 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 link from another marketplace (1688, Weidian, JD) | Listed in the run summary, nothing charged |

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

#### Input fields

| Field | Type | Default | Meaning |
|---|---|---|---|
| Products (ids or links) (`products`) | list | – | Product links of any shape, the app's share text, agent links, or ids |
| 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/MUqGgf1kdc6vYvWE7/input"><img src="https://raw.githubusercontent.com/sleepmodesystems/actor-readme-images/main/taobao-product-details-scraper/taobao-product-details-scraper-output.png" alt="Taobao Product Details 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. 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 product data sample

A Tmall product read by id (lists and long text shortened):

```json
{
  "itemId": "1031838998691",
  "url": "https://detail.tmall.com/item.htm?id=1031838998691",
  "platform": "tmall",
  "title": "【国补至高立减15%】Apple/苹果 AirPods Max 2 头戴式耳机",
  "titleEn": "【National Discount up to 15% Off】Apple/Apple AirPods Max 2 Over-Ear Headphones",
  "imageUrl": "https://img.alicdn.com/bao/uploaded/i4/2212471406095/O1CN01JriJvJhu0ZB1chua_!!2212471406095.jpg",
  "images": [
    "https://img.alicdn.com/bao/uploaded/i4/2212471406095/O1CN01JriJvJhu0ZB1chua_!!2212471406095.jpg",
    "https://img.alicdn.com/bao/uploaded/i3/2212471406095/O1CN018F9Ibi1utZ9JSIhmj_!!2212471406095.jpg"
  ],
  "price": 3999,
  "originalPrice": null,
  "priceRange": {
    "min": 4118.87,
    "max": 4118.87
  },
  "currency": "CNY",
  "priceType": "yuan",
  "discountLabel": "0",
  "inStock": true,
  "stockTotal": 278,
  "stockCapped": false,
  "soldOutVariants": 0,
  "lowStockVariants": 1,
  "variantCount": 5,
  "variantOptions": [
    {
      "name": "套餐类型",
      "nameEn": "Package Type",
      "values": [
        {
          "id": "6536025",
          "name": "官方标配 拆封不支持7天无理由",
          "nameEn": "Official Standard Configuration. Unboxing Does Not Support 7 Days Without Any Reason",
          "imageUrl": null
        }
      ]
    }
  ],
  "variants": [
    {
      "skuId": "6046065444247",
      "name": "套餐类型:官方标配 拆封不支持7天无理由;颜色分类:午夜色",
      "nameEn": "Package Type:Official Standard Configuration. Unboxing Does Not Support 7 Days Without Any Reason;Color Classification:Midnight Color",
      "properties": "5919063:6536025;1627207:440480361",
      "price": 4118.87,
      "originalPrice": null,
      "stock": 49,
      "stockCapped": false,
      "imageUrl": "https://img.alicdn.com/bao/uploaded/i2/2212471406095/O1CN01RDwHkq1utZ9IqGcbA_!!2212471406095.jpg"
    },
    {
      "skuId": "6046065444248",
      "name": "套餐类型:官方标配 拆封不支持7天无理由;颜色分类:星光色",
      "nameEn": "Package Type:Official Standard Configuration. Unboxing Does Not Support 7 Days Without Any Reason;Color Classification:Starlight Color",
      "properties": "5919063:6536025;1627207:549202538",
      "price": 4118.87,
      "originalPrice": null,
      "stock": 170,
      "stockCapped": false,
      "imageUrl": "https://img.alicdn.com/bao/uploaded/i2/2212471406095/O1CN01iT8XMp1utZ9JROU4g_!!2212471406095.jpg"
    }
  ],
  "shopId": "319166369",
  "shopName": "天猫校园教育官方旗舰店",
  "sellerId": "2212471406095",
  "sellerType": "B",
  "shopUrl": "https://shop319166369.taobao.com",
  "shopLogo": "https://img.alicdn.com/imgextra/i3/6000000004709/O1CN019gUoLx1kelpaliA3K_!!6000000004709-2-shopmanager.png",
  "shopCreditLevel": 13,
  "shopOpenedAt": "2021-09-07",
  "shopItemCount": 79,
  "shopNewItemCount": 1000,
  "shopScores": {
    "description": 4.7,
    "service": 4.7,
    "delivery": 4.8,
    "descriptionVsIndustry": "lower",
    "serviceVsIndustry": "lower",
    "deliveryVsIndustry": "lower"
  },
  "location": "浙江杭州",
  "reviewCountText": "200+",
  "reviewCount": 200,
  "positiveRate": null,
  "neutralRate": null,
  "negativeRate": null,
  "positiveReviewCountText": null,
  "positiveReviewCount": null,
  "negativeReviewCountText": null,
  "negativeReviewCount": null,
  "reviewTags": [
    {
      "tag": "物流速度很快",
      "count": 12
    },
    {
      "tag": "外形外观好看",
      "count": 25
    },
    {
      "tag": "价格很低",
      "count": 17
    }
  ],
  "latestReview": {
    "rating": 5,
    "text": "价格确实贵，但做工也很好，降噪效果也比pro强，就是上面的网格担忧他的耐久度。双十一很实惠，发货也很快。",
    "date": "2026.10.27 22:29",
    "variant": "套餐类型:官方标配[拆封不支持7天无理由];颜色分类:蓝色"
  },
  "brand": "Apple/Apple",
  "attributes": [
    {
      "name": "Model",
      "value": "AirPods Max (2Nd Generation)"
    },
    {
      "name": "Package Type",
      "value": "Official Standard"
    },
    {
      "name": "Color Classification",
      "value": "Blue"
    },
    {
      "name": "Color Classification",
      "value": "Orange"
    }
  ],
  "minOrderQuantity": null,
  "sellableLanguages": null,
  "categoryId": "50005050",
  "rootCategoryId": "50011972",
  "categoryPath": [
    "影音视听",
    "耳机耳放",
    "耳机"
  ],
  "descriptionImages": [
    "https://img.alicdn.com/imgextra/i2/2212471406095/O1CN018xMxeZ1utZB83984W_!!2212471406095.jpg",
    "https://img.alicdn.com/imgextra/i2/2212471406095/O1CN01ppQtpo1utZ59tdNm7_!!2212471406095.png"
  ],
  "sellingPoints": null,
  "paymentMethods": [
    "蚂蚁花呗",
    "信用卡支付",
    "集分宝"
  ],
  "shippingFee": 0,
  "freeShipping": true,
  "areaLimit": false,
  "deal": null,
  "searchTerm": null,
  "shopInput": null,
  "position": null,
  "details": true,
  "scrapedAt": "2026-11-16T08:46:00Z"
}
```

#### 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 | Filled on rows found by a search or a shop in [Taobao & Tmall Scraper](https://apify.com/sleepmodesystems/taobao-scraper); `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 a list of 100 product ids:

```json
{
  "products": 100,
  "completeRows": 100,
  "rowsWithOverseasPrice": 68,
  "productIdsNotOnTaobao": [],
  "productsToRunAgain": [],
  "inputsThatNeedALogin": [],
  "durationSec": 47
}
```

`productIdsNotOnTaobao` lists ids Taobao no longer has, and `productsToRunAgain` products Taobao did not answer for this time: neither is charged. `rowsWithOverseasPrice` counts rows priced with Taobao's overseas price (`priceType: overseas`). 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`).
- **Sales counts and coupon prices (券后价)** are shown to signed-in shoppers only; this actor never logs in.
- **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`.
- **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 product data?

#### 🧾 [Turn client links into a sheet](https://apify.com/sleepmodesystems/taobao-product-details-scraper/examples/taobao-links-to-spreadsheet-buying-agents)

Buying agents and resellers answer client requests in one run: the links clients send become a sheet with every variant's price and stock and the seller's record.

**Recipe:**

1. Paste the client's links in **Products**, in whatever shape they came, the app's share text and agent links included.
2. Export the dataset to CSV or Excel: one row per product, with `variants`, `priceRange`, `stockTotal` and the seller's fields.
3. Links that are not Taobao products are listed in the run summary and not charged, so the sheet shows what to ask the client again.

5 products cost about $0.03.

#### 📦 [Track the stock of every variant](https://apify.com/sleepmodesystems/taobao-product-details-scraper/examples/taobao-variant-stock-tracker)

Resellers follow the products they sell: a sold-out color or size on Taobao costs them an order.

**Recipe:**

1. Paste your products 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 each variant's `stock` and `price` by `skuId` with the previous day; `soldOutVariants` and `lowStockVariants` flag what to act on.

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

#### 🛍️ [Build store listings from Taobao products](https://apify.com/sleepmodesystems/taobao-product-details-scraper/examples/taobao-product-data-for-store-listings)

Shopify, Amazon and TikTok Shop sellers turn the products they import into listings without retyping them.

**Recipe:**

1. Paste the products you will sell.
2. Take `titleEn`, `images`, `variantOptions` with their photos, `variants` with their prices, `attributes` and `descriptionImages` for the listing.
3. Use `stock` per variant to list only what can be bought.

5 products cost about $0.03.

### Taobao product scrapers compared

| | Taobao Product Details Scraper | zen-studio (detail) | pizani |
|---|---|---|---|
| Price per 1,000 products | $4.99 | $9.99 | $4.99 |
| Time per product | 0.4-0.6 s | 3.1 s | one product a run |
| Many products in one run | ✅ | ✅ | ❌ |
| Every variant with its price | ✅ | ✅ | ✅ |
| Stock per variant, sold-out variants | ✅ | ❌ | ❌ |
| Seller credit and shop scores | ✅ | ❌ | ❌ |
| Titles and variant names in English | ✅ | ❌ | title only |
| Sales counts | ❌ | ✅ | ❌ |

### 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-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 Product Details 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-product-details-scraper
```

For a client that takes a JSON config:

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

Then ask, for example:

- *"Here are 10 Taobao links: give me a table with price, stock of each color and the seller's credit level."*
- *"Is this Tmall product still in stock in every size? https://detail.tmall.com/item.htm?id=1079352038299"*
- *"Translate these three Taobao products' titles and options and list their prices in yuan."*

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

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

#### Why agents should choose Taobao Product Details Scraper

- **Complete in one call.** Every variant with its price and stock, the seller's scores, attributes and photos, in Chinese and English.
- **Fast enough for a chat.** 20 products in about 10 seconds; the run starts in about 0.1 seconds.
- **Any link shape.** Taobao, Tmall, Tmall HK, mobile links, the app's share text, shopping-agent links, or the bare id.
- **Errors an agent can act on.** Products Taobao no longer has, and links from other sites, are listed in the summary with nothing charged.
- **Clear price.** $4.99 per 1,000 products (FREE tier), everything included.

#### Quick reference for AI agents

- **Actor:** `sleepmodesystems/taobao-product-details-scraper`
- **Does:** one complete dataset row per Taobao or Tmall product link or id, prices in Chinese yuan (CNY).
- **Smallest input:** `{"products": ["765833709683"]}`.
- **Live check:** `"freshData": true` checks each product's price and stock right before saving it.
- **Each row has:** `itemId`, `url`, `platform`, `title`, `titleEn`, `price`, `originalPrice`, `priceRange`, `inStock`, `stockTotal`, `soldOutVariants`, `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.
- **The run summary** is the `SUMMARY` record in the run's key-value store: products, complete rows, 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.

#### 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 listed in the summary, with nothing charged.

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

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

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

#### How fast is it?

20 products in about 10 seconds, 100 in about 45 seconds. A run starts in about 0.1 seconds.

#### Can I search Taobao or read a whole shop?

Use [Taobao & Tmall Scraper](https://apify.com/sleepmodesystems/taobao-scraper) to search by keyword, or [Taobao Shop Scraper](https://apify.com/sleepmodesystems/taobao-shop-scraper) for a shop's catalogue, with the same complete rows.

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

# Actor input Schema

## `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, the app's <code>m.tb.cn</code> share text, and shopping-agent links (CNFans, Mulebuy, Hoobuy, KakoBuy…). One complete row each. Up to 10,000.

## `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
{
  "products": [
    "https://item.taobao.com/item.htm?id=765833709683",
    "1079352038299"
  ],
  "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 = {
    "products": [
        "https://item.taobao.com/item.htm?id=765833709683",
        "1079352038299"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("sleepmodesystems/taobao-product-details-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 = { "products": [
        "https://item.taobao.com/item.htm?id=765833709683",
        "1079352038299",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("sleepmodesystems/taobao-product-details-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 '{
  "products": [
    "https://item.taobao.com/item.htm?id=765833709683",
    "1079352038299"
  ]
}' |
apify call sleepmodesystems/taobao-product-details-scraper --silent --output-dataset

```

## MCP server setup

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