# Taobao Product Scraper: Search, Prices & Shops (`kizukidata/taobao-product-scraper`) Actor

Enter Taobao keywords, shop URLs, or category URLs to collect search results, CNY/local prices, seller DSR scores, review highlights, and category paths with no login. Unofficial Actor, not affiliated with Taobao or Alibaba. Failed or blocked rows cost $0.

- **URL**: https://apify.com/kizukidata/taobao-product-scraper.md
- **Developed by:** [Kizuki](https://apify.com/kizukidata) (community)
- **Categories:** E-commerce, Marketing, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 50.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.10 / 1,000 product rows

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/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 Scraper

Enter Taobao keywords, shop URLs, or category URLs to collect structured Taobao and Tmall search results, category listings, and shop catalogs with no Taobao login or cookies: product titles, CNY and regional prices, Taobao's displayed HKD and TWD conversions, discount labels, free-shipping flags, seller DSR scores, review counts and highlights, latest buyer reviews, ships-from cities, and category paths.

You only pay for delivered product rows. A lookup that is not found, blocked or unavailable returns an uncharged status row (`charged: false`, `error !== null`); after an unexpected error in the Actor no row is written for that target, and `OUTPUT` lists it. This is an unofficial Actor, not affiliated with Taobao or Alibaba.

### What goes in, what comes back

- Input: Search keywords (`queries`), storefront region (`region`: `GLOBAL`, `CN`, `SG`, `MY`, or `AU`), mixed links (`startUrls`), shop links or IDs (`shopUrls`), category links or IDs (`categoryUrls`), or optional catalog item links (`productUrls`). An input that names no target (`{}`, or settings only) returns a built-in sample, a search for `蓝牙耳机`: at most 5 rows, marked `isSample`, with no result charged (the run start fee still applies). The sample runs on the default settings and the default proxy: your other settings are not applied to it (a lower `maxItems` is).
- Output: One JSON or CSV row per product with `itemId`, `itemIdStr`, `platform` (`taobao` or `tmall`), `title`, `url`, `catalogUrl`, `price` (CNY), `originalPrice`, `localPrice`, `localCurrency`, `priceHkd` and `priceTwd` (Taobao's storefront conversions), `discountLabel`, `freeShipping`, `categoryId`, `rootCategoryId`, `categoryPath`, `imageUrl`, `images`, `shopId`, `shopName`, `shopUrl`, `dsrDescription`, plus `location`, `sellerId`, `sellerType`, `sellerCreditLevel`, `shopOpenedAt`, `shopItemCount`, `dsrService`, `dsrDelivery`, `reviewCountText`, `reviewHighlights`, and `latestReview` when `includeDetails` is enabled.

### Storefront regions

| Region | Storefront | Local price currency |
|---|---|---|
| `GLOBAL` | `world.taobao.com` | Exit-region currency (varies by proxy exit location; `priceHkd` and `priceTwd` use Taobao's displayed conversions, and CNY `price` is always returned) |
| `CN` | `www.taobao.com/list` | `CNY` (Simplified Chinese catalog) |
| `SG` | `sg.world.taobao.com` | `SGD` |
| `MY` | `my.world.taobao.com` | `MYR` |
| `AU` | `au.world.taobao.com` | `AUD` |

### Use cases

- Cross-border sourcing and price comparison: Track CNY prices alongside `SGD`, `MYR`, `AUD`, `HKD`, and `TWD` across Taobao and Tmall listings.
- Shop and seller due diligence: Pass shop links (`/dianpu/<id>.htm` or `shop<id>.taobao.com`) to inspect seller credit levels, shop age, item counts, and the three DSR scores (`dsrDescription`, `dsrService`, `dsrDelivery`).
- Scheduled product monitoring: Enable `onlyNewItems` to remember previously delivered products per input and return only newly added items on subsequent runs (previously seen items cost $0).
- AI agents and workflow pipelines: Trigger runs via REST API, n8n, or the Apify MCP server.

### Input options

| Field | Default | Description |
|---|---|---|
| `mode` | `"auto"` | `auto` (detect target type), `search`, `category`, `shop`, or `product`. |
| `region` | `"GLOBAL"` | `GLOBAL`, `CN`, `SG`, `MY`, or `AU`. URLs in `startUrls` override this. |
| `queries` | `[]` | Search keywords in Chinese or English (Chinese keywords yield broader coverage). |
| `startUrls` | `[]` | Mixed Taobao or Tmall URLs (search, category, shop, or catalog item links). |
| `productUrls` | `[]` | Taobao catalog item URLs (`/item/<code>.htm`) or encrypted item codes. |
| `shopUrls` | `[]` | Shop URLs (`/dianpu/<id>.htm` or `shop<id>.taobao.com`) or numeric shop IDs. |
| `categoryUrls` | `[]` | Category URLs (`/category/<id>.htm`) or numeric category IDs. |
| `sortBy` | `"default"` | `default`, `sales`, `price_asc`, or `price_desc`. |
| `minPrice` / `maxPrice` | `null` | Price range filter in CNY. |
| `tmallOnly` | `false` | Keep only Tmall (`tmall`) listings. Enables detail lookup to verify seller type before charging. |
| `freeShippingOnly` | `false` | Keep only listings marked with free shipping. |
| `deepScan` | `false` | Query multiple sort orders and category attribute facet filters per keyword (or sort orders per shop) to collect more unique products beyond a single page. |
| `includeDetails` | `false` | Read each item's catalog page for ships-from location, full category path, seller details, DSR scores, review counts, and latest review. |
| `onlyNewItems` | `false` | Skip products delivered in earlier runs of the same input (`isNew: true` on new rows; skipped items cost $0). |
| `monitoringKey` | `null` | Optional label to keep saved state separate across multiple schedules. |
| `maxItems` | `20` | Maximum output rows per run (`1` to `2000`). The built-in sample (no target named) returns at most 5 free rows. |
| `proxyConfiguration` | Apify Proxy | Apify Proxy configuration. |

#### Example input

```json
{
  "region": "SG",
  "queries": ["蓝牙耳机"],
  "deepScan": true,
  "includeDetails": true,
  "maxItems": 40
}
```

### Output example

```json
{
  "id": "taobao:1079352038299",
  "source": "Taobao",
  "status": "ok",
  "charged": true,
  "itemId": "1079352038299",
  "itemIdStr": "RjRZL1NqR2pVTkxHOTFNTUIvZU8wZz09",
  "platform": "tmall",
  "title": "爱国者蓝牙耳机半入耳式2026新款降噪高音质无线运动超长续航游戏",
  "url": "https://detail.tmall.com/item.htm?id=1079352038299",
  "catalogUrl": "https://world.taobao.com/item/RjRZL1NqR2pVTkxHOTFNTUIvZU8wZz09.htm",
  "region": "GLOBAL",
  "price": 118,
  "currency": "CNY",
  "originalPrice": 199,
  "localPrice": 23.15,
  "localCurrency": "SGD",
  "priceHkd": 140.35,
  "priceTwd": 589.93,
  "discountLabel": "优惠价",
  "freeShipping": true,
  "location": "上海",
  "categoryId": "50005050",
  "rootCategoryId": "50011972",
  "categoryPath": ["影音视听", "耳机"],
  "imageUrl": "https://img.alicdn.com/imgextra/i3/2215824413675/O1CN01E5GhXKqZBrE1chua_!!4611686018427384811-0-item_pic.jpg",
  "images": ["https://img.alicdn.com/imgextra/i3/2215824413675/O1CN01E5GhXKqZBrE1chua_!!4611686018427384811-0-item_pic.jpg"],
  "shopId": "503709453",
  "sellerId": "2215824413675",
  "shopName": "腔调会员精选旗舰店",
  "shopUrl": "https://world.taobao.com/dianpu/503709453.htm",
  "sellerType": "B",
  "sellerCreditLevel": 19,
  "shopOpenedAt": "2023-05-08 14:16:16",
  "shopItemCount": 1787,
  "dsrDescription": 4.9,
  "dsrService": 4.9,
  "dsrDelivery": 4.9,
  "reviewCountText": "4000+",
  "reviewHighlights": [{"tag": "性价比高", "count": 113}],
  "latestReview": {"rating": 5, "content": "物流很给力，两三天就到了", "date": "2026.10.16 17:04", "sku": "商品规格:黑色"},
  "detailLevel": "detail",
  "inputType": "search",
  "inputValue": "蓝牙耳机",
  "position": 1,
  "queryTotalResults": 34331,
  "scrapedAt": "2026-11-18T00:35:00.000Z",
  "error": null
}
```

### Limits and field availability

- This Actor is built for keyword search, category listings, and shop catalogs. Full SKU variant matrices (color/size prices and stock) and multi-page review histories are not returned.
- Each search or category listing page returns 20 products, and each shop catalog page returns up to 60 products. Enable `deepScan` to rotate sort orders and attribute facet filters for broader coverage.
- Bare numeric item IDs (`1079352038299` or `item.taobao.com/item.htm?id=...`) without a catalog item code return an uncharged `not_found` status row when Taobao redirects signed-out numeric lookups. Search by keyword, category, or shop with `includeDetails: true` (or pass `/item/<code>.htm` catalog links) instead.
- Fields that require a product catalog page (`location`, `sellerCreditLevel`, `shopOpenedAt`, `dsrService`, `dsrDelivery`, `reviewCountText`, `latestReview`) remain `null` when `includeDetails` is `false`.
- When Taobao asks for a login or verification, answers with a server error or a page without product data, or does not answer in time, the run still ends `SUCCEEDED`: each target that could not be read gets an uncharged status row (`status`: `blocked` or `unavailable`) whose `error.type` is `blocked`, `source_error`, `no_data` or `no_answer`.
- A run that returned no product ends `FAILED` when a target could not be read for a cause on the Actor's side: the connection through the proxy failed on every route (`error.type` `network_error`) or Taobao's page format changed (`site_changed`). A run without a product also ends `FAILED` after an unexpected error. Nothing is charged for those targets.
- With your own proxy servers (`proxyConfiguration.proxyUrls`), a run that returned no product because connections through them failed does not end `FAILED`: it ends `SUCCEEDED`, the `OUTPUT` record's `code` is `invalid_input` and the status message says to check the proxy. A changed page format or an unexpected error still ends it `FAILED`. A timeout is not counted as a failed connection, because a proxy that does not answer looks the same as Taobao not answering: a run that returned no product because requests through your proxy timed out ends `SUCCEEDED`. Its `code` is `timed_out` if the run timeout came first; otherwise `blocked` if a target's last answer was a login or verification demand, and `parse_error` if none was. With `parse_error` the status message names your proxy as a possible cause.
- When a target was read and every product of it was filtered out or returned before, an extra request (a product page, an extra `deepScan` page) does not make the run `FAILED` if Taobao did not answer it with product data (a login or verification demand, a server error, a page without data, a timeout) or its connection failed. An unexpected error or a changed page format on such a request still ends the run `FAILED`. With `tmallOnly`, a search, category or shop none of whose products could be checked, because their product pages could not be read, counts as not read and gets a status row.
- Shortly before the run's timeout the Actor stops reading and ends `SUCCEEDED` with the rows it has. A target it did not reach gets an uncharged `unavailable` row with `error.type` `not_read`. A run with no product still ends `FAILED` if, before the stop, it met a changed page format or an unexpected error that no later attempt made up for.

### Pricing

Launch pricing. Pay-per-event (`product`), charged once per delivered product row (`status: "ok"` and `error: null`). Status/error rows (`not_found`, `blocked`, `unavailable`), filtered-out rows, `onlyNewItems` skipped rows, and zero-result runs cost $0. Optional `includeDetails` adds no extra per-item surcharge.

| Apify plan | Price per 1,000 products |
|---|---:|
| Free | $1.90 |
| Bronze | $1.60 |
| Silver | $1.35 |
| Gold and above | $1.10 |

- Apify Free plan ($5 monthly platform credit): about 2,630 products a month.

### API and MCP integration

Run via REST API using a Bearer token header:

```bash
curl -X POST "https://api.apify.com/v2/acts/kizukidata~taobao-product-scraper/runs?waitForFinish=120" \
  -H "Authorization: Bearer <YOUR_API_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"region":"SG","queries":["蓝牙耳机"],"includeDetails":true,"maxItems":40}'
```

Connect this Actor in Claude Desktop, Cursor, or n8n via Apify's MCP server:

```text
https://mcp.apify.com?tools=fetch-actor-details,kizukidata/taobao-product-scraper
```

Claude / Cursor MCP config:

```json
{
  "mcpServers": {
    "apify": {
      "type": "http",
      "url": "https://mcp.apify.com?tools=fetch-actor-details,kizukidata/taobao-product-scraper"
    }
  }
}
```

Related Kizuki Actors: [AliExpress Product Scraper](https://apify.com/kizukidata/aliexpress-product-scraper), [Goofish (Xianyu) Scraper](https://apify.com/kizukidata/goofish-scraper), [1688 Product Scraper](https://apify.com/kizukidata/1688-product-scraper), [TikTok Shop Products Scraper](https://apify.com/kizukidata/tiktok-shop-products-scraper), [Shopee Product Scraper](https://apify.com/kizukidata/shopee-product-scraper).

# Actor input Schema

## `mode` (type: `string`):

Choose auto to detect target types automatically, or limit the run to search, category, shop, or product targets.

## `region` (type: `string`):

Taobao storefront host: GLOBAL (world.taobao.com), CN (www.taobao.com/list), SG (SGD), MY (MYR), or AU (AUD). Case-insensitive; URLs in startUrls override this.

## `queries` (type: `array`):

Taobao search keywords in Chinese or English (for example 蓝牙耳机 or phone case). Naming no target searches 蓝牙耳机 and returns a free sample of at most 5 rows (marked isSample).

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

Mixed Taobao or Tmall URLs (search, category, shop /dianpu/ links, or catalog /item/ITEM_CODE.htm links).

## `productUrls` (type: `array`):

Taobao catalog item URLs (world.taobao.com/item/ITEM_CODE.htm or www.taobao.com/list/item/ITEM_CODE.htm) or bare encrypted item codes.

## `shopUrls` (type: `array`):

Taobao shop URLs (world.taobao.com/dianpu/SHOP_ID.htm or shopSHOP_ID.taobao.com) or numeric shop IDs.

## `categoryUrls` (type: `array`):

Taobao category URLs (world.taobao.com/category/CATEGORY_ID.htm) or numeric category IDs.

## `sortBy` (type: `string`):

Listing sort order: default, sales, price_asc, or price_desc.

## `minPrice` (type: `number`):

Minimum product price in CNY.

## `maxPrice` (type: `number`):

Maximum product price in CNY.

## `tmallOnly` (type: `boolean`):

Keep only Tmall (天猫) items. Automatically reads each item page to verify seller type before charging.

## `freeShippingOnly` (type: `boolean`):

Keep only listings marked with free shipping.

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

Query multiple sort orders and category attribute facet filters per keyword (or sort orders per shop) to collect more unique products beyond the first 20.

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

Fetch each product catalog page for full seller DSR scores, ships-from location, category path, review counts, and latest buyer review.

## `onlyNewItems` (type: `boolean`):

Remember previously delivered items per input and return only newly seen products (previously seen items cost $0).

## `monitoringKey` (type: `string`):

Optional key to isolate saved state across multiple schedules sharing the same input.

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

Maximum product rows written per run (1-2000). A lower value also lowers the free sample of at most 5 rows.

## `proxyConfiguration` (type: `object`):

Apify Proxy settings. The default works for most runs; set a country or your own proxy URLs here.

## Actor input object example

```json
{
  "mode": "auto",
  "region": "GLOBAL",
  "queries": [],
  "startUrls": [],
  "productUrls": [],
  "shopUrls": [],
  "categoryUrls": [],
  "sortBy": "default",
  "tmallOnly": false,
  "freeShippingOnly": false,
  "deepScan": false,
  "includeDetails": false,
  "onlyNewItems": false,
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `output` (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 = {
    "mode": "auto",
    "region": "GLOBAL",
    "queries": [],
    "startUrls": [],
    "productUrls": [],
    "shopUrls": [],
    "categoryUrls": [],
    "sortBy": "default",
    "tmallOnly": false,
    "freeShippingOnly": false,
    "deepScan": false,
    "includeDetails": false,
    "onlyNewItems": false,
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("kizukidata/taobao-product-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 = {
    "mode": "auto",
    "region": "GLOBAL",
    "queries": [],
    "startUrls": [],
    "productUrls": [],
    "shopUrls": [],
    "categoryUrls": [],
    "sortBy": "default",
    "tmallOnly": False,
    "freeShippingOnly": False,
    "deepScan": False,
    "includeDetails": False,
    "onlyNewItems": False,
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("kizukidata/taobao-product-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 '{
  "mode": "auto",
  "region": "GLOBAL",
  "queries": [],
  "startUrls": [],
  "productUrls": [],
  "shopUrls": [],
  "categoryUrls": [],
  "sortBy": "default",
  "tmallOnly": false,
  "freeShippingOnly": false,
  "deepScan": false,
  "includeDetails": false,
  "onlyNewItems": false,
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call kizukidata/taobao-product-scraper --silent --output-dataset

```

## MCP server setup

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