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

The Taobao Product Details Scraper turns Taobao and Tmall (淘宝/天猫) links, share links or item ids into full product data in English: every variant (SKU) with its CNY and USD price, stock and photo, plus shop, photos and description images. Ideal for Taobao agents and dropshipping.

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

## Pricing

from $5.00 / 1,000 product with variants

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### 🛒 Taobao Product Details Scraper: Every SKU, Price and Stock from Taobao and Tmall in English

Paste **Taobao or Tmall (淘宝/天猫)** product links, share links or item ids and get one clean row per product. The **Taobao Product Details Scraper** returns the title in English (or the original Chinese), the listed price in Chinese yuan and US dollars, the shop name, all photos, the description images and every variant (SKU) with its own price, stock and photo. It works as a Taobao product API for Taobao agents, dropshipping stores and anyone who needs Taobao data in English.

### 🎯 Use Cases

- **Taobao in English**: read any Taobao or Tmall product with English titles, English variant names and USD prices next to the yuan price.
- **Taobao link converter**: turn share links and share texts copied from the Taobao app (`【淘宝】… https://e.tb.cn/…`) into a product link, item id and full product data.
- **Taobao agent and shopping-agent workflows**: get every variant's price, stock and photo for the products your customers send you.
- **Taobao dropshipping**: import variants, photos and description images into your store, and refresh stock and prices on a schedule.
- **Taobao price and stock tracking**: re-run the same item list daily and compare variant prices and stock.

### ✨ Features

- **Every variant (SKU)**: variant id, name (`Color: White / Size: M`), properties, listed price in CNY and USD, stock and photo, in one `skus` array per product.
- **English or Chinese**: English translations of titles and variant names, or the original Chinese.
- **Any link format**: item.taobao.com, detail.tmall.com, mobile `m.` and `h5.` links, world.taobao.com links, share links and whole share texts, or bare numeric item ids.
- **Shop and media**: shop name and id, main image, all product photos and the images from the product description, plus the description HTML.
- **Order fields**: minimum order quantity and the domestic shipping fee inside China.
- **No duplicates**: the same product pasted twice is saved and billed once.
- **Fair billing**: products removed from Taobao and links that cannot be read are never billed; the status message lists them.

### 🛠️ How It Works

1. **Paste product links, share links or item ids**, one per line.
2. **Pick English or Chinese** titles.
3. **Run the scraper** and download the products as JSON, CSV or Excel, or use the **Variants** view for one row per SKU.

### ⚙️ Input

| Field                         | What it does                                                                                                                    |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| **Product links or item ids** | Taobao or Tmall product links, mobile links, share links or share texts from the Taobao app, or numeric item ids, one per line. |
| **Titles in**                 | English (default) or the original Chinese.                                                                                      |
| **Max products**              | Optional: stop after this many products. Empty = every product in the list.                                                     |

```json
{
    "items": [
        "https://item.taobao.com/item.htm?id=730344766230",
        "https://detail.tmall.com/item.htm?id=996833066479",
        "666640816810"
    ],
    "language": "en"
}
```

### 💰 Pricing

Pay only for the products you get.

| Event                     | Price                                | What you get                                                                       |
| ------------------------- | ------------------------------------ | ---------------------------------------------------------------------------------- |
| **Product with variants** | $0.005 per product ($5.00 per 1,000) | One product with every variant, prices, stock, shop, photos and description images |
| **Actor start**           | $0.00005 per run                     | Charged once when the run starts.                                                  |

Examples: 10 products = $0.05 · 100 products = $0.50 · 1,000 products = $5.00. Removed products and unreadable links are free.

### 📊 Sample Output Data

A row for item `730344766230` in English (arrays and the description shortened):

```json
{
    "itemId": "730344766230",
    "url": "https://item.taobao.com/item.htm?id=730344766230",
    "id": "0000lk34ogm5kB4lNbOHEhfVPeqhdQ5md8x0CIYG7IEGzAw",
    "title": "Nongfu Spring Pure Water 550ml, Whole Box of 24 Bottles, Small Bottles for Meetings, Natural Drinking Water, Not Mineral Water",
    "shopName": "优送网",
    "shopId": "tL3HYIb8qomOu2LgxAImolmG",
    "price": 26.22,
    "priceUsd": 4.65,
    "minOrderQuantity": 1,
    "domesticShippingFeeCny": 3,
    "image": "https://img.alicdn.com/bao/uploaded/i3/393647717/O1CN01MpNlgy26sRW0tsXf1_!!393647717.jpg",
    "images": [
        "https://img.alicdn.com/bao/uploaded/i1/393647717/O1CN01QLr25T26sRUOXhqUW_!!393647717.jpg",
        "https://img.alicdn.com/bao/uploaded/i1/393647717/O1CN01nytApK26sRUNIM9bj_!!393647717.jpg"
    ],
    "descriptionImages": [
        "https://img.alicdn.com/imgextra/i1/393647717/O1CN01KUhLOJ26sROSaJrAL_!!393647717.jpg",
        "https://img.alicdn.com/imgextra/i4/393647717/O1CN01bupWP426sROV55zeY_!!393647717.jpg"
    ],
    "descriptionHtml": "<div style=\"width: 750.0px;height: auto;overflow: hidden;\"><div style=\"width: 750.0px;height: auto;overflow: hidden;\"><i…",
    "skuCount": 3,
    "totalStock": 600,
    "skus": [
        {
            "skuId": "5949740071484",
            "price": 26.22,
            "priceUsd": 4.65,
            "stock": 200,
            "available": true,
            "name": "Product Specifications: Product Specifications",
            "properties": [
                {
                    "name": "Product Specifications",
                    "value": "Product Specifications"
                }
            ],
            "image": "https://img.alicdn.com/bao/uploaded/i3/393647717/O1CN014ElebZ26sRUzh9gvg_!!393647717.jpg"
        },
        {
            "skuId": "5998012982879",
            "price": 30.19,
            "priceUsd": 5.35,
            "stock": 200,
            "available": true,
            "name": "Product Specifications: Natural Water 380ml*12 Bottles*2 Packs",
            "properties": [
                {
                    "name": "Product Specifications",
                    "value": "Natural Water 380ml*12 Bottles*2 Packs"
                }
            ],
            "image": "https://img.alicdn.com/bao/uploaded/i4/393647717/O1CN01doRFqA26sRV9xPHeT_!!393647717.jpg"
        }
    ],
    "input": "730344766230",
    "scrapedAt": "2026-10-29T14:05:14.318Z"
}
```

