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

1688.com wholesale offers by search term (Chinese or English) or link: price, quantity price ladder, MOQ, sold count, repurchase rate, supplier, years on 1688, badges and province. $4.99 per 1,000 offers. Flags new offers and price changes. No login.

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

## Pricing

from $2.74 / 1,000 products

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

## 1688 Scraper: Wholesale Prices, MOQ & Suppliers

Get wholesale offers from 1688.com, the Chinese factory and wholesale market, by search term (Chinese or English) or offer link: the unit price, the full quantity price ladder, the minimum order, how many pieces sold, the repurchase rate, and who the supplier is, where it sits, how long it has been on 1688 and which badges it holds. No login, no account, no cookies to paste.

### How do I start?

Paste this into the input (JSON tab) and press Start:

```json
{
    "keywords": ["手机壳"],
    "maxItems": 60
}
```

That run reads one page of 60 phone-case offers in a few seconds, plus free summary rows. Chinese search terms match the most offers (手机壳 means phone case); English terms such as `"phone case"` work too. To read one offer in full, paste its link into `urls`:

```json
{
    "urls": ["https://detail.1688.com/offer/672929783458.html"]
}
```

### What does each row contain?

| Field | What it is |
|---|---|
| `offerId`, `url`, `title` | 1688's offer ID, the offer's page and the title as the supplier wrote it (mostly Chinese) |
| `keyword`, `position` | The search that found the offer and its place in the results (`null` for pasted links) |
| `price`, `currency` | The unit price at the minimum order, in Chinese yuan (`CNY`) |
| `bulkPrice` | The lowest unit price on the ladder: what the largest orders pay |
| `priceTiers` | The quantity price ladder: `minQuantity`, `maxQuantity` (`null` = and up) and `price` for each step |
| `moq`, `unit` | The minimum order quantity and its unit (个, 件, 套, 米 and so on) |
| `soldCount`, `soldText`, `soldScope`, `soldPeriod` | Pieces sold as a number, the label 1688 shows (such as 已售10万+件), whether it counts this listing (`offer`) or the product across 1688 (`all-channels`), and the period it covers when the offer page says |
| `orderCount` | The order count 1688 attaches to the search card |
| `repurchaseRate` | The share of buyers who ordered again, in percent, as the search card shows it |
| `buyerRepeatRate3m` | The 3-month repeat-buyer rate from the offer page (with `includeDetails`) |
| `province`, `city` | Where the supplier ships from, such as 广东 and 广州市 |
| `supplierName`, `supplierId`, `supplierLoginName`, `supplierUrl` | The supplier business, its 1688 member ID, its public shop name on 1688 and its shop page |
| `supplierYears` | Years the supplier has traded on 1688 |
| `supplierBadges` | 1688's badges for the supplier: `super-factory` (超级工厂), `power-merchant` (实力商家), `factory-inspected` (验厂), `business-inspected`, `trustpass` (诚信通), `factory`, `premium-merchant-plus`, `industrial-brand` |
| `supplierScores`, `supplierServiceScore` | 1688's 0 to 5 trade scores for the shop (overall, goods, logistics, consultation, disputes, returns) and its service score |
| `serviceTags` | Service promises on the card, such as 48小时发货 (ships within 48 hours) |
| `isAd` | `true` for paid placements 1688 mixes into the results |
| `images` | Offer images, full size |
| `category`, `categoryId`, `brand`, `attributes`, `skuOptions` | From the offer page (`includeDetails` or a pasted link): the category, brand, the attribute table and the colour and size options |
| `rating`, `goodReviewRate`, `reviewCount`, `favorites` | The offer's rating out of 5, its share of good reviews, the review count and how many buyers saved it |
| `shippingFee`, `deliveryText` | The shipping fee and delivery promise shown on the offer page |
| `newProduct`, `previousPrice`, `priceChange` | With `onlyPriceChanges`: whether the offer is new for this search, and its price at your last run and the change |
| `dataLevel` | `full` when the offer's own page was read, `card` when the row holds search data only |
| `scrapedAt` | When the row was read |

Example row (shortened):

