# 1688 Scraper - Wholesale Prices, MOQ, SKUs & Suppliers (`ragnum/1688-scraper`) Actor

Scrape 1688.com (Alibaba China wholesale) by keyword or offer URL: CNY quantity price tiers, MOQ and unit, full SKU matrix with stock, specs, images, supplier company, location and ratings. Search-only mode for cheap bulk listings. No login, no cookies to supply.

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

## Pricing

from $2.09 / 1,000 product (full details)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

### What does 1688 Scraper do?

**1688 Scraper** turns **[1688.com](https://www.1688.com)**, Alibaba's Chinese wholesale marketplace, into clean, typed product rows. Search by keyword (Chinese or English), or paste offer IDs and links. You get **full product and supplier detail for $2.99 per 1,000 products**, or **search-result rows for $1.49 per 1,000**.

Each full product row gives you what you need for sourcing from Chinese factories:

- **Quantity price tiers in CNY** as numbers (`1–499 pcs ¥1.98 · 500–9,998 ¥1.50 · 9,999+ ¥1.30`), or **per-variant prices** when the price depends on the SKU, plus the **price basis** so you know which one applies
- **Minimum order quantity (MOQ)** as an integer, with the **unit** (个, 件, 米, 套…)
- **Full SKU matrix** (optional, no extra charge): every color/size/model with SKU ID, price, **stock**, image and **weight**
- **Specs** (材质, 工艺, 适用型号…), category, all images, video and the description's text and images
- **Supplier**: company name, legal name, shop URL, **province and city**, Super Factory / Power Merchant / TrustPass flags, 3-month **repeat purchase rate**, service score, years on 1688
- **Sales** as a number (`已售4.8万+个` → `48952`), product **rating**, positive-review rate, review count and review tags
- **Shipping**: ship-from location, promised dispatch time, unit weight, free-shipping flag
- Buyer-protection **services**, badges, certifications (CE, FCC, RoHS…), **dropshipping** (一件代发) flag, ad flag
- **English or Chinese**: set `language: "en"` for 1688's own English translation of titles, specs and variant names, with the Chinese title kept in `titleOriginal`. Free.

No login, no cookies, no 1688 account. **Pairs with [Ragnum's Alibaba Scraper](https://apify.com/ragnum/alibaba-scraper)**, so you can compare the same product on Alibaba.com (export prices in USD) and 1688 (domestic Chinese wholesale prices).

### Why scrape 1688?

- 🏭 **Sourcing and supplier discovery.** Find factories for a product, compare MOQs and quantity tiers, filter by province (广东, 浙江…) or by Super Factory status.
- 💹 **Price research and arbitrage.** 1688 is where Alibaba.com, AliExpress, Amazon and TikTok Shop sellers buy. Compare its CNY prices with resale prices elsewhere.
- 📦 **Dropshipping research.** Find offers that support 一件代发, with stock per SKU and promised dispatch times.
- 🤖 **AI agents and automations.** Typed JSON with parsed numbers, not display strings.

Running on Apify also gives you scheduling, monitoring, API access and integrations (Make, Zapier, Google Sheets, webhooks…).

### How much does it cost to scrape 1688?

Pay per result. Platform usage, including proxies, is **included in the price**.

| Mode | Price | Event |
|---|---|---|
| **Full detail** (default) | **$2.99 per 1,000 products** ($0.00299 each) | `product` |
| **Search-only** (`includeDetails: false`) | **$1.49 per 1,000 products** ($0.00149 each) | `search-product` |
| SKU matrix (`includeSkus: true`) | included | — |

| Products | Full detail | Search-only |
|---|---|---|
| 100 | $0.30 | $0.15 |
| 1,000 | $2.99 | $1.49 |
| 10,000 | $29.90 | $14.90 |

You only pay for products that end up in your dataset:

- **Failed and blocked requests are free.** Every retry is on us.
- **Duplicates are free.** A product found by several keywords is delivered and charged once per run.
- **Filtered products are free.** Products skipped by `excludeKeywords`, the price range or the province/city filter are never charged and don't count toward your limits.
- **Error rows are free** (bad or removed offer IDs).
- **Each product is charged once, as one event.** If a product page can't be read in detail mode, you still get the product's search-result row (with `detailError` set), charged at the cheaper `search-product` price, never both.

Set **Max results per keyword** and **Max results in total** to control spend. You can also set a **maximum cost per run** in the run options. The scraper stops cleanly when it reaches that limit and never charges beyond it.

### How to scrape 1688

1. Click **Try for free**.
2. Enter one or more **keywords**, e.g. `手机壳` (phone case), `蓝牙耳机` (Bluetooth earbuds), `瑜伽垫` (yoga mat), `LED灯带` (LED strip), `包装盒` (packaging box). Chinese keywords give the best matches.
3. Optional: sort (best selling, price), **price range in CNY**, **supplier province/city**, **supplier type** (Super Factory, Certified Merchant), words to exclude.
4. Choose **full details** (default) or **search-only**, switch on the **SKU matrix** if you need every variant, and pick **English** if you don't read Chinese.
5. Click **Start**, then download **JSON, CSV, Excel or HTML**, or read the results through the **API**.

Already have offer links? Paste them into **Offer IDs or URLs**: each one returns one full row.

### Input

```json
{
    "keywords": ["手机壳", "LED灯带"],
    "maxResultsPerKeyword": 100,
    "includeDetails": true,
    "includeSkus": false,
    "sortBy": "bestSelling",
    "priceMin": 1,
    "priceMax": 50,
    "province": "广东",
    "merchantType": "any",
    "excludeKeywords": ["二手"]
}
```

Offer mode:

```json
{
    "offers": ["905559094884", "https://detail.1688.com/offer/974807377679.html"],
    "includeSkus": true
}
```

| Field | Type | Default | What it does |
|---|---|---|---|
| `keywords` | string\[] | `["手机壳"]` (prefill) | Search terms; each is searched separately. |
| `offers` | string\[] | `[]` | Offer IDs or any 1688 offer link (detail.1688.com, m.1688.com, `?offerId=` links, qr.1688.com share links). When set, keywords are ignored. |
| `maxResultsPerKeyword` | integer | 100 | 1–2,000 (1688 shows at most 2,000 results per keyword). |
| `maxResults` | integer | — | Cap for the whole run. |
| `includeDetails` | boolean | `true` | Full product rows (`product`) or search-result rows (`search-product`). |
| `includeSkus` | boolean | `false` | Adds `skus[]`, the full variant matrix. Free. |
| `language` | enum | `zh` | `zh` = as listed (Chinese). `en` = 1688's English translation of titles, specs and variant names. Free. |
| `sortBy` | enum | `relevance` | `relevance`, `bestSelling`, `priceAsc`, `priceDesc`. |
| `priceMin` / `priceMax` | number | — | Price range in CNY (yuan), on the listed price. |
| `province` / `city` | string | — | Supplier location in Chinese, e.g. `广东` / `深圳`. Needs full details. |
| `merchantType` | enum | `any` | `any`, `factory` (Super Factory), `verified` (Certified Merchant). |
| `excludeKeywords` | string\[] | `[]` | Skip titles containing any of these words. |
| `proxyCountry` | enum | `CN` | `CN`, `HK`, `US` or `auto`. |
| `maxConcurrency` | integer | 8 | Product pages fetched in parallel (1–8). |

### Output

One row per product. Example full-detail row (shortened):

```json
{
    "offerId": "1078135980629",
    "url": "https://detail.1688.com/offer/1078135980629.html",
    "title": "官方二合一适用于苹果18手机壳实色背板iPhone17pm磁吸IC手机壳",
    "titleOriginal": "官方二合一适用于苹果18手机壳实色背板iPhone17pm磁吸IC手机壳",
    "imageUrl": "https://cbu01.alicdn.com/img/ibank/O1CN01BlrURrz0XAJ32pKq_!!2222229001011-0-cib.jpg",
    "categoryName": "手机保护套",
    "specs": [{ "name": "材质", "value": "二合一软边硬背板亚克力" }, { "name": "工艺", "value": "注塑" }],
    "price": { "min": 24, "max": 26, "currency": "CNY" },
    "priceUsd": 4,
    "priceBasis": "quantity",
    "quantityPrices": [
        { "minQty": 10, "maxQty": 499, "price": 26 },
        { "minQty": 500, "maxQty": 1999, "price": 25 },
        { "minQty": 2000, "maxQty": null, "price": 24 }
    ],
    "minOrderQuantity": 10,
    "unit": "个",
    "stock": 239976,
    "salesText": "已售70+个",
    "salesCount": 70,
    "repurchaseRate": 0.13,
    "rating": 4.9,
    "province": "广东省",
    "city": "佛山市",
    "supplier": {
        "memberId": "b2b-222222900101123d41",
        "companyName": "佛山市鼎盛塑胶制品有限公司",
        "shopUrl": "https://shop02l783r5281r2.1688.com",
        "sellerType": "factory",
        "sellerIdentity": "superFactory",
        "isSuperFactory": true,
        "years": 1,
        "repeatPurchaseRate": 0.7414,
        "serviceScore": 5,
        "location": "广东省佛山市"
    },
    "shipping": { "location": "广东省佛山市", "deliveryText": "常发申通快递", "deliveryDays": 1, "unitWeightKg": null, "freeShipping": false },
    "skuSummary": { "properties": [{ "name": "颜色", "values": ["樱桃红", "天空蓝", "…"] }, { "name": "适用型号", "values": ["iPhone 18 PRO", "…"] }], "totalVariants": 108 },
    "reviewSummary": { "rating": 4.9, "positiveRate": 0.967, "reviewCount": 27 },
    "isAd": true,
    "detailsFetched": true,
    "keyword": "手机壳",
    "rank": 1,
    "scrapedAt": "2026-11-09T05:52:27.993Z"
}
```

| Field | Description |
|---|---|
| `offerId`, `url` | 1688 offer ID and page URL. |
| `title`, `titleOriginal` | Title in the chosen language, and the Chinese title as listed (null in offer mode with `en`). |
| `imageUrl`, `images`, `videoUrl` | Images and video as listed. |
| `categoryId`, `categoryName`, `specs[]` | Leaf category and product attributes `{name, value}`. |
| `description` | `{text, images[]}`: plain text and image URLs of the description (no HTML). |
| `price` | `{min, max, currency: "CNY"}` over all tiers or variants. |
| `priceUsd` | 1688's own USD conversion of the listed price (keyword mode). |
| `priceBasis` | `quantity` (see `quantityPrices`) or `variant` (see `skus`). |
| `quantityPrices[]` | `{minQty, maxQty, price}`; `maxQty: null` = and above. |
| `minOrderQuantity`, `unit`, `stock` | MOQ, sales unit, available quantity. |
| `salesText`, `salesCount` | Sales as shown and as a number. |
| `repurchaseRate`, `rating` | Repurchase rate (0–1) shown in search; product rating (0–5). |
| `province`, `city` | Supplier ship-from location. |
| `supplier` | Company-level supplier data (see example). |
| `shipping`, `services`, `badges`, `certifications`, `isDropshipping` | Shipping promise and weight, protection services, badges, certifications, 一件代发. |
| `skuSummary`, `skus[]` | Variant properties; full matrix `{skuId, specs, variantSpecs[], price, stock, imageUrl, weightKg}` when `includeSkus` is on. |
| `reviewSummary` | `{rating, positiveRate, reviewCount, tags[]}`. |
| `isAd`, `keyword`, `rank`, `page`, `source`, `scrapedAt` | Context of the row. |
| `detailsFetched`, `detailError` | `false` + `detailError` on a search-only fallback row. |

**Search-only rows** (`includeDetails: false`) have `offerId, url, title, titleOriginal, imageUrl, images, price, priceUsd, minOrderQuantity, salesText, salesCount, repurchaseRate, rating, supplier {memberId, companyName, shopUrl, years}, badges, certifications, services, isDropshipping, isAd` and the context fields. 1688's search results don't include price tiers, the unit or the supplier's location; those come with full details.

**Error rows** (offer mode, never charged): `{input, error, errorCode, retryable}` with `errorCode` `INVALID_OFFER_ID` (not a 1688 offer link), `OFFER_UNAVAILABLE` (removed or never existed) or `RETRIEVAL_FAILED` (couldn't be fetched after retries; try again later).

#### Run summary (`RUN_SUMMARY`)

Each run saves a `RUN_SUMMARY` record in its key-value store (also linked as **Run summary** in the Output tab):

- per keyword: search pages and product pages attempted, succeeded and failed; why the keyword stopped
- products excluded by your filters, duplicates skipped, rows per charged event, error rows
- field fill rates
- warnings: `STRUCTURE_CHANGE_SUSPECTED` (1688 changed its pages; please open an issue), `CHARGE_LIMIT_REACHED`, `FREE_PLAN_PREVIEW`, `HIGH_FAILURE_RATE`

### Use with AI agents (Apify MCP server)

Copy this to your AI assistant:

```
Use the Apify Actor ragnum/1688-scraper (MCP: https://mcp.apify.com?tools=ragnum/1688-scraper).
Minimal input: {"keywords": ["瑜伽垫"], "maxResultsPerKeyword": 50}
Search-only (cheaper): add "includeDetails": false. Specific offers: {"offers": ["<offer id or URL>"]}.
Prices are CNY numbers; quantityPrices holds the MOQ tiers. README: https://apify.com/ragnum/1688-scraper
```

An agent can then answer requests like *"Find 50 yoga-mat factories in Zhejiang with an MOQ under 100 and compare their 500-unit price."*

### Limits and known gaps

- **Search depth:** 1688 shows at most 2,000 results per keyword (34 pages of 60).
- **Province/city filter** is checked on each product page, because 1688 search has no location filter. Narrow filters can end a keyword early; `RUN_SUMMARY` says so.
- **Not included in v1:** detailed supplier scores (logistics, dispute, consultation…), factory size, employee count and certificates from the supplier profile pages; customisation/OEM service details; full review texts.
- **English mode translates what 1688 translates:** titles, specs and variant names. Company names, locations, units, categories, badges, services and review tags stay in Chinese. Translations are 1688's machine translations and can be rough (e.g. "None1" for a missing brand); keep `titleOriginal` when you search 1688 or talk to suppliers. With `en`, `titleOriginal` is filled for about 93% of keyword results (it comes from a matching Chinese search; offers that search doesn't return stay null) and is null in offer mode.
- **Price shown is the logged-out list price.** Some sellers list ¥1 as a placeholder and quote on request; those rows show `1`.
- **Image and video URLs** point to Alibaba's CDN. Video links may expire; download what you need soon after the run.
- **Free plan:** runs on Apify's free plan return a preview of the first keyword or offer, up to 20 products.

### FAQ, disclaimers and support

#### Is it legal to scrape 1688?

This Actor reads only publicly visible pages, without logging in. It collects product data and **company-level supplier data only**: no named contact persons, phone numbers or chat IDs.

**You are responsible for making sure your use of the data complies with 1688.com's terms of use and the laws that apply to you**, including data-protection (GDPR, CCPA, PIPL) and intellectual-property law. If you are unsure whether your use case is allowed, consult a lawyer.

#### Why did I get fewer products than I asked for?

- The keyword has fewer results, or your filters (price, province, excluded words) skipped products.
- Duplicates across keywords were removed.
- Some requests stayed blocked through every retry.

`RUN_SUMMARY` shows which one applies. Missing products are never charged.

#### Feedback

Found a bug or need a field? Open an issue in the **Issues** tab.

# Actor input Schema

## `keywords` (type: `array`):

Search terms, one per line. Chinese keywords match best (e.g. 手机壳, 蓝牙耳机, 瑜伽垫, LED灯带, 包装盒); English works too. Each keyword is searched separately and returns up to 'Max results per keyword' products. Ignored when 'Offer IDs or URLs' is filled.

## `offers` (type: `array`):

Specific offers to fetch: numeric offer IDs (e.g. 905559094884) or any 1688 offer link (detail.1688.com/offer/<id>.html, m.1688.com/offer/<id>.html, links with ?offerId=, qr.1688.com share links). When filled, keywords are ignored and every offer returns one full detail row, or an uncharged error row (INVALID_OFFER_ID, OFFER_UNAVAILABLE, RETRIEVAL_FAILED).

## `maxResultsPerKeyword` (type: `integer`):

Maximum products per keyword (1–2,000; 1688 search shows at most 2,000 results per keyword). Excluded and duplicate products don't count toward this limit and are never charged.

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

Optional cap on the total number of products for the whole run, across all keywords or offers. Leave empty for no cap.

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

On (default): every product is opened for the full record — all quantity price tiers, unit, stock, specs, images, video, description, SKU summary, supplier location and ratings — charged as a 'product' result. Off: search-result fields only (title, price, MOQ, sales, supplier name), charged as the cheaper 'search-product' result. Offer IDs/URLs always use full details.

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

Adds every variant (color/size/model…) with its SKU ID, spec values, price, stock, image and weight. Needs full details. No extra charge.

## `language` (type: `string`):

zh (default) = titles, specs and variant names as listed on 1688, in Chinese. en = 1688's own English translation of titles, specs and variant names (other fields such as company names, locations and badges stay in Chinese). With en, 'titleOriginal' keeps the Chinese title in keyword searches. No extra charge.

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

Order of search results.

## `priceMin` (type: `number`):

Only products whose listed price is at least this many yuan (CNY). Products outside the range are skipped and not charged.

## `priceMax` (type: `number`):

Only products whose listed price is at most this many yuan (CNY).

## `province` (type: `string`):

Only suppliers shipping from this province, in Chinese (e.g. 广东 or 广东省, 浙江, 福建). 1688 search has no location filter, so this is checked on each product page: it needs full details, and products from other provinces are skipped (not charged). Narrow filters can end a keyword early.

## `city` (type: `string`):

Only suppliers shipping from this city, in Chinese (e.g. 深圳, 义乌, 广州). Same rules as 'Supplier province'.

## `merchantType` (type: `string`):

any = all suppliers; factory = 1688 'Super Factory' suppliers only; verified = 'Certified Merchant' suppliers only.

## `excludeKeywords` (type: `array`):

Skip products whose title contains any of these words (case-insensitive). Skipped products are not charged and don't count toward the limits.

## `proxyCountry` (type: `string`):

Residential proxy location used for 1688 requests. CN (default) works best; HK and US are alternatives; auto spreads requests over all three.

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

How many product pages are fetched in parallel (1–8). Lower it if you see many failed products.

## Actor input object example

```json
{
  "keywords": [
    "手机壳"
  ],
  "offers": [],
  "maxResultsPerKeyword": 20,
  "includeDetails": true,
  "includeSkus": false,
  "language": "zh",
  "sortBy": "relevance",
  "merchantType": "any",
  "excludeKeywords": [],
  "proxyCountry": "CN",
  "maxConcurrency": 8
}
```

# Actor output Schema

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

No description

## `runSummary` (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 = {
    "keywords": [
        "手机壳"
    ],
    "maxResultsPerKeyword": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("ragnum/1688-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 = {
    "keywords": ["手机壳"],
    "maxResultsPerKeyword": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("ragnum/1688-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 '{
  "keywords": [
    "手机壳"
  ],
  "maxResultsPerKeyword": 20
}' |
apify call ragnum/1688-scraper --silent --output-dataset

```

## MCP server setup

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