# Weidian Scraper 微店 — Products, SKUs, Stock, Shops & Agent (`axon-studio/weidian-scraper`) Actor

All-in-one Weidian (微店 weidian.com) API. Extract product details, full color/size SKU price & stock matrices, entire seller store catalogs (userid), and buyer reviews. Unpacks & generates CNFans, Superbuy, Hoobuy & AllChinaBuy links. Ready for n8n & MCP.

- **URL**: https://apify.com/axon-studio/weidian-scraper.md
- **Developed by:** [Axon Studio](https://apify.com/axon-studio) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 product or review (with full sku matrix & 6 agent links)s

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

Extract structured product data, complete color/size SKU variant matrices (with exact CNY & USD pricing, real-time stock per variant, and option images), full seller store catalogs (`userid`), and buyer reviews from **Weidian (微店 `weidian.com`)** with **100% no cookies or login required**.

Built for cross-border e-commerce teams, `r/FashionReps` researchers, price-comparison engines, and shopping-agent tools, this Actor natively unpacks raw Weidian links, numeric IDs, and encoded **CNFans, Superbuy, Hoobuy, AllChinaBuy, Mulebuy, and Sugargoo** URLs—and automatically generates one-click purchase links for all 6 major cross-border agents on every extracted item. Free plan users can extract up to **25 Weidian products per run**; upgrade to any paid Apify plan to unlock up to **5,000 products per run**.

[![Run Weidian Scraper on Apify](https://img.shields.io/badge/Apify-Run_Weidian_Scraper-00C853?style=for-the-badge\&logo=apify\&logoColor=white)](https://apify.com/axon-studio/weidian-scraper)
[![Zero Cookie Required](https://img.shields.io/badge/Auth-100%25_No_Cookie_Required-2979FF?style=for-the-badge\&logo=shield\&logoColor=white)](https://apify.com/axon-studio/weidian-scraper)
[![Full SKU Matrix & 6 Agent Links](https://img.shields.io/badge/Features-Full_SKU_Matrix_%2B_6_Agent_Links-FF6D00?style=for-the-badge\&logo=JSON\&logoColor=white)](https://apify.com/axon-studio/weidian-scraper)

| Need | Actor |
| :--- | :--- |
| **Weidian Products, SKUs & Seller Shops (微店商品/全店)** | **[axon-studio/weidian-scraper](https://apify.com/axon-studio/weidian-scraper)** *(Current)* |
| **Taobao & Tmall Products, Stock & Prices (淘宝天猫搜索)** | **[axon-studio/taobao-tmall-scraper](https://apify.com/axon-studio/taobao-tmall-scraper)** |
| **Goofish / Xianyu Second-Hand Deals (闲鱼二手海淘)** | **[axon-studio/goofish-xianyu-scraper](https://apify.com/axon-studio/goofish-xianyu-scraper)** |
| **WeChat Official Account Articles & Markdown (微信公众号)** | **[axon-studio/wechat-official-account-scraper](https://apify.com/axon-studio/wechat-official-account-scraper)** |
| **Douyin Videos, 1080p MP4 & Shop (抖音短视频/商城)** | **[axon-studio/douyin-scraper](https://apify.com/axon-studio/douyin-scraper)** |
| **Sina Weibo & BlackCat Intelligence (新浪微博/黑猫投诉)** | **[axon-studio/weibo-scraper](https://apify.com/axon-studio/weibo-scraper)** |

#### Copy to your AI assistant (Claude, ChatGPT, Cursor & Windsurf)

```text
Help me use axon-studio/weidian-scraper on Apify to extract Weidian (weidian.com) product details, full color/size SKU variant matrices (price in CNY/USD, exact stock, variant image), entire seller store catalogs, and buyer reviews without cookies. Read https://apify.com/axon-studio/weidian-scraper.md for complete documentation, input schema, output fields, and pricing. Configure the optimal input JSON for my use case.
```

***

### What Can This Weidian Scraper Do? (Features)

| Capability | Built-In Advantage |
| :--- | :--- |
| **All-in-One Product, Shop & Keyword Extraction** | Automatically detects whether each input in `urls` is a single product (`itemID`), an entire seller store (`userid`), or a cross-border agent link. |
| **Complete Color & Size SKU Matrix (`skus`)** | Extracts every color and size combination via `thor.weidian.com/detail/getItemSkuInfo/1.0` + SSR `__ROCKET_RENDER_DATA__`, including individual `skuId`, `skuName`, CNY `price`, `priceUsd`, and live `stock`. |
| **6 Cross-Border Agent Links Included (`agentLinks`)** | Automatically unpacks and generates ready-to-buy links for **CNFans, Superbuy, Hoobuy, AllChinaBuy, Mulebuy, and Sugargoo** (`shop_type=weidian`). |
| **Full Seller Store Catalog Pagination** | Given any seller `userid` or `weidian.com/?userid=...` link, paginates through the store's catalog and enriches items with SKU matrices concurrently. |
| **Buyer Reviews & QC Photos (`includeReviews`)** | Extracts buyer comments, 1–5 star ratings, purchased SKU specs, and buyer review photos (`GetCommentList/1.0`). |
| **256 MB RAM Real-Time Streaming** | Streams batches of 10 records to your Apify Dataset in real time on just **256 MB RAM** with Delta Mode (`onlyNewResults`) deduplication. |

***

### How to Scrape Weidian in 3 Easy Steps

1. **Paste your targets in `urls` or `keywords`** — Enter Weidian product URLs (`weidian.com/item.html?itemID=...`), seller store URLs (`weidian.com/?userid=...`), CNFans/Superbuy/Hoobuy links, or English/Chinese keywords.
2. **Choose enrichment toggles** — Keep `includeSkus: true` for full color/size matrices, and optionally enable `includeReviews: true` for buyer comments.
3. **Click "Start"** — Export your structured dataset in **JSON, CSV, Excel, or Parquet**, or connect via REST API, n8n, Make, or Claude MCP.

***

### Weidian Scraper Use Cases

| Buyer Profile | Weidian (微店) E-Commerce Intelligence Use Case |
| :--- | :--- |
| **Cross-Border Purchasing Agents & Communities** | Power Discord bots, `r/FashionReps` spreadsheets, and agent lookup tools with live per-size stock counts, CNY/USD prices, and 6 agent buy links |
| **Dropshippers & Storefront Aggregators** | Sync entire Weidian seller catalogs (`userid`) including HD product galleries (`si.geilicdn.com`), description images, and SKU variants to Shopify or WooCommerce |
| **Price & Inventory Monitoring Teams** | Schedule daily Delta runs (`onlyNewResults: true`) on top Weidian stores to detect new product drops, restocks, and price changes |

***

### Input

All 9 input fields are optional (`"required": []`). Below is the complete 1-to-1 parameter reference table and JSON input examples:

| Input Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| **`urls`** | `array` | `[]` *(Prefill: `["https://weidian.com/item.html?itemID=7240935216", "https://weidian.com/?userid=1621765644"]`)* | Weidian product URLs, shop URLs (`userid`), numeric IDs, or CNFans/Superbuy/Hoobuy/AllChinaBuy/Mulebuy/Sugargoo links. |
| **`keywords`** | `array` | `[]` | Optional keywords in English or Chinese (e.g., `"Nike"`, `"AJ4"`, `"hoodie"`, `"运动鞋"`). |
| **`includeSkus`** | `boolean` | `true` | Extracts the full color/size SKU matrix (`skuId`, `skuName`, `price`, `priceUsd`, `stock`, `skuImage`). |
| **`includeReviews`** | `boolean` | `false` | Extracts buyer comments, star ratings, purchased SKU specs, and review photos (billed per review row). |
| **`maxReviewsPerProduct`** | `integer` | `10` | Maximum buyer reviews to extract per product (`1`–`100`) when `includeReviews` is enabled. |
| **`autoLocalize`** | `boolean` | `true` | Automatically translates English fashion/sneaker keywords into native Chinese terms. |
| **`maxResults`** | `integer` | `25` | Maximum primary product records to extract (`1`–`5,000`; Free plan preview capped at 25 per run). |
| **`onlyNewResults`** | `boolean` | `false` | Delta Mode: persists seen `itemId`s in Key-Value Store (`WEIDIAN_SEEN_IDS`) and emits only unseen products. |
| **`proxyConfiguration`** | `object` | `{"useApifyProxy": false}` | Optional proxy settings. Works out-of-the-box without proxies. |

#### 1. Unpack Weidian & Cross-Border Agent Links for Full SKU Matrix (JSON)

```json
{
  "urls": [
    "https://weidian.com/item.html?itemID=7240935216",
    "https://hoobuy.com/product/2/7241893040",
    "https://cnfans.com/product/?shop_type=weidian&id=7239205958"
  ],
  "includeSkus": true,
  "includeReviews": false,
  "maxResults": 10
}
```

#### 2. Crawl an Entire Seller Store Catalog (`userid`) + Buyer Reviews (JSON)

*(Tip: Paste any `weidian.com/?userid=...` store link or 10-digit seller `userid` into `urls`)*

```json
{
  "urls": [
    "https://weidian.com/?userid=1621765644"
  ],
  "includeSkus": true,
  "includeReviews": true,
  "maxReviewsPerProduct": 10,
  "maxResults": 50
}
```

#### 3. English/Chinese Keyword Discovery + Delta Monitoring (JSON)

```json
{
  "keywords": ["Jordan 4", "fleece hoodie"],
  "autoLocalize": true,
  "includeSkus": true,
  "onlyNewResults": true,
  "maxResults": 25
}
```

***

### Output

Each extracted product is pushed to the default Apify **Dataset** with normalized Yuan (`CNY`) and `USD` pricing, full `skus` matrix, gallery images, and 6 cross-border agent links:

```json
{
  "mode": "product",
  "itemId": "7240935216",
  "title": "GX版 AJ4 Retro 复古高帮休闲运动篮球鞋 男女同款",
  "price": 260.0,
  "priceUsd": 36.11,
  "highPrice": 280.0,
  "originalPrice": 399.0,
  "salesCount": 418,
  "stock": 642,
  "skuCount": 24,
  "skus": [
    {
      "skuId": "12489120412",
      "skuName": "黑白奥利奥 / 42",
      "price": 260.0,
      "priceUsd": 36.11,
      "originalPrice": 399.0,
      "stock": 58,
      "skuImage": "https://si.geilicdn.com/pcitem1621765644-1a2b0000018f_800_800.jpg"
    }
  ],
  "attrList": [
    {
      "attrTitle": "配色",
      "attrValues": [
        {
          "attrId": "1001",
          "attrValue": "黑白奥利奥",
          "img": "https://si.geilicdn.com/pcitem1621765644-1a2b0000018f_800_800.jpg"
        }
      ]
    }
  ],
  "shopName": "Cappuccino 卡布奇诺",
  "shopId": "1621765644",
  "shopLogo": "https://si.geilicdn.com/vshop-logo-1621765644.jpg",
  "mainImage": "https://si.geilicdn.com/pcitem1621765644-1a2b0000018f_800_800.jpg",
  "images": [
    "https://si.geilicdn.com/pcitem1621765644-1a2b0000018f_800_800.jpg"
  ],
  "descImages": [],
  "agentLinks": {
    "cnfans": "https://cnfans.com/product/?shop_type=weidian&id=7240935216",
    "superbuy": "https://www.superbuy.com/en/page/buy/?nTag=Home-search&from=search-input&url=https%3A%2F%2Fweidian.com%2Fitem.html%3FitemID%3D7240935216",
    "hoobuy": "https://hoobuy.com/product/2/7240935216",
    "allchinabuy": "https://www.allchinabuy.com/en/page/buy/?nTag=Home-search&from=search-input&url=https%3A%2F%2Fweidian.com%2Fitem.html%3FitemID%3D7240935216",
    "mulebuy": "https://mulebuy.com/product/?shop_type=weidian&id=7240935216",
    "sugargoo": "https://www.sugargoo.com/#/home/productDetail?productLink=https%3A%2F%2Fweidian.com%2Fitem.html%3FitemID%3D7240935216&platform=WEIDIAN"
  },
  "itemUrl": "https://weidian.com/item.html?itemID=7240935216",
  "shopUrl": "https://weidian.com/?userid=1621765644",
  "scrapedAt": "2026-11-12T04:00:00Z"
}
```

#### Output Field Definitions

- **`mode` / `itemId` / `title`**: Record type (`product`, `shop_product`, `search_product`, `review`), numeric Weidian ID, and product title.
- **`price` / `priceUsd` / `highPrice` / `originalPrice`**: Selling price in CNY (¥), converted USD price (`$`), highest SKU price, and retail price.
- **`salesCount` / `stock` / `skuCount`**: Total units sold, total inventory across variants, and number of SKU combinations.
- **`skus` / `attrList`**: Complete SKU variant matrix (`skuId`, `skuName`, `price`, `priceUsd`, `stock`, `skuImage`) and option dimensions.
- **`shopName` / `shopId` / `shopLogo` / `shopUrl`**: Seller store name, numeric `userid`, store logo, and store URL.
- **`images` / `descImages` / `agentLinks`**: High-resolution gallery photos, description images, and 6 purchasing agent buy links.

#### Data Coverage (Always Populated vs. Conditional)

| Coverage Tier | Fields |
| :--- | :--- |
| **Always Populated (100%)** | `mode`, `itemId`, `title`, `price`, `priceUsd`, `highPrice`, `originalPrice`, `stock`, `skuCount`, `skus`, `images`, `agentLinks`, `itemUrl`, `scrapedAt` |
| **Conditional (When Present on Listing)** | `salesCount`, `shopName`, `shopId`, `shopLogo`, `descImages`, and review fields (`reviewId`, `text`, `reviewImages` when `includeReviews: true`) |

***

### Automated Daily Weidian Store Monitoring (Schedules, API, n8n & Claude MCP)

1. Run the Actor once with your target Weidian store `urls` (`https://weidian.com/?userid=...`) or product links.
2. In **Apify Console → Schedules → Create new schedule**, select **`axon-studio/weidian-scraper`** and set your cron frequency (e.g., daily).
3. Enable **`onlyNewResults: true`** (Delta Mode) so future runs emit only newly listed products.

#### Python, JavaScript & Synchronous REST API Integration

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_API_TOKEN")
run = client.actor("axon-studio/weidian-scraper").call(run_input={
    "urls": ["https://weidian.com/?userid=1621765644"],
    "includeSkus": True,
    "maxResults": 25,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["itemId"], item["title"], item["price"], item["skuCount"])
```

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_API_TOKEN' });
const run = await client.actor('axon-studio/weidian-scraper').call({
    urls: ['https://weidian.com/?userid=1621765644'],
    includeSkus: true,
    maxResults: 25,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0]);
```

```bash
curl -X POST "https://api.apify.com/v2/acts/axon-studio~weidian-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"urls":["https://weidian.com/item.html?itemID=7240935216"],"includeSkus":true}'
```

***

### How Much Does It Cost to Scrape Weidian? (Pricing)

**From $3.49 per 1,000 results on Gold plans (`$4.50 / 1,000` on Free/Starter) + `$0.02` per Actor start**

- **Full SKU Matrix & 6 Agent Links Included Free**: Unlike scrapers that charge extra for SKU details, every product row includes the complete `skus` matrix and 6 purchasing agent links at 1 flat rate.
- **Free Plan Preview**: Every Apify account includes **$5.00 in free monthly credits** (up to 25 Weidian products per preview run on the Free plan; upgrade to any paid plan for up to 5,000 products per run).

***

### FAQ & Legal Compliance

#### Do I need a Weidian account or WeChat login cookies?

**No.** This Actor extracts publicly accessible Weidian product, SKU, and store catalog data via mobile endpoints without requiring any login or cookies.

#### Can I paste CNFans, Superbuy, or Hoobuy links directly?

**Yes.** The URL parser automatically unpacks nested or encoded Weidian `itemID`s from CNFans, Superbuy, Hoobuy (`/product/2/...`), AllChinaBuy, Mulebuy, and Sugargoo links.

#### Is it legal to scrape public Weidian product listings?

This Actor collects publicly visible e-commerce product metadata and prices and does not access private user accounts. Under **GDPR** and **PIPL**, ensure you have a lawful basis for price comparison or market research. *Not affiliated with Weidian.*

# Actor input Schema

## `urls` (type: `array`):

Paste Weidian product URLs (https://weidian.com/item.html?itemID=...), raw numeric itemIDs, purchasing agent links (Superbuy, CNFans, Hoobuy, AllChinaBuy), or Weidian shop URLs (https://weidian.com/?userid=... extracts up to 10 featured showcase items per shop).

## `includeSkus` (type: `boolean`):

When enabled (default), extracts every color and size SKU combination with its exact CNY/USD price, real-time stock count, and variant image.

## `maxResults` (type: `integer`):

Maximum number of Weidian products to extract (Free plan preview: up to 25 products per run; full quota unlocked for paid plans).

## `onlyNewResults` (type: `boolean`):

When enabled, remembers seen itemIds in Key-Value Store (dedup-weidian-items) and only outputs newly discovered products.

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

Works out-of-the-box without proxies via direct HTTP.

## Actor input object example

```json
{
  "urls": [
    "https://weidian.com/item.html?itemID=2586205997",
    "https://weidian.com/item.html?itemID=7495500521",
    "https://hoobuy.com/product/2/7896006014"
  ],
  "includeSkus": true,
  "maxResults": 20,
  "onlyNewResults": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `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 = {
    "urls": [
        "https://weidian.com/item.html?itemID=2586205997",
        "https://weidian.com/item.html?itemID=7495500521",
        "https://hoobuy.com/product/2/7896006014"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("axon-studio/weidian-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 = { "urls": [
        "https://weidian.com/item.html?itemID=2586205997",
        "https://weidian.com/item.html?itemID=7495500521",
        "https://hoobuy.com/product/2/7896006014",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("axon-studio/weidian-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 '{
  "urls": [
    "https://weidian.com/item.html?itemID=2586205997",
    "https://weidian.com/item.html?itemID=7495500521",
    "https://hoobuy.com/product/2/7896006014"
  ]
}' |
apify call axon-studio/weidian-scraper --silent --output-dataset

```

## MCP server setup

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