```json
{
    "type": "product",
    "offerId": "672929783458",
    "title": "适用苹果17promax透明手机壳iphone16tpu防摔15太空全包13保护套",
    "keyword": "手机壳",
    "price": 1,
    "bulkPrice": 0.8,
    "currency": "CNY",
    "priceTiers": [
        { "minQuantity": 1, "maxQuantity": 499, "price": 1 },
        { "minQuantity": 500, "maxQuantity": 99998, "price": 0.9 },
        { "minQuantity": 99999, "maxQuantity": null, "price": 0.8 }
    ],
    "moq": 1,
    "unit": "个",
    "soldCount": 100000,
    "repurchaseRate": 54,
    "province": "广东",
    "city": "广州市",
    "supplierName": "广州市艾尚数码科技有限公司",
    "supplierYears": 8,
    "supplierBadges": ["factory-inspected"],
    "isAd": false,
    "dataLevel": "card",
    "url": "https://detail.1688.com/offer/672929783458.html"
}
```

Titles stay in the language 1688 shows them in. 1688 does not publish English titles for its offers, so none are invented here; run the titles through any translation step you already use.

### Which rows are free?

Each search and each pasted link also returns one summary row (`type: "summary"`), never charged. One more free row sums up the run (`level: "run"`). The Summary view in the Output tab shows only these rows.

| Field | What it is |
|---|---|
| `level` | `search` for a search or offer link, `run` for the whole run |
| `keyword`, `status`, `reason` | The search term or offer ID; `ok`, `empty`, `partial`, `blocked` or `offer`; and why, when a search was cut short |
| `found`, `returned` | How many offers 1688 says match, and how many rows came back |
| `newProducts`, `priceChanges`, `skippedAsUnchanged` | With `onlyPriceChanges`: offers new to this search, offers whose price moved, and offers left out as unchanged |
| `filteredOut` | Offers your filters left out |
| `detailPagesRead` | Offer pages read for `includeDetails` |
| `message`, `scrapedAt` | A plain sentence on what happened, and when |

### What makes it different?

- **The whole price ladder, not one price.** Every row carries each quantity step, so you can see what 1, 500 or 100,000 pieces cost per unit, next to the minimum order.
- **Supplier quality in the same row.** Years on 1688, badges, trade scores and repurchase rate come with each offer, so you can shortlist suppliers without opening each shop.
- **Price watching.** Turn on `onlyPriceChanges` and schedule the run: only offers that are new or changed price since the last run come back (and are charged), with the old price and the change.
- **Chinese or English in, clean numbers out.** Search terms and 1688 search links in either script are accepted; labels such as 10万+ become 100000.

### How much does it cost?

$4.99 per 1,000 offers, with one paid event, "product", charged once per offer row. Summary rows are free, and a search with no results costs nothing. Larger Apify plans pay less per offer (shown on the Pricing tab).

The run stops cleanly at your maximum charge and keeps everything read so far.

**Free Apify plan:** up to 1,000 rows per run. Any paid Apify plan removes the limit.

### Which inputs can I use?

