# Taobao Products Scraper (`piotrv1001/taobao-products-scraper`) Actor

The Taobao Products Scraper searches Taobao and Tmall (淘宝/天猫) by keyword in English or Chinese and returns products with English titles, listed price in CNY and USD, image and link, plus optional variants (SKUs) with price, stock and shop. Ideal for Taobao sourcing and price research.

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

## Pricing

from $2.00 / 1,000 products

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

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

## What's an Apify Actor?

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

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

## How to integrate an Actor?

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

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

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

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

# README

### 🛒 Taobao Products Scraper: Taobao Search in English with CNY and USD Prices

Search **Taobao and Tmall (淘宝/天猫)** by keyword and get a clean table of products. The **Taobao Products Scraper** returns each product's title in English (or the original Chinese), its listed price in Chinese yuan and US dollars, the main image, a product link and its rank in the results. Turn on one switch and every row also gets all its variants (SKUs) with their own price, stock and photo, plus the shop name and all product photos. It works as a simple Taobao API for product data, for Taobao sourcing, dropshipping research and Taobao price tracking.

### 🎯 Use Cases

- **Taobao in English**: search Taobao with English or Chinese keywords and read the results with English titles and USD prices next to the yuan price.
- **Taobao sourcing and wholesale research**: compare prices across hundreds of listings for `蓝牙耳机` or `phone case` before you order through a Taobao agent.
- **Taobao dropshipping**: pick products by price band, then load every variant with its stock and photo for your store listings.
- **Taobao price tracking**: run the same keywords daily and keep a dated record of Taobao prices per product.
- **China market research**: size a category by price range and see which shops sell it.

### ✨ Features

- **English or Chinese titles**: English translations of titles and variant names, or the original Chinese. Prices come in both CNY and USD either way.
- **Up to 20,000 products per keyword**: 20 per page, up to 1,000 pages, read several pages at a time.
- **Price range and sort**: set a min and max price in yuan, and sort by best match or price.
- **Paste a Taobao search address**: `https://s.taobao.com/search?q=手机壳&page=3` keeps its keyword and starts at its page.
- **Every variant (SKU)**: with **Add every variant (SKU)** on, each product gets its variants (color, size and so on) with price, stock and image, plus shop name, all photos and the description images.
- **No duplicates**: a product that shows up on several pages or under several keywords is saved and billed once.
- **Fair billing**: removed products and pages that could not be read are never billed, and a variant charge is only made for products that got their variants.

### 🛠️ How It Works

1. **Type keywords** in English or Chinese, or paste Taobao search addresses, one per line.
2. **Set Max products per keyword** (default 50), an optional price range and sort, and turn on **Add every variant (SKU)** if you need variants and stock.
3. **Run the scraper** and download the products as JSON, CSV or Excel, or read them through the Apify API.

### ⚙️ Input

| Field                           | What it does                                                                                                                            |
| ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| **Keywords**                    | What you would type in Taobao's search box (`phone case`, `蓝牙耳机`, `连衣裙`), or a Taobao search address. An address keeps its page. |
| **Max products per keyword**    | How many products to save per keyword. Default 50.                                                                                      |
| **Sort by**                     | Best match, price low to high, or price high to low.                                                                                    |
| **Min price / Max price (CNY)** | Only products in this listed price range, in Chinese yuan.                                                                              |
| **Titles in**                   | English (default) or the original Chinese.                                                                                              |
| **Add every variant (SKU)**     | Loads each product's variants with price, stock and photo, plus shop name and all photos. Off by default.                               |

```json
{
    "keywords": ["蓝牙耳机", "phone case"],
    "maxItems": 200,
    "sort": "price_asc",
    "minPrice": 20,
    "maxPrice": 300,
    "language": "en",
    "scrapeDetails": true
}
```

### 💰 Pricing

Pay only for the products you get.

