# 1688 Scraper: Wholesale Prices, MOQ, Suppliers, Monitor (`datahamster/1688-scraper`) Actor

1688 scraper: wholesale offers from 1688.com by Chinese or English keyword or pasted search link. Price tiers with quantity breaks, MOQ, sales, repurchase rate, shipping hints, supplier service scores, shop. Price, MOQ, province and sort filters. Monitor new offers and price changes.

- **URL**: https://apify.com/datahamster/1688-scraper.md
- **Developed by:** [Viktor Dubnytskiy](https://apify.com/datahamster) (community)
- **Categories:** E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.80 / 1,000 result items

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## 1688 Scraper

Get wholesale offers from 1688.com, Alibaba's Chinese wholesale market, by keyword (Chinese or English) or by a search link copied from the site. Each offer comes back with its price tiers and quantity breaks in CNY, minimum order quantity, sales count, repurchase rate, shipping hints, the supplier's service scores, shop name and shop link. Run it once for a sourcing list, or as a monitor that returns only new offers and price changes.

**Try it:** the prefilled example returns 20 rows, usually in under a minute (up to about 4 minutes when a page has to be retried), and costs about $0.07. Results cost $3.50 per 1,000.

Coverage: 1688 shows about 55 offers per page and at most 34 pages (about 2,000 offers) per search; split a broad search by price range, province or sort to go further. Every row comes from a search result card only; offer pages are not opened. Supplier location, shop years, category, SKU variants and English titles are on the offer pages, so they are not returned.

### Why this one

- **Monitor mode with price alerts.** Save the input as a task with `mode: "monitor"` and each run returns only offers that are new for your search and offers whose price, price tiers or MOQ changed (`changeType`, `changedFields`, `previous`), with an optional minimum change in percent. Only those rows are charged. The leader (zen-studio/1688-wholesale-scraper) has no monitor or change tracking in its input; its README suggests scheduling full runs.
- **Paste a 1688 search link.** A link copied from s.1688.com keeps its own filters and sort. The leader's input takes keywords and offer IDs only.
- **Filters are checked, not assumed.** The price range is sent to 1688 and checked again on every offer (out-of-range offers are dropped and not charged); price sort is checked on the first page; `maxMoq` is applied on the first price tier. Anything 1688 ignored is listed in `RUN_SUMMARY.filtersIgnored`.
- **Price.** $0.0035 per offer. The leader charges $0.00499 per product on the free plan.

What the leader does and this actor does not: the leader opens each offer page and returns SKU variants, the description, supplier details and offer-ID lookup. This actor returns what the search card shows, which is cheaper per row and enough for sourcing lists and price tracking.

### What you get

Real rows from the prefilled run (`keywords: ["手机壳"]`, 16 November 2026):

| Field | Offer 1 | Offer 2 |
|---|---|---|
| `offerId` | 735353578254 | 672929783458 |
| `title` | 适用iphone18PRO大视窗磁吸手机壳15磨砂漏标苹果11秒变17保护套 | 适用苹果17promax透明手机壳iphone16tpu防摔15太空全包13保护套 |
| `price` (CNY) | 9 | 1 |
| `priceTiers` | ¥9 2-499 / ¥8.5 500-4999 / ¥7.5 5000+ | ¥1 1-499 / ¥0.9 500-99998 / ¥0.8 99999+ |
| `moq` / `unit` | 2 / 个 | 1 / 个 |
| `soldText` / `soldCount` | 1.9万+件 / 19000 | 10万+件 / 100000 |
| `repurchaseRate` | 56% | 54% |
| `logistics` | 退货包运费 | 退货包运费 |
| `promotions` | 首单减3元 | 首单减1元且免运费, 比同款低51% |
| `serviceScores` | consultation 3, returns 4, quality 3.7, disputes 4, logistics 3 | consultation 4.5, returns 4, quality 3.7, disputes 4, logistics 3.6 |
| `shopName` | 深圳市亿佳合兴科技有限公司 | 广州市艾尚数码科技有限公司 |
| `url` | https://detail.1688.com/offer/735353578254.html | https://detail.1688.com/offer/672929783458.html |

Fields: `offerId`, `url`, `title`, `imageUrl`, `price`, `currency` (CNY), `priceLabel`, `basePrice` (regular first-tier price; equals `price` unless the card shows a promo price), `priceTiers` (`minQty`, `maxQty`, `price`, `unit`), `moq`, `unit`, `soldCount` (lower bound of `soldText`, e.g. `1.9万+件` = 19000), `soldText`, `soldAllChannels`, `repurchaseRate` (%), `freeShipping`, `logistics` (e.g. `包邮`, `后天达`, `退货包运费`, `7天无理由`), `services`, `promotions`, `attributes`, `serviceScores` (`consultation`, `returns`, `quality`, `disputes`, `logistics`, 0-5), `factoryAuditReport`, `shopName`, `shopUrl`, `isAd`, `position`, `page`, `search`, `scrapedAt`. Texts are in Chinese, as on 1688.

### Use cases

- Sourcing lists: offers for a product with price breaks and MOQ side by side, filtered to small minimum orders.
- Price tracking: a daily monitor of a keyword or a filtered search link that tells you when a supplier changes a price or its tiers.
- New supplier alerts: new offers for your product category as they appear.

### Related actors

- [Alibaba Scraper](https://apify.com/datahamster/alibaba-products): Alibaba.com B2B products, suppliers and MOQ for export buyers.
- [AliExpress Scraper](https://apify.com/datahamster/aliexpress-scraper): AliExpress retail prices for the same products.
- [Amazon Price Tracker](https://apify.com/datahamster/amazon-product-monitor): retail price monitor on Amazon.

### How it works

1. Each keyword is sent to 1688 search (`s.1688.com/selloffer/offer_search.htm`) GBK-encoded, as 1688 expects, with your filters; each search link is read with its own parameters.
2. Pages are fetched through Apify's Web Unblocker with an exit in China; 1688 refuses ordinary datacenter and residential exits.
3. Each offer card is parsed: the price tiers come from the card's price panel (shown on roughly half to three quarters of the cards, depending on the search), the rest from the card itself. A page that fails (unblocker error, login or deny page) is tried 3 times. Pinned sponsored slots are skipped; sponsored offers inside the grid are kept with `isAd: true`.
4. Offers are deduplicated across searches. Out-of-range prices and MOQs are dropped before they are pushed.

### Input

| Field | Meaning | Default |
|---|---|---|
| `keywords` | Search words, Chinese or English (sent as typed, not translated) | none |
| `searchUrls` | 1688 search links; their filters are kept | none |
| `maxResultsPerSearch` | Offers per search (max about 2,000) | `100` |
| `maxPagesPerSearch` | Pages per search (1 page = about 55 offers) | `10` |
| `sort` | `relevance`, `priceAsc`, `priceDesc`, `sales` | `relevance` |
| `priceMin` / `priceMax` | Price range in CNY, sent to 1688 (unless a link has its own) and checked per offer | empty |
| `maxMoq` | Largest acceptable minimum order quantity | empty |
| `province` | Supplier province, Chinese or pinyin | empty |
| `reportPriceChanges` | Monitor: return known offers whose price, tiers or MOQ changed | `true` |
| `minPriceChangePercent` | Monitor: smallest price move to report | `0` |
| `maxItems` | Stop after this many offers in total | `100` |
| `mode` | `scrape`, or `monitor` (only new and changed offers since the last run of this task) | `scrape` |

### Pricing

| Event | Price |
|---|---|
| result | $0.0035 per offer ($3.50 per 1,000) |
| monitor-check | $0.005 per monitor run |
| change | $0.0035 per new or changed offer in monitor mode |

Store discounts: Silver 10% off, Gold and higher 20% off. Platform usage is paid by you: each result page is one Web Unblocker request (about $0.0015) plus a few cents of compute per hour of run time, about $0.003 per page of 50-60 offers. Requests that fail are not billed by the unblocker. Filtered and duplicate offers are never charged.

**Found it useful?** A short review on the Store page helps other people find this actor. If something is wrong, open an issue on the actor page.

### Monitor mode

Run the input as a saved task with `mode: "monitor"`. The first run records the offers it reads and returns nothing (`emptyReason: "baseline"`). Each later run reads all the pages that `maxResultsPerSearch` covers again, every time: 1688 ranks by relevance, so the newest offer can sit on any page and the monitor never stops early. It returns:

- offers that were not there before (`changeType: "new"`). 1688 ranks by relevance, so an older listing can move up into your pages; offer ids grow with time, and an unseen offer whose id is more than about a week older than the newest offer already seen in that search is recorded without being returned;
- known offers whose regular price (`basePrice`), price tiers or MOQ changed (`changeType: "changed"`, `changedFields`, `previous`), when `reportPriceChanges` is on and the move is at least `minPriceChangePercent`. A promo price on the card (`priceLabel` such as 限时价) is not compared, so promotions starting and ending do not raise alerts. A card that shows no tier panel on one run is not counted as a tier change.

When some searches got no result page, the final status names how many instead of saying "no new items". Webhook and Telegram summaries are built in. If a monitor run is killed, the next run of the same task may wait until the killed run's timeout and end with `overlapping_run`; use a new `monitorStateId` to start over.

### Limits

- About 2,000 offers per search (34 pages); 1688 decides the order.
- 1688 sometimes serves page 1 again when asked for page 2 of a sorted or filtered search. One repeated page is skipped; two in a row end that search (`stopReasons`), so such a search can return fewer offers than asked.
- No supplier location, shop age, category or English title: they are on the offer pages, which would cost one more unblocker request per offer. The province filter is applied by 1688 but cannot be checked per offer.
- No shop or offer links as input: shop pages require a 1688 login, and offer pages would cost one request each.
- English keywords are not translated; 1688 matches them against titles that contain English words, so Chinese keywords find many more offers.
- `soldCount` is the lower bound 1688 prints (`1.9万+件`), not an exact count; `soldAllChannels` marks counts 1688 labels as all-channel (`全网`).
- Price tiers are on roughly half to three quarters of the cards; the others have `priceTiers: null` and `moq: null` (and `basePrice: null` when the card shows a promo price). With `maxMoq` such offers are kept and counted in `RUN_SUMMARY.moqUnknownKept`.
- A search that has no results on 1688 and a search 1688 refused look the same through the unblocker (it fails on empty result pages). Each page gets 3 tries; a search whose first page fails all 3 is reported in `RUN_SUMMARY.noListPage` and the status message, and nothing is charged for it.
- Keywords are sent GBK-encoded, as 1688 expects; characters GBK cannot carry (emoji) are removed and listed in `RUN_SUMMARY.droppedCharacters`.
- A page usually takes 20-50 seconds through the unblocker and up to about 4 minutes when it has to be retried, so 1,000 offers take about 10-20 minutes.

### FAQ

**Does it need a 1688 account?** No. Only search result pages are read.

**Can I get the supplier's contact person, phone or WeChat?** No. Only the shop or company name and the shop link are returned.

**What happens when nothing matches?** Nothing is charged. `RUN_SUMMARY` in the run's key-value store says why (`emptyReason`, `stopReasons`, `noListPage`, `filtersIgnored`).

### Changelog

- 0.1: initial release. Keyword and search-link input, price tiers, MOQ, sales, repurchase rate, logistics hints, service scores, shop; price, MOQ, province and sort filters with checks; monitor of new offers and price changes.

# Actor input Schema

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

Search words, one per line, as you would type them on 1688.com. Chinese words ("手机壳", "蓝牙耳机") search the whole catalogue; English words ("phone case") are sent as typed and match offers whose titles contain them, which is a much smaller set. The actor does not translate.

## `searchUrls` (type: `array`):

Links copied from a 1688 search page, e.g. "https://s.1688.com/selloffer/offer_search.htm?keywords=%CA%D6%BB%FA%BF%C7\&sortType=price". The link keeps its own filters (price, province, sort and the rest); the filters below are added only where the link has none.

## `maxResultsPerSearch` (type: `integer`):

Offers to return per keyword or link. 1688 shows about 55 offers per page and at most 34 pages (about 2,000 offers) per search. In monitor mode this sets how many pages are read on every run (all of them: 1688 ranks by relevance).

## `maxPagesPerSearch` (type: `integer`):

Upper bound on result pages read per search (each page is one request). It matters when the price or MOQ filters drop many offers.

## `sort` (type: `string`):

1688's own sort. Price order is checked on the first page and reported in RUN_SUMMARY.filtersIgnored if 1688 did not apply it.

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

Sent to 1688 (a search link's own priceStart wins) and checked again on every offer: offers whose card price is lower than either limit are dropped and not charged.

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

Sent to 1688 (a search link's own priceEnd wins) and checked again on every offer.

## `maxMoq` (type: `integer`):

Only offers whose minimum order quantity (the first price tier) is at most this. Applied by the actor: 1688's own MOQ filter works the other way round. Offers whose card shows no price tiers (a quarter to a half, depending on the search) have no known MOQ and are kept; RUN_SUMMARY.moqUnknownKept counts them.

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

Supplier province, Chinese (广东, 浙江) or pinyin (Guangdong, Zhejiang). Applied by 1688; cards do not show the location, so it cannot be checked per offer. City filters are not offered: 1688 search ignores them.

## `reportPriceChanges` (type: `boolean`):

Monitor mode: also return an offer you already got when its regular price (basePrice, not a promo price), its price tiers or its MOQ changed.

## `minPriceChangePercent` (type: `number`):

Monitor mode: ignore price moves smaller than this percentage.

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

Stop after this many offers in total (you pay only for returned offers).

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

scrape = full results; monitor = only new/changed items since the previous run of this task

## `monitorStateId` (type: `string`):

Optional state id when not running as a saved task (monitor mode)

## `webhookUrl` (type: `string`):

POST a change summary here in monitor mode

## `telegramBotToken` (type: `string`):

Optional: bot token for monitor-mode change summaries

## `telegramChatId` (type: `string`):

Optional: chat id that receives monitor-mode summaries

## Actor input object example

```json
{
  "keywords": [
    "手机壳"
  ],
  "maxResultsPerSearch": 20,
  "maxPagesPerSearch": 10,
  "sort": "relevance",
  "reportPriceChanges": true,
  "minPriceChangePercent": 0,
  "maxItems": 20,
  "mode": "scrape"
}
```

# Actor output Schema

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

All pushed rows (dataset, JSON)

## `resultsTable` (type: `string`):

Dataset in the Console viewer

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

RUN_SUMMARY record

# 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": [
        "手机壳"
    ],
    "maxResultsPerSearch": 20,
    "maxItems": 20
};

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

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

```

## MCP server setup

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