# 1688 Product Scraper — Price Tiers, Variants & Stock (`thenetaji/1688-product-scraper`) Actor

Paste 1688 offer links and export quantity price tiers, variants with price and stock, minimum order, reviews, attributes, supplier scores, ship-from city and package size.

- **URL**: https://apify.com/thenetaji/1688-product-scraper.md
- **Developed by:** [The Netaji](https://apify.com/thenetaji) (community)
- **Categories:** E-commerce, Business, Automation
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.40 / 1,000 offers

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 Product Scraper

The 1688 Product Scraper reads 1688 offers from their links and saves one row per offer: quantity price tiers or per-variant prices, variants with stock, minimum order, reviews, attributes, supplier scores, ship-from city and package size. No 1688 account or Chinese phone number is needed.

### Accepted input

- `offerUrls`: one 1688 offer link per line. The offer id on its own also works.

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

### Response fields

```json
{
  "offer_id": "857511694718",
  "title": "透明细闪简约适用苹果17promax手机壳适用iphone15软壳闪粉保护套",
  "price_type": "tiered",
  "price_min": 1.2,
  "price_max": 1.6,
  "currency": "CNY",
  "price_tiers": [
    { "min_quantity": 1, "price": 1.6 },
    { "min_quantity": 200, "price": 1.4 },
    { "min_quantity": 2000, "price": 1.2 }
  ],
  "min_order_quantity": 1,
  "unit": "个",
  "stock": 437803,
  "sold_label": "1.2万+",
  "sold_period": "一年内",
  "sold_all_channels_label": null,
  "rating": 4.8,
  "good_review_percent": 95.7,
  "review_count": 4255,
  "supplier_name": "广州欧诺斯科技有限公司",
  "supplier_type": "factory",
  "ships_from": "广东省广州市"
}
```

`price_type` says how to read the prices:

- `tiered`: the price falls with quantity, as in `price_tiers`. Variants then list stock but no price of their own.
- `by_variant`: each entry in `variants` has its own price, and `price_min` and `price_max` give the range.

`sold_label` counts units sold as 1688 rounds them, and `万` or `w` means 10,000. `sold_period` gives its window when 1688 states one. `sold_all_channels_label` is the figure across every channel, when 1688 shows it.

### Limits

- A removed offer is skipped and not charged.
- An offer that fails is logged and skipped so the others still run; three failures in a row end the run.
- Individual reviews aren't included, only counts and themes.
- `description_url` points to the supplier's description page, which is usually mostly images.
- Prices a supplier shows to approved buyers only stay hidden: `price_is_private` is true and every price is empty.
- Supplier contact details and seller account names aren't included.

### Related Actors

The [1688 Wholesale Scraper](https://apify.com/thenetaji/1688-wholesale-scraper) finds offers by keyword.

# Actor input Schema

## `offerUrls` (type: `array`):

1688 offer links, one per line, such as https://detail.1688.com/offer/738026063940.html. The offer id on its own works too.

## Actor input object example

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

# Actor output Schema

## `dataset` (type: `string`):

All records scraped by this run

# 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 = {
    "offerUrls": [
        "https://detail.1688.com/offer/738026063940.html"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("thenetaji/1688-product-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 = { "offerUrls": ["https://detail.1688.com/offer/738026063940.html"] }

# Run the Actor and wait for it to finish
run = client.actor("thenetaji/1688-product-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 '{
  "offerUrls": [
    "https://detail.1688.com/offer/738026063940.html"
  ]
}' |
apify call thenetaji/1688-product-scraper --silent --output-dataset

```

## MCP server setup

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