| Event                       | Price                                | What you get                                                                                                                                                           |
| --------------------------- | ------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Product**                 | $0.002 per product ($2.00 per 1,000) | One search result with title, CNY and USD price, image, link and rank                                                                                                  |
| **Product variants (SKUs)** | $0.003 per product ($3.00 per 1,000) | Every variant with price, stock and photo, plus shop name and photos, added to the product. Only with **Add every variant (SKU)** on, only for products that got them. |
| **Actor start**             | $0.00005 per run                     | Charged once when the run starts.                                                                                                                                      |

Examples: 50 products = $0.10 · 1,000 products = $2.00 · 1,000 products with every variant = $5.00.

### 📊 Sample Output Data

A row from a `连衣裙` (dress) run with **Add every variant (SKU)** on (arrays and the description shortened):

```json
{
    "id": "0000Oi_FH4Eo-ttWT3Fr70zYk9MMnnxY-Wx_bK-FbrNcv1U",
    "url": "https://item.taobao.com/item.htm?id=&mi_id=0000Oi_FH4Eo-ttWT3Fr70zYk9MMnnxY-Wx_bK-FbrNcv1U",
    "title": "Alo｜Women's Airbrush Splendor Slim Fit Sporty Casual Stretchy Strap Dress",
    "image": "https://img.alicdn.com/bao/uploaded/i1/2222721114226/O1CN015d9flTkRPVI2vHAO_!!4611686018427379826-0-item_pic.jpg",
    "price": 1106.15,
    "priceUsd": 195.9,
    "searchQuery": "连衣裙",
    "page": 1,
    "position": 1,
    "detailsScraped": true,
    "scrapedAt": "2026-10-29T14:05:24.536Z",
    "shopName": "ALO官方旗舰店",
    "shopId": "b6ScE2HKExDhInhjqy2Mt2d2",
    "minOrderQuantity": 1,
    "domesticShippingFeeCny": 0,
    "images": [
        "https://img.alicdn.com/bao/uploaded/i4/2222721114226/O1CN01uvhExsEFxnD2vHAO_!!2222721114226.jpg",
        "https://img.alicdn.com/bao/uploaded/i2/2222721114226/O1CN01sb4Yl8Rb8AC2vHAO_!!2222721114226.jpg"
    ],
    "descriptionImages": [
        "https://img.alicdn.com/imgextra/i3/2222721114226/O1CN01b9ZZ5hhJtIC1bRlQ_!!2222721114226.jpg",
        "https://img.alicdn.com/imgextra/i2/2222721114226/O1CN01PmoN7Q8J2vB1bRll_!!2222721114226.jpg"
    ],
    "descriptionHtml": "<div style=\"width: 750.0px;height: auto;overflow: hidden;\"><div style=\"width: 750.0px;height: auto;o…",
    "skuCount": 10,
    "totalStock": 50,
    "skus": [
        {
            "skuId": "6282185162760",
            "price": 1106.15,
            "priceUsd": 195.9,
            "stock": 1,
            "available": true,
            "name": "Color Classification: Classic White / Size: XXS",
            "properties": [
                {
                    "name": "Color Classification",
                    "value": "Classic White"
                },
                {
                    "name": "Size",
                    "value": "XXS"
                }
            ],
            "image": "https://img.alicdn.com/bao/uploaded/i2/2222721114226/O1CN019EqymkmpvCL1chua_!!2222721114226.jpg"
        },
        {
            "skuId": "6282185162761",
            "price": 1106.15,
            "priceUsd": 195.9,
            "stock": 0,
            "available": true,
            "name": "Color Classification: Classic White / Size: Xs.",
            "properties": [
                {
                    "name": "Color Classification",
                    "value": "Classic White"
                },
                {
                    "name": "Size",
                    "value": "Xs."
                }
            ],
            "image": "https://img.alicdn.com/bao/uploaded/i2/2222721114226/O1CN019EqymkmpvCL1chua_!!2222721114226.jpg"
        }
    ]
}
```

