# 1688 Listings Scraper (`piotrv1001/1688-listings-scraper`) Actor

The 1688 Listings Scraper extracts wholesale product data from 1688.com (Alibaba's domestic-China B2B marketplace) by keyword or offer ID, capturing titles, tiered prices, MOQ, attributes, images, supplier info, and after-sales policy — ideal for sourcing and price intelligence.

- **URL**: https://apify.com/piotrv1001/1688-listings-scraper.md
- **Developed by:** [FalconScrape](https://apify.com/piotrv1001) (community)
- **Categories:** E-commerce, Automation
- **Stats:** 5 total users, 3 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 product listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

### 🇨🇳 1688.com Listings Scraper

Easily extract wholesale product data from **1688.com**, Alibaba's domestic-China B2B marketplace and the original source for most products you'll find on Alibaba.com — usually at a fraction of the export price. The **1688.com Listings Scraper** lets you search by keyword (Chinese or English) or fetch specific offer IDs and pulls back structured product data for sourcing, price intelligence, and supplier research.

### ✨ Features

- 🏷️ **Rich product data**: title, tiered price ladder, MOQ, full attribute matrix, supplier company, after-sales policy, logistics, images.
- 🔍 **Keyword search & direct offer lookup**: paginate any keyword across 1688's mobile search, or scrape known offer IDs directly.
- 💴 **Tiered wholesale prices**: 1688's headline feature — volume-discount ladders — extracted as first-class data, not an afterthought.
- 🌏 **Built for CN access**: ships with Apify Residential proxy (country=CN) prefilled and auto-rotates sessions on the `_____tmd_____` block page.
- ⚡ **Fast & efficient**: powered by Crawlee CheerioCrawler — no browser, no headless overhead.

### 🛠️ How It Works

1. **Enter keywords or offer IDs** — Chinese terms (e.g. `蓝牙耳机`) return the richest results, but English (`bluetooth earphones`) is accepted.
2. **Toggle detail mode** — keep `includeDetails` off for fast shallow listing surveys (~$1/1k), or turn it on for full per-product detail pages (~$4/1k).
3. **Run the scraper** — the Actor handles pagination, proxy rotation, and anti-bot retries automatically.

### 📋 Input

| Field | Type | Default | Description |
|---|---|---|---|
| `keywords` | string[] | `["iphone case"]` | Search terms to look up on 1688. Chinese works best; English is also accepted. Each keyword is paginated independently. |
| `offerIds` | string[] | `[]` | Specific 1688 offer IDs (e.g. `782846321577`). Bypasses search — handy when you already know which products you want. |
| `maxItems` | integer | `50` | Hard cap on rows pushed to the dataset across all keywords. Set `0` for unlimited. |
| `maxPagesPerKeyword` | integer | `5` | Search-result pages to walk per keyword (19 offers each, capped at 100). |
| `includeDetails` | boolean | `false` | If `true`, each search hit is followed to its detail page for tiered prices, attributes, MOQ, and seller info. If `false`, only shallow card data is collected. |
| `proxyConfiguration` | object | Apify Residential, country = CN | Apify Proxy config. CN residential is **strongly recommended** — 1688 blocks non-Chinese IPs aggressively. |

Example input:

```json
{
  "keywords": ["iphone case", "蓝牙耳机"],
  "maxItems": 200,
  "maxPagesPerKeyword": 5,
  "includeDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "CN"
  }
}
````

### 📊 Sample Output Data

Structured JSON output. Each product when `includeDetails: true` looks like this:

```json
[
    {
        "offerId": "782846321577",
        "title": "潮牌金属适用iphone15promax手机壳苹果16pro立体十字架个性17air",
        "priceFrom": 12.8,
        "priceTo": 27,
        "unit": "个",
        "minOrderQuantity": 1,
        "tierPrices": [
            { "price": 12.8, "beginAmount": 1 },
            { "price": 27, "beginAmount": 1 }
        ],
        "soldCount": "4029",
        "wantBuy": "3524",
        "attributes": [
            { "name": "材质", "value": "仿皮" },
            { "name": "品牌", "value": "苹果" },
            { "name": "适用机型", "value": "苹果" }
        ],
        "images": [
            "https://cbu01.alicdn.com/img/ibank/O1CN0192dePV1p7PFGqWJGK_!!2831885313-0-cib.jpg"
        ],
        "services": ["7天无理由退货", "晚发必赔"],
        "logistics": {
            "location": "广东广州",
            "deliveryLimit": "承诺48小时发货·常发韵达快递",
            "unitWeight": 0
        },
        "sellerCompany": "广州市威卡诺塑料制品有限公司",
        "sellerLoginId": "艾诺奇1688",
        "sellerMemberId": "b2b-2831885313c05f4",
        "sellerWinportUrl": "https://winport.m.1688.com/page/index.html?memberId=b2b-2831885313c05f4",
        "location": "广东广州",
        "url": "https://m.1688.com/offer/782846321577.html",
        "scrapedAt": "2026-05-12T11:00:00.000Z"
    }
]
```

When `includeDetails: false`, you get a lighter row per offer with the core fields (`offerId`, `title`, `priceFrom`, `soldCount`, `location`, `repurchaseRate`, `sellerTenure`, `image`, `url`).

### 💡 Tips

- **CN residential proxy is non-negotiable.** 1688's desktop site is gated from request #1 for non-Chinese IPs. The mobile site this Actor uses is more permissive but still triggers slider-CAPTCHA after ~5–15 hits/IP/10 min. The prefilled Apify Residential + `apifyProxyCountry: "CN"` config handles rotation automatically.
- **Use Chinese keywords** when possible — the mobile search URL hex-encodes the keyword, and `蓝牙耳机` returns far more relevant results than `bluetooth earphones`.
- **Compare 1688 ↔ Alibaba.com** by pairing this Actor with [`piotrv1001/alibaba-listings-scraper`](https://apify.com/piotrv1001/alibaba-listings-scraper) on the same keyword set — see domestic vs export pricing for the same SKU.

### 💰 Pricing

This Actor uses **Pay-Per-Event** pricing — you only pay for results, not compute time or proxy GBs.

| Event | Price | Triggered when |
|---|---|---|
| `product-listing` | **$1.00 / 1,000 results** | A shallow listing row is pushed (when `includeDetails: false`). Includes title, price, MOQ, seller, location, image. |
| `item-detail` | **$4.00 / 1,000 results** | A full detail row is pushed (when `includeDetails: true`). Includes everything above plus tiered prices, full attribute matrix, all images, after-sales policy, logistics, and full seller / company info. |

A typical run of 1,000 detail-mode products costs **~$4** plus your Apify Residential proxy spend.

Optimize your sourcing and price intelligence with **1688.com Listings Scraper** today! 🚀

# Actor input Schema

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

Keywords to search on 1688.com. Chinese terms work best, but English is also accepted. Each keyword is searched independently.

## `offerIds` (type: `array`):

Specific 1688 offer IDs to scrape directly (e.g. 782846321577). Useful when you already know the products you want — bypasses search.

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

Maximum number of products to push to the dataset across all keywords. Set 0 for unlimited.

## `maxPagesPerKeyword` (type: `integer`):

How many search-result pages (19 offers each) to paginate per keyword. 1688 caps total pages at 100.

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

If true, each offer found via search is followed to its detail page to capture tiered prices, attributes, MOQ, seller info, and after-sales policy. Disable for faster, lighter listing-only runs.

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

1688.com rate-limits non-Chinese IPs hard. A rotating Apify Residential proxy with country CN or HK is strongly recommended.

## Actor input object example

```json
{
  "keywords": [
    "iphone case"
  ],
  "offerIds": [],
  "maxItems": 50,
  "maxPagesPerKeyword": 5,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "CN"
  }
}
```

# 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 = {
    "keywords": [
        "iphone case"
    ],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "CN"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/1688-listings-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": ["iphone case"],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "CN",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/1688-listings-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": [
    "iphone case"
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "CN"
  }
}' |
apify call piotrv1001/1688-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=piotrv1001/1688-listings-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "1688 Listings Scraper",
        "description": "The 1688 Listings Scraper extracts wholesale product data from 1688.com (Alibaba's domestic-China B2B marketplace) by keyword or offer ID, capturing titles, tiered prices, MOQ, attributes, images, supplier info, and after-sales policy — ideal for sourcing and price intelligence.",
        "version": "0.0",
        "x-build-id": "hL32qjtECz4ahbm1R"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/piotrv1001~1688-listings-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-piotrv1001-1688-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/piotrv1001~1688-listings-scraper/runs": {
            "post": {
                "operationId": "runs-sync-piotrv1001-1688-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/piotrv1001~1688-listings-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-piotrv1001-1688-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "keywords": {
                        "title": "Search keywords",
                        "type": "array",
                        "description": "Keywords to search on 1688.com. Chinese terms work best, but English is also accepted. Each keyword is searched independently.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "offerIds": {
                        "title": "Offer IDs",
                        "type": "array",
                        "description": "Specific 1688 offer IDs to scrape directly (e.g. 782846321577). Useful when you already know the products you want — bypasses search.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of products to push to the dataset across all keywords. Set 0 for unlimited.",
                        "default": 50
                    },
                    "maxPagesPerKeyword": {
                        "title": "Max search pages per keyword",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "How many search-result pages (19 offers each) to paginate per keyword. 1688 caps total pages at 100.",
                        "default": 5
                    },
                    "includeDetails": {
                        "title": "Include detail pages",
                        "type": "boolean",
                        "description": "If true, each offer found via search is followed to its detail page to capture tiered prices, attributes, MOQ, seller info, and after-sales policy. Disable for faster, lighter listing-only runs.",
                        "default": false
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "1688.com rate-limits non-Chinese IPs hard. A rotating Apify Residential proxy with country CN or HK is strongly recommended.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ],
                            "apifyProxyCountry": "CN"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
