# Taobao & Tmall Scraper - Products, Prices, Shops (`pshivam/taobao-tmall-scraper`) Actor

Scrape Taobao and Tmall without login: products by search text, category or shop with prices in yuan, NT$, HK$ and US$, shop scores, brands, images and English titles. Thousands of products per search. Export to Excel, CSV or API.

- **URL**: https://apify.com/pshivam/taobao-tmall-scraper.md
- **Developed by:** [Shivam Prajapati](https://apify.com/pshivam) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.05 / 1,000 records

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

## Taobao & Tmall Scraper - Products, Prices, Shops

**Get Taobao and Tmall products as clean rows: search results, categories and shops with prices in yuan, NT$, HK$ and US$, shop scores, brands and pictures. No login, no API key.** Thousands of products per search, not just the first page. Export to Excel, CSV, JSON or the API.

**Actively maintained.** Last update: 2026-11-13. Every release passes 70+ automated tests on real saved Taobao pages.

### What can you use it for?

- **Find suppliers and products to sell.** Search any product in Chinese or English and get the title, price, picture, shop and shop scores of thousands of listings. Sort them by price in a spreadsheet.
- **Track prices.** Schedule the same search or shop daily with `onlyNew` and see new products and new promotions as they appear.
- **Watch competitors and brands.** Read a whole shop or a brand's listings: prices, promotions, shop scores, credit level and how long the shop has been open.
- **Research a market.** See how many products a search holds, which brands sell in it, which materials and styles Taobao lists, and where the sellers ship from.
- **Build a catalogue.** English titles, all pictures and the description pictures of each product, ready for your own store or your own tools.
- **Check whether a seller is Tmall.** `isTmall` tells a brand store from a marketplace seller.

### What data can you get?

Choose what to read with `searchQueries` and `startUrls`. Every row is one product.

| You give | You get |
|---|---|
| `searchQueries`: a search text such as `手机壳` or `phone case` | The products of that search: the first page, then every sorted and filtered version of it until `maxItemsPerSearch` is reached |
| `startUrls`: a shop link (`world.taobao.com/dianpu/...`) | The shop's products (60 per page, in four sort orders) with the shop's scores |
| `startUrls`: a category link (`world.taobao.com/category/...`) | The category's products in five orders |
| `startUrls`: a product link (`world.taobao.com/item/...`) | That product with all product page details |

#### Fields

Rows hold every field. A field that Taobao does not show for a product is `null`. Fields marked "with product page details" fill in when `includeDetails` is on or the input is a product link.

##### Product

| Field | What it is |
|---|---|
| `itemId` | Taobao's product number. |
| `title` | The product title in Chinese, as the listing shows it. |
| `titleEnglish` | The full English title (with product page details). |
| `url` | The product page on world.taobao.com. |
| `imageUrl` | The main picture. |
| `images` | All product pictures (with product page details), else the main picture. |
| `price` | The price in yuan (CNY) after the promotion the listing shows. |
| `originalPrice` | The price in yuan before the promotion, when the product page shows a higher one (with product page details). |
| `discountLabel` | The promotion Taobao names, for example 超級立減活動價 (super discount) or 新品促銷 (new product sale). |
| `currency` | The currency of price and originalPrice: CNY. |
| `priceTwd` | The price in New Taiwan dollars, as Taobao converts it. |
| `priceHkd` | The price in Hong Kong dollars, as Taobao converts it. |
| `priceUsd` | The price in US dollars before promotions, from the English product page (with product page details). |
| `priceUsdAfterPromotions` | The price in US dollars after the promotions the English product page applies, often lower for overseas buyers (with product page details). |
| `freeShipping` | True when the product ships free. |
| `isTmall` | True for a Tmall (brand store) product, false for a Taobao (marketplace) product (with product page details). |
| `location` | Where the seller ships from, for example 广东东莞 (with product page details). |
| `brand` | The brand, when the product was found through that brand's filter. |
| `categoryId` | Taobao's category number of the product. |
| `rootCategoryId` | The number of the top category. |
| `categoryPath` | The category names from the top down, in Chinese (with product page details). |
| `categoryPathEnglish` | The category names from the top down, in English (with product page details). |

##### Shop

| Field | What it is |
|---|---|
| `shopId` | Taobao's shop number. |
| `shopName` | The shop's name. |
| `shopUrl` | The shop's page on world.taobao.com. |
| `sellerId` | The seller's account number. |
| `descriptionScore` | How well the product matches its description according to buyers, 1 to 5. |
| `shopDescriptionScore` | The shop's score for descriptions matching the goods, 1 to 5. Shop pages and product page details have it. |
| `shopShippingScore` | The shop's logistics score, 1 to 5. Shop pages and product page details have it. |
| `shopServiceScore` | The shop's customer service score, 1 to 5. Shop pages and product page details have it. |
| `shopCreditLevel` | The shop's credit level as Taobao counts it (with product page details). |
| `shopOpenedAt` | When the shop opened, for example 2012-05-28 11:41:20 (with product page details). |
| `shopItemCount` | How many products the shop has (with product page details). |

##### More about the product

| Field | What it is |
|---|---|
| `paymentMethods` | The payment methods the product accepts (with product page details). |
| `descriptionImages` | The pictures of the product description: sizes, features, packaging (with product page details). |
| `reviews` | A customer review Taobao shows on the product page: text, date, score, variant (with product page details). |

##### Where it came from

| Field | What it is |
|---|---|
| `searchText` | The search text that found the product. Empty for shop, category and product links. |
| `foundVia` | How the Actor reached the product: first page, a sort order, top rated, a brand or a property filter, or product link. |
| `totalResults` | How many products Taobao says the listing holds in total. |
| `sourceUrl` | The Taobao page the product was read from. |
| `scrapedAt` | When the record was collected (UTC). |

#### Example results

Product from a search:

```json
{"itemId": "1078907312106", "title": "【新款18勃艮第紅色】圖拉斯雪霧適用iPhone18ProMax手機保護殼蘋果17磁吸外殼16pm高級磨砂15Pro保護套14P全包13", "url": "https://world.taobao.com/item/SnA2dmxGcWpIZXRWLzJoZ0tCQjdXQT09.htm", "imageUrl": "https://img.alicdn.com/imgextra/O1CN01MD26uLjX8UC1chua_!!6000000000818-2-yinhe.png", "price": 116, "discountLabel": "超級立減活動價", "currency": "CNY", "priceTwd": 578.12, "priceHkd": 137.89, "freeShipping": false, "categoryId": "150704", "rootCategoryId": "50008090", "shopId": "72104903", "shopName": "圖拉斯數碼旗艦店", "shopUrl": "https://world.taobao.com/dianpu/72104903.htm", "descriptionScore": 4.76, "searchText": "手机壳", "foundVia": "first page", "totalResults": 77005, "sourceUrl": "https://sg.world.taobao.com/product/%E6%89%8B%E6%9C%BA%E5%A3%B3.htm", "scrapedAt": "2026-11-13T17:55:24Z"}
```

Product with product page details (shortened):

```json
{"itemId": "1078907312106", "title": "【新款18勃艮第紅色】圖拉斯雪霧適用iPhone18ProMax手機保護殼蘋果17磁吸外殼16pm高級磨砂15Pro保護套14P全包13", "titleEnglish": "【New 18 Burgundy Red】Tulas Snow Mist Case for iPhone 18 Pro Max, Apple 17 Magnetic Case, 16Pm Premium Matte 15 Pro Protective Case, 14P Full Coverage 13", "price": 116, "originalPrice": null, "priceUsd": 17.53, "priceUsdAfterPromotions": 8.76, "isTmall": true, "location": "廣東東莞", "categoryPath": ["首頁", "阿裏B2C商城", "手機及配件", "手機配件", "保護套/矽膠套"], "categoryPathEnglish": ["Home", "ali b2c mall", "Mobile Phones and Accessories", "Mobile phone accessories", "protective sleeve/silicone case"], "shopName": "圖拉斯數碼旗艦店", "shopDescriptionScore": 4.7, "shopShippingScore": 4.8, "shopServiceScore": 4.8, "shopCreditLevel": 20, "shopOpenedAt": "2012-05-28 11:41:20", "shopItemCount": 261, "paymentMethods": ["蚂蚁花呗", "信用卡支付", "集分宝"], "reviews": [{"text": "與手機顏色渾然一體，輕便磨砂感，磁吸強，一次性買了圖拉斯4款手機保護殼，各有千秋，愛了😍", "date": "2026.11.03 10:24", "score": 5, "variant": "適用手機型號:iPhone 18 Pro;顏色分類:【雪霧 | 酒紅色 | 磁吸款】冰感磁吸✅️細膩抗指紋✅️超薄裸感"}]}
```

Product from a shop page:

```json
{"itemId": "734857493707", "title": "[德國肖特原材]圖拉斯適用蘋果18ProMax鋼化膜iphone17pro新款手機貼膜16pm防窺3d屏幕保護i防摔防指紋無塵倉", "price": 416, "shopId": null, "shopName": "圖拉斯數碼旗艦店", "sellerId": "896588234", "shopDescriptionScore": 4.7, "shopShippingScore": 4.8, "shopServiceScore": 4.8, "foundVia": "first page"}
```

### How does it get more than 20 products per search?

Taobao shows a visitor without login 20 products for a search, the best sellers. The Actor then does what a person clicking through Taobao's own filters does, only faster. It opens the same search sorted by sales, lowest price, highest price and best-rated shops, then filtered by every brand and every property value Taobao lists for the search (phone models, materials, styles, sizes) and sorted again. It never returns a product twice. One search for `手机壳` (phone case) gave about 4,000 different products this way in about a minute.

Turn `deepScan` off to read the first page only. `maxItemsPerSearch` stops each search at the number you want.

### Input

| Input | What it does |
|---|---|
| `searchQueries` | Search texts, Chinese or English, one per line |
| `startUrls` | Links to a search, category, shop or product, one per line |
| `maxItemsPerSearch` | Stop each search, category or shop after this many products |
| `deepScan` | Open sorted and filtered pages to reach more than 20 products per search |
| `includeDetails` | Open each product's page for shop details, location, English title, USD price, all pictures and a review |
| `onlyNew` | Skip products that earlier runs of the same input returned |
| `maxItems` | Stop after this many products in total |
| `maxConcurrency` | Pages read at the same time |
| `secondsBetweenRequests` | Pause between requests |

### How much does it cost?

You pay per product. There is no start fee. Product page details cost nothing extra.

| Plan | Price per 1,000 products |
|---|---|
| Free | $1.50 |
| Bronze | $1.35 |
| Silver | $1.20 |
| Gold | $1.05 |

- 100 products cost about $0.15.
- 4,000 products from one deep search cost about $6.
- Use `maxItems` to cap the cost of a run, and `onlyNew` to pay only for new products on scheduled runs.

### Use it via API, on a schedule, or with your tools

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("pshivam/taobao-tmall-scraper").call(run_input={
    "searchQueries": ["phone case", "手机壳"],
    "maxItemsPerSearch": 500,
    "includeDetails": False,
})
for product in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(product["title"], product["price"], product["shopName"])
```

#### Use it in Clay, n8n, Make or Zapier

Use the Actor ID `pshivam/taobao-tmall-scraper` and an input like this:

```json
{"searchQueries": ["sneakers"], "maxItemsPerSearch": 200}
```

#### Watch a shop or a search for new products

Schedule the Actor daily with the same input and `onlyNew` turned on. Each run returns only the products that earlier runs did not return.

### Good to know

- **Prices are as Taobao shows a visitor outside China.** `price` is in yuan. `priceTwd` and `priceHkd` are Taobao's own conversions. Promotions change often.
- **What a visitor cannot see is not returned:** stock, variants (colors and sizes with their own prices), monthly sales and the full review list need a Taobao login. The Actor never logs in.
- **Product page details are slower.** Taobao limits product pages: expect about 2 to 5 seconds per product with `includeDetails`, against about 20 products per second without it.
- **Product page details can be refused.** Taobao checks the visitors of product pages more strictly than the listings. When it asks for a human check from the Actor's address, the Actor switches to Apify Proxy. When that does not help, the products are returned with the listing's fields and the run message says how many came without product page data.
- **Chinese titles come as Taobao writes them,** in simplified or traditional characters depending on the Taobao site that answered. The English title needs `includeDetails`.
- **Unknown searches** are named in the run message. They are not returned or charged.
- **Independent tool.** Not affiliated with or endorsed by Alibaba, Taobao or Tmall. The Actor reads public catalogue pages that Taobao shows to every visitor. Check Taobao's terms before you redistribute the data.

### FAQ

#### Can I scrape more than the first page of Taobao search results?

Yes. Keep `deepScan` on and raise `maxItemsPerSearch`. The Actor opens the search in every sort order and every brand and property filter Taobao offers and returns each product once. Thousands of products per search are normal.

#### Do I need a Taobao account or an API key?

No. The Actor never logs in.

#### Can I search in English?

Yes. Taobao understands common English words (`sneakers`, `laptop`, `phone case`). Chinese texts find more.

#### Does it work for Tmall?

Yes. Tmall products appear in the same listings and `isTmall` marks them.

#### Can I scrape one shop?

Yes. Paste the shop link (`world.taobao.com/dianpu/12345.htm`) into `startUrls`. You get the shop's products and its scores.

#### How do I get new products only?

Turn on `onlyNew` and run the same input again later. Products that earlier runs returned are skipped and not charged.

#### Is it legal to scrape Taobao?

The Actor reads public pages that Taobao shows without login. You are responsible for how you use the data. Check Taobao's terms before you redistribute it.

# Actor input Schema

## `searchQueries` (type: `array`):

What to search for, one per line: Chinese (手机壳) or English (phone case, sneakers). Every text is one search.

## `startUrls` (type: `array`):

Taobao or Tmall links, one per line: a search page (world.taobao.com/product/...), a category (world.taobao.com/category/...), a shop (world.taobao.com/dianpu/...) or a single product (world.taobao.com/item/...). Search links of s.taobao.com work too.

## `maxItemsPerSearch` (type: `integer`):

Stop a search, category or shop after this many products. A search can give several thousand.

## `deepScan` (type: `boolean`):

A visitor sees one page of 20 products per search. With deep scan the Actor opens the same search sorted by sales, by price and by shop rating, and filtered by every brand, material, style and phone model Taobao lists, until it has the products you asked for. Turn it off for the first page only.

## `includeDetails` (type: `boolean`):

Also open each product's page for the shop's rating, credit level and opening date, the seller's location, whether it is a Tmall product, the English title, the price in US dollars, all pictures, the description pictures and a customer review. Slower.

## `onlyNew` (type: `boolean`):

Skip products that earlier runs of this same input already returned, so you get and pay for new ones only. The first run works as usual and remembers what it returned, in your key-value store 'taobao-tmall-scraper-only-new'.

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

Stop after this many products in total. You are charged per product.

## `maxConcurrency` (type: `integer`):

How many pages are read in parallel. Raise it for large searches.

## `secondsBetweenRequests` (type: `number`):

Pause between requests. After a refusal the Actor doubles the pause and switches to Apify Proxy when it can.

## Actor input object example

```json
{
  "searchQueries": [
    "phone case"
  ],
  "maxItemsPerSearch": 100,
  "deepScan": true,
  "includeDetails": false,
  "onlyNew": false,
  "maxItems": 100,
  "maxConcurrency": 5,
  "secondsBetweenRequests": 0.1
}
```

# Actor output Schema

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

Products as a table.

## `details` (type: `string`):

Product details as a table.

## `shops` (type: `string`):

Shops as a table.

## `runStats` (type: `string`):

Requests made, time spent and number of records for this run (RUN_STATS record).

# 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 = {
    "searchQueries": [
        "phone case"
    ],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("pshivam/taobao-tmall-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 = {
    "searchQueries": ["phone case"],
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("pshivam/taobao-tmall-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 '{
  "searchQueries": [
    "phone case"
  ],
  "maxItems": 100
}' |
apify call pshivam/taobao-tmall-scraper --silent --output-dataset

```

## MCP server setup

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