`price` is the listed price in Chinese yuan (CNY) and `priceUsd` the same price in US dollars. `id` is Taobao's encrypted item id: paste it into the [Taobao Product Details Scraper](https://apify.com/piotrv1001/taobao-product-details-scraper) to refresh the product later. `position` is the rank in the results for `searchQuery`. The fields from `shopName` on are there only when **Add every variant (SKU)** is on; each variant's `stock` is shown up to 200.

### 🔁 Schedule and Integrate

For Taobao price tracking, run the same keywords **once a day**: each run is a dated price snapshot, and together they form your price history. 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
{ "keywords": ["蓝牙耳机"], "maxItems": 20 }
```

### ❓ FAQ

**Does Taobao have an official API?** Taobao's open platform (淘宝开放平台) is for approved partners with a registered app and a Chinese business account. This Actor needs no key, account or approval and returns the product data a shopper sees: title, price, image, variants and stock.

**Can I search Taobao in English?** Yes. Type English keywords (`phone case`, `bluetooth earphones`) and get English titles and USD prices next to the yuan price. Chinese keywords (`手机壳`, `蓝牙耳机`) match the way Taobao shoppers search and often give the widest results.

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

**Which price is shown?** The listed price of the product, in CNY, plus the same price in USD. Coupons, member prices and checkout discounts are not included. With variants on, each variant has its own listed price.

**Why is a field empty?** `priceUsd` can be missing for a few listings; `shopName`, `skus` and the photo lists are filled only when **Add every variant (SKU)** is on. Some listings have one variant only.

**Does it give sales counts or reviews?** No, search rows carry title, price, image, link and rank; variants add stock, shop and photos. Sales counts and reviews are not included.

**How do I track Taobao prices over time?** Schedule this Actor daily with the same keywords, keep each run's dataset (or append it to a Google Sheet), and compare `price` by `id`.

### 🔗 Related Scrapers

- [Taobao Product Details Scraper](https://apify.com/piotrv1001/taobao-product-details-scraper): full product data with every variant for Taobao and Tmall links, share links or item ids.
- [JD Search Scraper](https://apify.com/piotrv1001/jd-search-scraper): the same research on JD.com (京东) search results.
- [1688 Image Search Scraper](https://apify.com/piotrv1001/1688-image-search-scraper): find wholesale suppliers for a product photo on 1688.
- [AliExpress Listings Scraper](https://apify.com/piotrv1001/aliexpress-listings-scraper): compare Taobao prices with AliExpress listings.
- [Alibaba Listings Scraper](https://apify.com/piotrv1001/alibaba-listings-scraper): wholesale prices and suppliers for the products you source.

# Actor input Schema

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

What you would type in Taobao's search box, in English or Chinese (`phone case`, `蓝牙耳机`, `连衣裙`), one per line. You can also paste a Taobao search address (`https://s.taobao.com/search?q=手机壳&page=3`): its keyword and page are kept.

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

Stop each keyword after this many products (up to about 20,000). Your maximum charge per run also caps the run.

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

Order of the results.

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

Only products from this listed price in Chinese yuan.

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

Only products up to this listed price in Chinese yuan.

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

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

## `scrapeDetails` (type: `boolean`):

Also load each product's variants (color, size and so on) with their own price, stock and photo, plus the shop name, all photos and the description images. Billed as an extra event per product that has them; slower.

## Actor input object example

```json
{
  "keywords": [
    "phone case"
  ],
  "maxItems": 50,
  "sort": "relevance",
  "language": "en",
  "scrapeDetails": false
}
```

# Actor output Schema

## `overview` (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 = {
    "keywords": [
        "phone case"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/taobao-products-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "keywords": ["phone case"] }

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/taobao-products-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": [
    "phone case"
  ]
}' |
apify call piotrv1001/taobao-products-scraper --silent --output-dataset

```

## MCP server setup

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