# Taobao Shop Scraper (`apt_marble/taobao-shop-scraper`) Actor

Scrape any Taobao or Tmall shop: profile with scores and assortment size, plus up to 60 listed products with price, promotions and images. Watch competitors or pull a catalog slice in one run. No account, no login.

- **URL**: https://apify.com/apt\_marble/taobao-shop-scraper.md
- **Developed by:** [Hamza](https://apify.com/apt_marble) (community)
- **Stats:** 1 total users, 0 monthly users, 85.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.50 / 1,000 record scrapeds

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

Profile any Taobao or Tmall shop and pull its listed products in a single run.
You get the shop's own record — name, description, service and delivery
scores, assortment size — plus up to 60 listed products with price, promotion
and images attached. Watch competitors, find suppliers, or pull a catalog
slice into your own systems. No account and no login are needed.

### What you can do with it

- **Watch competitors.** Track a rival shop's listing: what it sells, at which
  prices, and with which promotions.
- **Find suppliers.** A shop's profile, scores and listed products in one table
  is the fastest shortlist you will build all week.
- **Pull a catalog slice.** Mirror the shop's listed products — IDs, titles,
  prices, images — into a spreadsheet or database.
- **Benchmark your own shop.** Compare assortment size and score bands against
  the shops around you.
- **Schedule the watch.** Re-run weekly and see new arrivals, delistings and
  price moves per shop.

### What you get

One profile row per shop, plus one row per listed product. Abridged real
examples:

```json
{ "recordType": "shop_profile", "shopId": "63978904", "shopName": "優送網", "shopUrl": "https://world.taobao.com/dianpu/63978904.htm", "descriptionScore": 4.9, "serviceScore": 4.9, "deliveryScore": 4.9, "productCountHint": 508, "scrapedAt": "2026-09-21T00:00:00.000Z" }
```

```json
{ "recordType": "shop_product", "shopId": "63978904", "shopName": "優送網", "listPosition": 1, "itemId": "8803330176", "title": "農夫山泉天然水4L*4桶整箱特批價家庭大瓶桶裝飲用水江浙滬皖包郵", "url": "https://world.taobao.com/item/8803330176.htm", "price": 45, "currency": "CNY", "scrapedAt": "2026-09-21T00:00:00.000Z" }
```

### Input reference

| Field | Type | Default | What it does |
| --- | --- | --- | --- |
| `shopUrls` | list of text | *(example shop)* | Shop links (`world.taobao.com/dianpu/…`) or numeric shop IDs. Up to 20 per run. |
| `maxProductsPerShop` | number | `60` | How many listed products to collect per shop, newest first (maximum 60). Set `0` for the profile only. |
| `includeProfile` | true/false | `true` | Include the shop's own profile row alongside its products. |
| `maxConcurrency` | number | `3` | How many shops to work through at the same time (1–5). |

### Output fields

| Field | Type | Description |
| --- | --- | --- |
| `recordType` | text | `shop_profile` for the shop's own row, `shop_product` for each listed product. |
| `shopId`, `shopName`, `shopUrl` | text | Shop identifier, name and link (on every row). |
| `sellerId` | text | The seller's identifier (profile rows). |
| `descriptionScore`, `serviceScore`, `deliveryScore` | number | The shop's published scores (profile rows). |
| `productCountHint` | number | Listed products the shop reports (profile rows). Only the first screen, up to 60, is readable per run. |
| `listPosition` | number | Position in the shop's listing order (product rows). |
| `itemId`, `title`, `url` | text | Product identifier, title and link (product rows). |
| `price`, `promoPrice`, `promoLabel`, `currency` | number / text | Selling price in yuan (always `CNY`) plus promotion details when advertised. `promoPrice` stays empty when the promotion matches the selling price. |
| `onPromo` | true/false | Whether the site advertises a promotion on the product. |
| `freeShipping` | true/false | Whether the product ships free. |
| `categoryId` | text | The site's own category for the product. |
| `imageUrl` | text | Main product picture. |
| `scrapedAt` | text | When the row was collected. |

### Pricing

You pay per row returned — nothing else, and nothing for a shop that cannot
be read.

| What you pay for | Price |
| --- | --- |
| Each row (profile or product) | $1.50 per 1,000 |

**Worked example.** One shop profile plus 60 products = 61 rows = about
**$0.09** for the run. Watching 5 shops costs about $0.46.

### Limits & what this actor cannot do

- The site publishes the shop's first screen of listings — up to 60 products
  — so a huge catalog returns its newest slice, not the whole assortment. The
  profile row reports the total the shop advertises, so you always know how
  much of it you saw.
- Prices, promotions and scores are a snapshot at the moment of collection
  and keep changing afterwards.
- Some shops publish no scores. Those come back empty rather than invented.
- For an exact shop, paste its link instead of a bare ID you are unsure of.
- Speed depends on the size of the job and on the source site's own response
  times; no fixed throughput is promised.
- The source site's terms govern automated access. You are responsible for
  using the data lawfully and in line with those terms, and for handling any
  personal data in line with applicable privacy law.

### FAQ

**Do I need a Taobao account?**
No. Nothing is signed in to and nothing is bought.

**How do I point it at an exact shop?**
Paste the shop's link — that always resolves to the right shop.

**Can I get just the profile without products?**
Yes. Set the maximum products per shop to `0` and only the profile row is
collected.

**Why only 60 products when the shop lists hundreds?**
Because the site publishes the shop's first screen of listings — its newest
slice. The profile row tells you the advertised total, so schedule re-runs to
watch new arrivals rotate in.

**Can I schedule competitor watches?**
Yes. Save the shops as a task and run it on any schedule Apify supports,
then compare assortments and prices over time.

# Actor input Schema

## `includeProfile` (type: `boolean`):

Include the shop's own profile row (name, scores, counts) alongside its products.

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

How many shops to work through at the same time. Higher is faster; lower is gentler on the source site.

## `maxProductsPerShop` (type: `integer`):

How many listed products to collect for each shop, newest first. The site publishes the shop's first screen of up to 60 products. Set 0 for the profile only.

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

Shop links (world.taobao.com/dianpu/…) or numeric shop IDs. Up to 20 per run.

## Actor input object example

```json
{
  "includeProfile": true,
  "maxConcurrency": 3,
  "maxProductsPerShop": 60,
  "shopUrls": [
    "https://world.taobao.com/dianpu/63978904.htm"
  ]
}
```

# Actor output Schema

## `records` (type: `string`):

Shop profiles and listed products collected in this run.

## `runSummary` (type: `string`):

Counts per shop, including any shop that could not be read.

# 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 = {
    "maxConcurrency": 3,
    "maxProductsPerShop": 60,
    "shopUrls": [
        "https://world.taobao.com/dianpu/63978904.htm"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("apt_marble/taobao-shop-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 = {
    "maxConcurrency": 3,
    "maxProductsPerShop": 60,
    "shopUrls": ["https://world.taobao.com/dianpu/63978904.htm"],
}

# Run the Actor and wait for it to finish
run = client.actor("apt_marble/taobao-shop-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 '{
  "maxConcurrency": 3,
  "maxProductsPerShop": 60,
  "shopUrls": [
    "https://world.taobao.com/dianpu/63978904.htm"
  ]
}' |
apify call apt_marble/taobao-shop-scraper --silent --output-dataset

```

## MCP server setup

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