| Input | What it does |
|---|---|
| `keywords` | Search terms, one per line, in Chinese or English. Up to 10 searches a run. |
| `urls` | Offer links (`detail.1688.com/offer/<id>.html`), bare offer IDs, or 1688 search links. Offer links read the offer's own page. |
| `maxItems` | Offers per search, 60 by default, up to 2,000. See "How many offers can one search return?" |
| `sort` | `default` (1688's own order), `sales`, `price_asc` or `price_desc`. |
| `priceRange` | Only offers whose price falls in this range, in yuan: `"5-20"`, `"5-"` or `"-20"`. |
| `onlyPriceChanges` | Return only offers that are new or re-priced since your last run with this on. |
| `includeDetails` | Advanced. Reads each offer's own page for category, brand, attributes, options, rating and shipping. Slower, same price per offer. |
| `excludeAds` | Advanced. Leaves out paid placements. |
| `province` | Advanced. Only suppliers in this province, in Chinese (广东, 浙江). |
| `supplierType` | Advanced. `super-factory`, `power-merchant` or `factory-inspected`. |
| `maxMoq` | Advanced. Only offers whose minimum order is this many units or fewer. |

Filters are checked against every offer 1688 returns. A narrow filter reads more pages for each offer it keeps; if a run reads many pages and keeps almost nothing, it stops early with a note on how to widen the search, and you pay only for the offers returned.

### How many offers can one search return?

1688 shows a logged-out visitor 3 pages (180 offers) for each way of viewing a search. When you ask for more,
the Actor reads the same search again by sales, by price up and down, and in price bands, and keeps only offers
it has not returned yet. A broad term like 蓝牙耳机 gives well over 180; a narrow one stops when no view adds
anything new. The free search row tells you how many views it read.

### How do I watch prices every day?

Save your input as a task with `onlyPriceChanges` on and give it a schedule. The first run returns every offer; each later run returns only offers that are new for that search or whose price moved, each with `previousPrice` and `priceChange`. The watched set is the first `maxItems` offers of each search.

### What happens when something goes wrong?

- Bad input (an unknown sort, an unreadable price range, a link that is not 1688) ends the run with a message and charges nothing.
- If 1688 shows its slider check instead of results, the run retries on a fresh connection; a search it still cannot read gets a free summary row saying so, and the next search goes on.
- If an offer page cannot be read, the offer still comes back with its search data and `dataLevel: "card"`.
- If the run's time limit is near, it stops early and saves everything.

### Can I call it from an agent or my own code?

Yes. It works through the Apify API, the Apify MCP server and the Apify client libraries, with the same input as above. A 60-offer search finishes in seconds, which suits agents that answer sourcing and wholesale price questions.

### Is it legal to collect 1688 offers?

The Actor reads public offer listings, the same ones anyone sees on 1688 without signing in. It never logs in. Rows describe products and supplier businesses; no buyer data and no personal contact details are collected. 1688's own terms limit commercial reuse of its content, so you are responsible for how you use the data and for following the laws that apply to you.

### Questions or problems?

Open an issue on the Issues tab and we will answer within a day. If the Actor helped, a rating on the Store helps other people find it.

# Changelog

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

# Actor input Schema

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

What to search 1688 for, one term per line. Chinese terms match the most offers (手机壳 = phone case); English terms work too. Each term is its own search.

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

Offer links (https://detail.1688.com/offer/672929783458.html), bare offer ids, or 1688 search links (s.1688.com or m.1688.com). Offer links read the offer's own page.

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

Offers to return for each search term, up to 2,000. 1688 shows logged-out visitors 180 offers per view of a search, so past 180 the Actor also reads the other sort orders and price bands of the same search, without repeats. Very broad terms reach the most.

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

The order 1688 returns offers in.

## `priceRange` (type: `string`):

Only offers whose lowest price falls in this range, in Chinese yuan: "5-20", "5-" or "-20".

## `onlyPriceChanges` (type: `boolean`):

Return (and charge for) an offer only when it is new for this search or its price moved since your last run with this option on. Unchanged offers are skipped for free.

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

Adds category, brand, attributes, colour and size options, rating, review count, 3-month repeat-buyer rate and shipping fee. One extra page per offer, so runs are slower.

## `excludeAds` (type: `boolean`):

1688 mixes paid placements into results; they are flagged isAd either way.

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

Only suppliers in this province, in Chinese (广东, 浙江, 江苏).

## `supplierType` (type: `string`):

Only offers from suppliers with this 1688 badge.

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

Only offers you can buy in this quantity or fewer (the minimum order quantity, in the offer's own unit).

## Actor input object example

```json
{
  "keywords": [
    "手机壳"
  ],
  "maxItems": 60,
  "sort": "default",
  "onlyPriceChanges": false,
  "includeDetails": false,
  "excludeAds": false,
  "supplierType": "any"
}
```

# Actor output Schema

## `overview` (type: `string`):

Price, quantity price ladder, MOQ, sold count, repurchase rate and supplier.

## `summary` (type: `string`):

One free row per search or offer link (found, returned, new, re-priced, filtered out) and one free run summary.

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

Searches read, offers returned, new offers, price changes and cost.

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

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

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

```

## MCP server setup

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