`price` is the listed price in Chinese yuan (CNY) and `priceUsd` the same price in US dollars; each variant in `skus` has its own. `itemId` is Taobao's numeric item id when you pasted a link or numeric id, and `id` is the encrypted item id that also works as input. Each variant's `stock` is shown up to 200, so `totalStock` is a lower bound for products with large stock. `domesticShippingFeeCny` is the seller's shipping fee inside China.

### 🔁 Schedule and Integrate

For price and stock tracking, run the same item list **once a day**: each run is a dated snapshot of every variant's price and stock. Set it up in Apify **Schedules**, and send new rows to **Google Sheets**, **Zapier**, **Make**, **n8n** or a webhook with Apify **integrations**.

### 🤖 Use with AI Agents (MCP)

This Actor works as a tool in Claude, ChatGPT, Cursor and other MCP clients through the Apify MCP server (`https://mcp.apify.com`). An agent can call it with:

```json
{ "items": ["https://item.taobao.com/item.htm?id=730344766230"] }
```

### ❓ FAQ

**Does Taobao have an official API?** Taobao's open platform (淘宝开放平台) is for approved partners with a registered app and a Chinese business account, and its item APIs need approval. This Actor needs no key, account or approval and returns the product data a shopper sees, with every variant.

**Can I read Taobao in English?** Yes. Titles and variant names come translated to English by default, and every price is given in CNY and USD. Switch **Titles in** to Chinese for the original text.

**Do share links from the Taobao app work?** Yes. Paste the link (`https://e.tb.cn/h.…`) or the whole share text; the Actor finds the product. A share link that points to a removed product is listed in the status message and not charged.

**Do I need a Taobao account?** No. No login, cookies or Chinese phone number.

**Why is a field empty?** `itemId` is empty when you pasted an encrypted id. Some products have a single variant, no description images or no shipping fee. Removed products give no row at all.

**Does it give sales counts or reviews?** No. Rows carry price, variants, stock, shop, photos and the description; sales counts and reviews are not included.

**What is the stock limit?** Each variant's stock is shown up to 200 units.

### 🔗 Related Scrapers

- [Taobao Products Scraper](https://apify.com/piotrv1001/taobao-products-scraper): search Taobao by keyword in English or Chinese, then feed the ids here.
- [JD.com Product Scraper](https://apify.com/piotrv1001/jd-com-product-scraper): the same product data for JD.com (京东) items.
- [1688 Product Details Scraper](https://apify.com/piotrv1001/1688-product-details-scraper): wholesale prices and variants from 1688 for the same products.
- [AliExpress Product Details Scraper](https://apify.com/piotrv1001/aliexpress-product-details-scraper): compare with AliExpress product pages.
- [Alibaba Product Details Scraper](https://apify.com/piotrv1001/alibaba-product-details-scraper): wholesale product pages from Alibaba.com.

# Actor input Schema

## `items` (type: `array`):

Taobao or Tmall product links (`https://item.taobao.com/item.htm?id=730344766230`, `https://detail.tmall.com/item.htm?id=996833066479`, mobile `m.` and `h5.` links), share links or the whole share text copied from the Taobao app (`【淘宝】… https://e.tb.cn/h.…`), or bare numeric item ids, one per line. Duplicates are fetched once.

## `language` (type: `string`):

English translations of titles and variant names, or the original Chinese. Prices come in CNY and USD either way.

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

Stop after this many products. Leave empty to get every product in the list. Your maximum charge per run also caps the run.

## Actor input object example

```json
{
  "items": [
    "https://detail.tmall.com/item.htm?id=996833066479",
    "666640816810"
  ],
  "language": "en"
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `variants` (type: `string`):

No description

## `results` (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 = {
    "items": [
        "https://detail.tmall.com/item.htm?id=996833066479",
        "666640816810"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/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 = { "items": [
        "https://detail.tmall.com/item.htm?id=996833066479",
        "666640816810",
    ] }

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

```

## MCP server setup

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