# Weidian Scraper: 微店 Item Price, Stock, SKUs & Shop Rating Data (`getascraper/weidian-scraper`) Actor

Scrape Weidian (微店) product listings and merchant shop data by item URL or shop URL. Get price, sales count, stock, images, SKU variants, and shop rating for cross-border sourcing and competitive intelligence. Built for dropshippers and sourcing agents. No login required.

- **URL**: https://apify.com/getascraper/weidian-scraper.md
- **Developed by:** [GetAScraper](https://apify.com/getascraper) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 19 total users, 3 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $3.00 / 1,000 product 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

## 🛍️ Weidian Scraper: 微店 Item Price, Stock, SKUs & Shop Rating Data

<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;margin-bottom:0">
<tr>
<td colspan="4" style="padding:14px 18px;background:#FDF0F1;border:none;border-top:3px solid #C81E3A;border-left:1px solid #F5C6CE;border-right:1px solid #F5C6CE;color:#1C1917;border-radius:10px 10px 0 0">
<span style="font-size:16px;font-weight:700;color:#1C1917">Source Chinese fashion from new style to resale price.</span> <span style="font-size:15px;color:#57534E">Find new wholesale styles and stalls on 17ZWD, browse supplier photo albums on Yupoo, check item prices on Weidian and see what sells on Dewu.</span>
</td>
</tr>
<tr>
<td colspan="4" style="padding:10px 14px;background:#C81E3A;border:none;border-left:1px solid #F5C6CE;border-right:1px solid #F5C6CE;color:#FFFFFF">
<span style="color:#FFFFFF;font-size:14px;font-weight:700;letter-spacing:0.5px">CHINA FASHION SOURCING</span>
<span style="color:#FFFFFF;font-size:13px">&nbsp;&nbsp;&bull;&nbsp;&nbsp;Four Chinese sources resellers use to find styles, suppliers and prices.</span>
</td>
</tr>
<tr>
<td style="padding:10px 12px;border:none;border-left:1px solid #F5C6CE;border-bottom:1px solid #F5C6CE;vertical-align:top;width:25.0%;background:#FFFFFF;color:#1C1917">
<span style="overflow-wrap:break-word;word-break:break-word"><img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/jNDbFabbVxMhnQNb4-actor-UBU7gFUCSabhp7peO-9RxF87jrMK-images_%2872%29.png" width="20" height="20" style="vertical-align:middle;border-radius:4px">&nbsp;<a href="https://apify.com/getascraper/17zwd-wholesale-fashion-catalog-scraper" style="color:#1C1917;text-decoration:none;font-weight:700;font-size:13px">17ZWD</a></span><br>
<span style="color:#57534E;font-size:11px">Daily new wholesale styles with stall details.</span>
</td>
<td style="padding:10px 12px;border:none;border-left:1px solid #F5C6CE;border-bottom:1px solid #F5C6CE;vertical-align:top;width:25.0%;background:#FFFFFF;color:#1C1917">
<span style="overflow-wrap:break-word;word-break:break-word"><img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/jNDbFabbVxMhnQNb4-actor-F6FNmj82mGUUEUB4s-xXZLgckkkU-168814.png" width="20" height="20" style="vertical-align:middle;border-radius:4px">&nbsp;<a href="https://apify.com/getascraper/yupoo-store-monitor" style="color:#1C1917;text-decoration:none;font-weight:700;font-size:13px">Yupoo</a></span><br>
<span style="color:#57534E;font-size:11px">Supplier albums with photo links and new-album alerts.</span>
</td>
<td style="padding:10px 12px;border:none;border-left:1px solid #F5C6CE;border-bottom:1px solid #F5C6CE;vertical-align:top;width:25.0%;background:#FDF0F1;color:#1C1917">
<span style="overflow-wrap:break-word;word-break:break-word"><img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/jNDbFabbVxMhnQNb4-actor-MqIpcE3QUYByEZ8Fq-OLdzVMFFLF-3d9532fe-09b4-47d1-92d8-a5d453e5c2b7_thumb.jpg" width="20" height="20" style="vertical-align:middle;border-radius:4px">&nbsp;<a href="https://apify.com/getascraper/weidian-scraper" style="color:#C81E3A;text-decoration:none;font-weight:700;font-size:13px">Weidian</a></span><br>
<span style="color:#C81E3A;font-size:11px;font-weight:700">&#10148; You are here</span>
</td>
<td style="padding:10px 12px;border:none;border-left:1px solid #F5C6CE;border-right:1px solid #F5C6CE;border-bottom:1px solid #F5C6CE;vertical-align:top;width:25.0%;background:#FFFFFF;color:#1C1917">
<span style="overflow-wrap:break-word;word-break:break-word"><img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/jNDbFabbVxMhnQNb4-actor-C6BzXPLo365jvN5Up-6tn7V9GMbD-CompressJPEG.Online_img%28512x512%29_%2817%29.jpg" width="20" height="20" style="vertical-align:middle;border-radius:4px">&nbsp;<a href="https://apify.com/getascraper/poizon-scraper" style="color:#1C1917;text-decoration:none;font-weight:700;font-size:13px">Dewu (Poizon)</a></span><br>
<span style="color:#57534E;font-size:11px">Sneaker and apparel catalog with sales counts.</span>
</td>
</tr>
</table>
<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0;margin-top:0;margin-bottom:0">
<tr>
<td style="padding:24px 28px;background:#FDF0F1;border:1px solid #F5C6CE;border-top:none;color:#1C1917">
<span style="font-size:23px;font-weight:800;color:#1C1917;line-height:1.3">Get Weidian product prices, stock, and shop trust data ready for your spreadsheet in seconds.</span><br>
<span style="font-size:15px;color:#57534E;line-height:1.6">Turn any Weidian (微店) item or shop link into structured sourcing data: price, stock, sales count, images, SKU variants, and shop credit rating, no login or browser required.</span>
</td>
</tr>
</table>
<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0;margin-top:0">
<tr>
<td style="padding:14px 12px;width:25%;background:#FFFFFF;border:1px solid #F5C6CE;vertical-align:top;border-top:none;color:#1C1917;border-radius:0 0 0 10px">
<span style="font-size:15px;font-weight:800;color:#A3172F">🔗 No login, no browser</span><br>
<span style="font-size:12px;color:#57534E">Reads any item or shop link straight from Weidian's own page, sub-second per request</span>
</td>
<td style="padding:14px 12px;width:25%;background:#FFFFFF;border:1px solid #F5C6CE;border-left:none;vertical-align:top;border-top:none;color:#1C1917">
<span style="font-size:15px;font-weight:800;color:#A3172F">🏪 Shop trust built in</span><br>
<span style="font-size:12px;color:#57534E">Every shop link returns credit rating, repurchase rate, and followers alongside its products</span>
</td>
<td style="padding:14px 12px;width:25%;background:#FFFFFF;border:1px solid #F5C6CE;border-left:none;vertical-align:top;border-top:none;color:#1C1917">
<span style="font-size:15px;font-weight:800;color:#A3172F">🔁 Easy to schedule</span><br>
<span style="font-size:12px;color:#57534E">Re-run your saved item and shop links on a schedule to track price and stock changes over time</span>
</td>
<td style="padding:14px 12px;width:25%;background:#FFFFFF;border:1px solid #F5C6CE;border-left:none;vertical-align:top;border-top:none;color:#1C1917;border-radius:0 0 10px 0">
<span style="font-size:15px;font-weight:800;color:#A3172F">🧾 Full product record</span><br>
<span style="font-size:12px;color:#57534E">Price, stock, sales count, images, and SKU variants in one row per item</span>
</td>
</tr>
</table>

Get structured product and shop data from **微店 (Weidian)**, one of China's largest social-commerce platforms for small independent merchant storefronts. Give this Actor a Weidian item link or shop link and it returns clean, structured rows: product name, price, stock, sales count, images, SKU variants, and shipping-fee text, plus shop-level credit rating, repurchase rate, follower count, and location. Built for cross-border sourcing agents, dropshipping catalog sync, and competitive shop monitoring, without opening a single page by hand. Runs on the Apify platform with scheduling, integrations (Make, Zapier, Google Sheets), and run monitoring built in.

### 🔍 What does Weidian Scraper do?

This Actor reads public Weidian item and shop pages directly and returns structured data in seconds.

Give it a Weidian item URL or numeric item ID and it returns the product name, price in CNY, stock level, sales count, sellable status, full image set, and per-SKU price and stock breakdown. Give it a shop URL or numeric shop ID and it returns the shop's name, seller nickname, credit tier, repurchase rate, follower count, and province and city, and always returns the shop profile when it is available. Listing a shop's full product catalog is experimental and often returns nothing, so add the specific item links you need for guaranteed full product detail. Weidian has no public keyword-search page, so this Actor works from known item and shop links rather than open-ended search, the same reliable pattern used by this portfolio's other seller and marketplace Actors.

### 💡 Why use Weidian Scraper?

- **I am a dropshipping sourcing agent** comparing Weidian supplier prices and stock levels across dozens of shops before I commit to a bulk order.
- **I am a cross-border sourcing manager** vetting a new Weidian shop's credit rating and repurchase rate before I wire a deposit.
- **I am a competitive-intelligence analyst** tracking a competitor's Weidian storefront for new listings and price changes on a schedule.
- **I am a catalog operations lead** syncing my own resale catalog against a Weidian supplier's live stock and pricing so my listings never go stale.

### 🚀 How to use Weidian Scraper

<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0">
<tr>
<td style="padding:16px 14px;width:33%;background:#FDF0F1;border:1px solid #F5C6CE;border-radius:10px 0 0 10px;vertical-align:top;color:#1C1917">
<span style="font-size:12px;font-weight:800;color:#C81E3A;letter-spacing:1px">STEP 1</span><br>
<span style="font-size:14px;font-weight:700;color:#1C1917">Add item or shop links</span><br>
<span style="font-size:12px;color:#57534E">Paste Weidian item or shop URLs, or just their numeric IDs.</span>
</td>
<td style="padding:16px 14px;width:33%;background:#FDF0F1;border:1px solid #F5C6CE;border-left:none;vertical-align:top;color:#1C1917">
<span style="font-size:12px;font-weight:800;color:#C81E3A;letter-spacing:1px">STEP 2</span><br>
<span style="font-size:14px;font-weight:700;color:#1C1917">Run the Actor</span><br>
<span style="font-size:12px;color:#57534E">It reads each public page directly, no login or sign-in wall.</span>
</td>
<td style="padding:16px 14px;width:33%;background:#FDF0F1;border:1px solid #F5C6CE;border-left:none;border-radius:0 10px 10px 0;vertical-align:top;color:#1C1917">
<span style="font-size:12px;font-weight:800;color:#C81E3A;letter-spacing:1px">STEP 3</span><br>
<span style="font-size:14px;font-weight:700;color:#1C1917">Export your results</span><br>
<span style="font-size:12px;color:#57534E">Download one row per product or shop: price, stock, sales, and trust signals.</span>
</td>
</tr>
</table>

### ⚙️ Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `itemUrls` | array of strings | No | Weidian item URLs (`weidian.com/item.html?itemID=...`) or bare numeric item IDs. Use this or `shopUrls`, or both. |
| `shopUrls` | array of strings | No | Weidian shop URLs (`weidian.com/?userid=...`) or bare numeric shop IDs. |
| `fetchShopCatalog` | boolean | No | Experimental. Try to list each shop's product catalog. It often returns nothing; the shop profile is always returned when available. Defaults to `false`. |
| `proxyConfiguration` | object | No | Proxy routing settings. Defaults to Apify's standard proxy network. |
| `includeSkuVariants` | boolean | No | Include the per-variant price and stock breakdown for each item. Defaults to `true`. |
| `includeShopProfile` | boolean | No | Push a shop-profile row for each shop in `shopUrls`. Defaults to `true`. |
| `enrichCatalogItems` | boolean | No | Experimental. Fetch full item detail for every product found in a shop's catalog, when the catalog returns any. Defaults to `false`. |
| `maxItems` | integer | No | Maximum rows to collect before stopping. `0` for no limit. Defaults to `25`. |
| `maxCatalogPagesPerShop` | integer | No | Experimental. Maximum catalog pages to try per shop. No effect when the catalog returns nothing. Defaults to `5`. |
| `sinceItemId` | integer | No | Experimental catalog filter. Skip catalog items at or below this numeric item ID, for a one-off incremental pull. Defaults to `0` (include everything). |
| `onlyNewItems` | boolean | No | Experimental. For scheduled runs: only return catalog items not seen in a previous run. Applies only when the shop catalog returns items. Defaults to `false`. |
| `maxConcurrency` | integer | No | Maximum parallel requests. Defaults to `5`. |

### 📦 Output

Download your results as a spreadsheet, a table, or structured data ready for your own systems. Each item is one row:

```json
{
  "recordType": "item",
  "itemId": "2586205997",
  "itemName": "Pre-sale 1-2 Zhou Fa (mention postage) Super Thick Super Thick Rui Meijia Thickened All Cotton Disposable Face Wash/Cleansing Towel/Beauty Towel/Makeup Remover Remotile Cotton Soft Towel Kill a Cotton Age",
  "priceYuan": 25,
  "priceDisplayRaw": "25起",
  "soldText": "销量 7067",
  "soldCount": 7067,
  "stock": 850,
  "isSellable": true,
  "images": ["https://si.geilicdn.com/wdseller1291401858-1a4800000191077ef49f0a23037f_1182_1182.jpg"],
  "skuVariants": [
    { "skuId": "8138864585", "title": "单包", "priceYuan": 15, "stock": 485 },
    { "skuId": "8138864587", "title": "提装（一提三包）", "priceYuan": 45, "stock": 167 }
  ],
  "deliveryFeeText": "Express from 8.0 yuan",
  "shopId": "1291401858",
  "shopName": "DEER鹿 外贸家居",
  "shopUrl": "https://weidian.com/?userid=1291401858",
  "itemUrl": "https://weidian.com/item.html?itemID=2586205997",
  "scrapedAt": "2026-10-19T23:01:34.257Z"
}
```

### 📊 Output data fields

| Field | Type | Description |
| --- | --- | --- |
| `recordType` | string | `item`, `shop`, or `catalogItem`. |
| `itemId` / `shopId` | string | Weidian's own numeric item or shop ID. |
| `itemName` | string | Product name. |
| `priceYuan` | number | Price in CNY (yuan). |
| `soldCount` | number | Best-effort parsed sales count. |
| `stock` | number | Units in stock. |
| `isSellable` | boolean | Whether the item currently accepts orders. |
| `images` | array of strings | Full-resolution product image URLs. |
| `skuVariants` | array of objects | Per-variant price and stock breakdown, when enabled. |
| `deliveryFeeText` | string | Raw shipping-fee text from the item page. |
| `shopName` | string | Shop display name. |
| `creditLevel` | number | Shop credit tier (shop-profile rows). |
| `repurchaseRatePct` | number | Shop repurchase rate percentage (shop-profile rows). |
| `followerCount` | number | Number of shop followers. |
| `locationProvince` / `locationCity` | string | Shop's registered province and city, as shown on the platform. |
| `catalogFetchOk` | boolean | Whether the experimental catalog listing returned data for this shop (only present when `fetchShopCatalog` is on). |
| `catalogItemCount` | number | Number of catalog items found, when the catalog call succeeded. |
| `itemUrl` / `shopUrl` | string | Canonical link back to the source page. |
| `scrapedAt` | string | Timestamp when this row was collected. |

### 💰 Pricing

This Actor uses pay-per-result pricing: you pay for the rows you actually get back, and nothing for an empty run. There are no subscriptions and no minimum spend. Use `maxItems` to control how many results a run returns.

### ⭐ Enjoying Weidian Scraper: 微店 Item Price, Stock, SKUs & Shop Rating Data?

<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0">
<tr>
<td style="padding:20px 24px 14px;background:#FDF0F1;border:1px solid #F5C6CE;border-left:5px solid #C81E3A;border-radius:10px 10px 0 0;color:#1C1917">
<span style="font-size:20px;letter-spacing:4px">⭐ ⭐ ⭐ ⭐ ⭐</span><br>
<span style="font-size:17px;font-weight:800;color:#1C1917">Turning a Weidian link into sourcing-ready data before you commit to an order?</span><br>
<span style="font-size:14px;color:#57534E">A 5-star rating takes 10 seconds and helps other sourcing agents and researchers find it. Your feedback also tells us what to build next.</span>
</td>
</tr>
<tr>
<td style="padding:0;background:#C81E3A;border:1px solid #C81E3A;border-left:5px solid #C81E3A;border-top:none;border-radius:0 0 10px 10px;text-align:center;color:#FFFFFF">
<a href="https://apify.com/getascraper/weidian-scraper/reviews" style="display:block;padding:13px 16px;color:#FFFFFF;text-decoration:none;font-weight:800;font-size:15px;letter-spacing:0.3px">★&nbsp;&nbsp;Rate this Actor on Apify</a>
</td>
</tr>
</table>

### ✨ Tips

- Paste a full item or shop URL, or just the numeric ID, both work the same way.
- Save the item links you re-check most often and run them on a schedule to track price and stock changes.
- Leave `fetchShopCatalog` off for the most reliable runs. It is experimental and often returns nothing.
- Keep `includeSkuVariants` on when you need exact per-size or per-color stock, off when you just need headline pricing.
- Combine `shopUrls` for shop trust data with a saved list of `itemUrls` for the specific products you care about.

### ❓ FAQ, disclaimers, and support

##### Does this Weidian scraper get blocked?

No CAPTCHA, login wall, or bot-detection challenge stands between this Actor and Weidian's public item and shop pages. It reads each page the same way a browser does and runs reliably one link after another.

##### 微店数据采集工具哪里找? (Where can I find a Weidian data scraping tool?)

This Actor is that tool. Give it a Weidian (微店) item or shop link, or just the numeric ID, and it returns structured price, stock, and shop-rating data in seconds. No login, no browser, and no custom script to write.

##### Does it extract private seller contact details?

No. Weidian itself masks each seller's WeChat handle on the page, and this Actor never attempts to unmask or reconstruct it. Only publicly shown shop data, name, credit rating, repurchase rate, and followers, is collected.

##### How fresh is the data?

Every run fetches the current item or shop page directly from Weidian at run time. There is no cached or stale data. For price and stock monitoring, schedule the Actor on your saved item links to track changes over time.

##### Does it support keyword search across Weidian?

Not yet. Weidian has no public keyword-search page, so this Actor works from known item and shop links, the same reliable, low-block-risk pattern used across this portfolio's other marketplace Actors. Provide the specific items or shops you want to track.

##### Does it scrape a shop's entire product catalog?

Not reliably. Listing a shop's catalog is an experimental option that is off by default and often returns nothing. A shop link always returns the full shop profile when it is available. To get product data, add the specific item links you need and each one returns the full record.

##### Is scraping Weidian data legal?

This Actor collects publicly available product and shop data. You are responsible for complying with Weidian's Terms of Service and applicable laws in your use of the data.

##### Found a bug or need a field added?

Open an issue on the Actor's **Issues** tab. Custom solutions are available on request.

### 🔗 Other actors

- [Avito Seller Profile Scraper: Профили продавцов Авито](https://apify.com/getascraper/avito-seller-profile-scraper) ↗ - vets a Russian classifieds seller's rating, verification badges, and active listings before you buy.
- [Mercari US Scraper: Sold Prices, Conditions & Sellers](https://apify.com/getascraper/mercari-us-scraper) ↗ - pulls sold listing prices and seller data from Mercari's US marketplace.
- [Wildberries Seller Scraper: Supplier Intel & Stats](https://apify.com/getascraper/wildberries-seller-scraper) ↗ - profiles a Wildberries supplier's registered company and catalog stats.
- [Poizon Scraper: China Sneaker Catalog](https://apify.com/getascraper/poizon-scraper) ↗ - scrapes China's largest authentication-verified resale catalog for sneakers and apparel.

# Changelog

This Actor's version history is a separate document: https://apify.com/getascraper/weidian-scraper/changelog.md

# Actor input Schema

## `itemUrls` (type: `array`):

One or more Weidian product URLs (weidian.com/item.html?itemID=...) or bare numeric item IDs. Each returns full product data: name, price, stock, sales count, images, and SKU variants.

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

One or more Weidian shop URLs (weidian.com/?userid=...) or bare numeric shop IDs. Returns the shop profile (name, rating, repurchase rate, followers). Product catalog listing is experimental and often returns nothing, see Fetch Shop Catalog.

## `fetchShopCatalog` (type: `boolean`):

Experimental. For each shop, try to list its product catalog. This often returns nothing; the shop profile is always returned when available. Leave off for the most reliable runs. For guaranteed product detail, add specific item URLs or IDs instead.

## `includeSkuVariants` (type: `boolean`):

Include the per-variant breakdown (size/color/style options with their own price and stock) for each item.

## `includeShopProfile` (type: `boolean`):

Push a shop-profile row (name, rating, repurchase rate, followers, location) for each shop in Shop URLs or IDs. Disable if you only want item rows.

## `enrichCatalogItems` (type: `boolean`):

Experimental, only applies when Fetch Shop Catalog is on and returns catalog items (often it returns none). Fetches the full item-detail page for each product found, adding images, SKU variants, and delivery info. Uses more requests.

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

Maximum number of rows (items, shops, and catalog rows combined) to push before stopping. Set to 0 for no limit.

## `maxCatalogPagesPerShop` (type: `integer`):

Experimental. Maximum number of catalog pages (20 items per page) to try per shop when Fetch Shop Catalog is enabled. Has no effect when the catalog returns nothing.

## `sinceItemId` (type: `integer`):

Experimental catalog filter: skip catalog items with a numeric item ID at or below this value. Useful for one-off incremental pulls when you already know the highest item ID from a previous run. Leave at 0 to include everything.

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

For scheduled/recurring runs: remember which catalog item IDs were already returned for each shop (persisted in the Actor's key-value store) and only push items not seen in a previous run. Ideal for price/stock-churn monitoring without re-downloading the whole catalog every time.

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

Maximum number of parallel requests.

## `requestDelayMs` (type: `integer`):

Extra delay before each request, on top of normal crawler pacing. Increase if you plan to scrape many shops in one run and want to stay conservative against Weidian's soft bot-tracking signals.

## `debugLogging` (type: `boolean`):

Enable verbose per-step logging, including raw catalog API responses when they don't parse as expected.

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

Proxy settings. Datacenter Apify Proxy is the default and was sufficient for every endpoint tested during feasibility recon (no IP-reputation gating observed). Switch to residential only if you see blocks at high volume.

## Actor input object example

```json
{
  "itemUrls": [
    "https://weidian.com/item.html?itemID=2586205997"
  ],
  "shopUrls": [
    "https://weidian.com/?userid=1291401858"
  ],
  "fetchShopCatalog": false,
  "includeSkuVariants": true,
  "includeShopProfile": true,
  "enrichCatalogItems": false,
  "maxItems": 25,
  "maxCatalogPagesPerShop": 5,
  "sinceItemId": 0,
  "onlyNewItems": false,
  "maxConcurrency": 5,
  "requestDelayMs": 0,
  "debugLogging": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "itemUrls": [
        "https://weidian.com/item.html?itemID=2586205997"
    ],
    "shopUrls": [
        "https://weidian.com/?userid=1291401858"
    ],
    "fetchShopCatalog": false,
    "includeSkuVariants": true,
    "includeShopProfile": true,
    "enrichCatalogItems": false,
    "maxItems": 25,
    "maxCatalogPagesPerShop": 5,
    "sinceItemId": 0,
    "onlyNewItems": false,
    "maxConcurrency": 5,
    "requestDelayMs": 0,
    "debugLogging": false,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("getascraper/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 = {
    "itemUrls": ["https://weidian.com/item.html?itemID=2586205997"],
    "shopUrls": ["https://weidian.com/?userid=1291401858"],
    "fetchShopCatalog": False,
    "includeSkuVariants": True,
    "includeShopProfile": True,
    "enrichCatalogItems": False,
    "maxItems": 25,
    "maxCatalogPagesPerShop": 5,
    "sinceItemId": 0,
    "onlyNewItems": False,
    "maxConcurrency": 5,
    "requestDelayMs": 0,
    "debugLogging": False,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("getascraper/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 '{
  "itemUrls": [
    "https://weidian.com/item.html?itemID=2586205997"
  ],
  "shopUrls": [
    "https://weidian.com/?userid=1291401858"
  ],
  "fetchShopCatalog": false,
  "includeSkuVariants": true,
  "includeShopProfile": true,
  "enrichCatalogItems": false,
  "maxItems": 25,
  "maxCatalogPagesPerShop": 5,
  "sinceItemId": 0,
  "onlyNewItems": false,
  "maxConcurrency": 5,
  "requestDelayMs": 0,
  "debugLogging": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call getascraper/weidian-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getascraper/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/MqIpcE3QUYByEZ8Fq/builds/2HsQkbmGOYHmAD62O/openapi.json
