# 1688 Product Detail Scraper - Prices, MOQ, Stock, SKU Tiers (`ai-lead-gen-tools/1688-product-detail-scraper`) Actor

\[💰$0.10/1K] 1688 product detail scraper. Input: offer IDs, offer links or keywords. Each row keeps the price ladder with MOQ and stock; SKU prices; attributes; weight; services; shop ratings; images and video; description URL; optional price history. Public JSON API, CN proxy, no login, no key.

- **URL**: https://apify.com/ai-lead-gen-tools/1688-product-detail-scraper.md
- **Developed by:** [Vladimir Che](https://apify.com/ai-lead-gen-tools) (community)
- **Categories:** E-commerce, Marketing, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.10 / 1,000 offer detail scrapeds

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 Detail Scraper - Prices, MOQ, Stock, Shop

**Every field of a 1688 offer in one row, without a login, an account or an API key.** Pass offer ids, pasted links or a keyword and the actor returns price and price range, the USD estimate, minimum order quantity, bookable stock, per-variant prices, attributes, seller services, shipping origin, dispatch promise, unit weight and package amount, the seller profile from the search card, the description address and its images, and the review summary with up to two review texts. Optional flags add a translated title, a price and stock timeline across runs, and the raw description HTML.

A keyword run is not a separate product: the actor searches 1688, opens every card it finds as a full detail record and keeps the listing card it came from, which is the only way the seller metrics and the category reach the row. A run over ids skips the search and costs one request per record.

1688 商品详情接口：输入商品 ID、商品链接或关键词，返回价格与价格区间、美元估价、起批量、可订库存、SKU 价格、属性、卖家服务、发货地、承诺发货时间、单件重量与包装数量、搜索卡片上的卖家资料、描述地址与描述图片，以及评价摘要和最多两条评价正文。可选开关支持标题翻译、跨次运行的价格与库存历史、以及原始描述 HTML。全程无需登录、无需账号、无需 API 密钥。

### What you get

| Field | Description |
|---|---|
| `recordType` | Always `offer-detail`, so an id run and a keyword run share one column set |
| `offerId` | Numeric 1688 offer id, unique across the marketplace and stable across runs |
| `title` | Offer title as 1688 prints it |
| `titleEn` | Translated title, filled only when `translate` is on |
| `url` | Canonical desktop offer URL built from the id, for copy and paste |
| `price` | Price in CNY as a number, the lower bound when the page prints a range |
| `priceText` | Price exactly as the page prints it, such as `8.50-12.00` |
| `priceMin`, `priceMax` | Both ends of the range, ordered so that the minimum is the lowest figure, equal to `price` on a single-price offer |
| `priceUsd` | Price converted with the daily reference rate fetched at the start of the run |
| `currency` | `CNY`, stated instead of left ambiguous, because the mobile page prints no code |
| `usdRate` | The USD per CNY rate applied, reported so the estimate can be audited |
| `moq` | Minimum order quantity from the order model of the page |
| `stock` | Bookable stock, what a buyer can still order |
| `unit` | Sales unit, such as `件` |
| `soldCount`, `soldText` | Sold count as a number and as printed |
| `images` | Full gallery from the detail page |
| `videoUrl` | Product video when the offer has one |
| `variantImages` | Image per SKU value |
| `variantPrices` | Price per SKU value, always populated when the offer has SKUs |
| `priceTiers` | Volume ladder read from the price model of the page, one row per starting quantity, cheapest quantity first |
| `hasVolumeTiers` | Whether that ladder is real, false when the page only carries per-variant prices at one starting quantity |
| `attributes` | Attribute table from the detail page, such as material, brand, style and cross-border flags |
| `services` | Seller promises with the service code and the wording 1688 gives |
| `location` | Shipping origin, province and city |
| `deliveryText`, `deliveryDays` | Dispatch promise as printed and as a number of days |
| `shippingFrom` | Origin code the page uses for the dispatch address |
| `unitWeightKg` | Weight of one sales unit in kilograms |
| `packageAmount` | Pieces per package |
| `dimensions` | Package size in centimetres, null on the measured offers |
| `hasDimensions` | Whether the page actually gave a size |
| `volumeCm3` | Package volume when the page declares it |
| `postFeeYuan`, `postFree` | Postage the page quotes and the free shipping flag |
| `certificates` | Certificates with name, issuer, number and validity, empty on the anonymous path |
| `hasCertificates` | Whether any certificate was readable |
| `shop` | Seller profile: name, login id, member id, seller user id, storefront, offer count, composite score, 30 day response rate, 48 hour dispatch rate, shop age, inspection status and inspection link |
| `category` | 1688 category path as ids, with the leaf id broken out |
| `sameDesignUrl` | Link 1688 provides to the same design from other sellers |
| `descriptionUrl` | Address of the long product description, served from the image CDN |
| `hasNewDescription` | Whether the offer uses the newer description format |
| `descriptionHtml` | Raw description HTML, filled only when the flag is on |
| `descriptionImages` | Deduplicated description images, filled on every full mode run |
| `descriptionLength` | Description length in characters |
| `priceHistory`, `stockHistory` | Timeline across runs, one point per actual change, up to 100 points |
| `priceChange` | First value, last value, absolute and percentage change |
| `firstSeenAt` | First run that recorded this offer |
| `shopName`, `memberId`, `sellerUserId` | Seller identity repeated at the top level for easy filtering |
| `reviewCountText` | Review counter exactly as the offer card shows it: a bucket such as `3` or `200+` |
| `reviewCountTextExact` | Number of reviews that actually carry text, a different number from the bucket |
| `goodRateText`, `goodRatePct`, `averageStar` | Positive rate and star level as shown, auto-assigned by 1688 |
| `hasTextReviews`, `reviewTags` | Whether the offer has any review with text, and the tags returned with the summary |
| `reviews` | Up to two latest reviews, each with content, star level, quantity and an auto remark flag |
| `reviewsSourceUrl`, `reviewsScrapedAt`, `reviewsOfferId` | Provenance of the review block |
| `sourceType` | `offer` for a direct id or link, `keyword` for a search card |
| `mode` | `quick` or `full`, the mode the record was collected in |
| `markers` | Block markers found in the responses, empty on a clean payload |
| `scrapedAt` | Time the row was collected, in ISO 8601 |

A field 1688 does not return stays empty, it is never guessed. Output is available as JSON, CSV or Excel, and the dataset ships three views: details, sellers and price changes.

```json
{
  "recordType": "offer-detail",
  "offerId": "1046010624334",
  "title": "创意亚克力眼镜架定制二次元周边动漫眼镜支架展示架桌面立牌摆件",
  "titleEn": "Creative acrylic glasses holder, custom anime merchandise glasses stand, display rack, desktop standee ornament",
  "url": "https://detail.1688.com/offer/1046010624334.html",
  "price": 8.5,
  "priceText": "8.50-12.00",
  "priceMin": 8.5,
  "priceMax": 12,
  "priceUsd": 1.19,
  "currency": "CNY",
  "usdRate": 0.14,
  "moq": 10,
  "stock": 5460480,
  "unit": "件",
  "soldCount": 35,
  "unitWeightKg": 0.02,
  "dimensions": null,
  "hasDimensions": false,
  "hasVolumeTiers": false,
  "hasCertificates": false,
  "shop": {
    "name": "温州金石达亚克力制品有限公司",
    "memberId": "b2b-222224936342960779",
    "offerCount": 0,
    "compositeScore": 5,
    "responseRate30d": "0%",
    "ship48hRate30d": "0%",
    "years": 1,
    "inspected": false
  },
  "category": null,
  "sourceType": "offer",
  "mode": "full",
  "markers": [],
  "scrapedAt": "2026-11-22T00:00:00.000Z"
}
```

### How to use it

1. Paste offer ids into `offerIds` or whole links into `offerUrls`. Both are merged and deduplicated before the run starts.
2. Or put search terms into `keywords` and the actor finds the offers itself, opening every listing card as a full record.
3. Set `maxItems` to the number of records you are willing to pay for, and `maxResults` to the per-keyword share.
4. Turn on `translate`, `trackHistory` or `includeDescriptionHtml` only if you need them, then download the dataset.

```json
{
  "offerUrls": ["https://detail.1688.com/offer/1046010624334.html"],
  "keywords": ["亚克力眼镜架"],
  "maxItems": 50,
  "maxResults": 60,
  "mode": "full",
  "reviews": true,
  "translate": true,
  "trackHistory": true,
  "maxTotalChargeUsd": 1,
  "requestDelaySecs": 1,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "CN"
  }
}
```

That proxy block is the default the actor ships with. Leave `proxyConfiguration` empty and the run uses exactly it, so a first job needs no setup.

| Input field | Type | Default | What it does |
|---|---|---|---|
| `offerIds` | array | `[]` | Offer ids to open, no search needed |
| `offerUrls` | array | `[]` | Whole 1688 links, the id is read out and the rest is ignored. Prefilled with a sample link so a QA run returns a row without any setup |
| `keywords` | array | `[]` | Search terms, sent to 1688 in GBK. Every listing card found becomes a detail record |
| `maxItems` | integer | `100` | Hard cap on detail records for the whole run |
| `maxResults` | integer | `60` | Records per single keyword |
| `mode` | string | `full` | `quick` reads the detail page only, `full` adds the description, shop metrics and reviews |
| `includeDescriptionHtml` | boolean | `false` | Put the raw description HTML into the row, one extra request per record |
| `reviews` | boolean | `true` | Attach the review summary and up to two review texts |
| `translate` | boolean | `false` | Add `titleEn` next to the Chinese title |
| `translateTo` | string | `en` | Target language of the translated title, `en` or `ru` |
| `trackHistory` | boolean | `false` | Store price and stock across runs and report the change |
| `skipProcessed` | boolean | `false` | Skip offers this actor already returned on an earlier run. The ledger is read and written only when a saved Task started the run |
| `excludeAds` | boolean | `true` | Drop paid listing cards on keyword runs |
| `maxTotalChargeUsd` | number | none | Hard stop on the actor's own bill for this run |
| `requestDelaySecs` | number | `1` | Pause between requests, the main lever against a validation page |
| `requestTimeoutSecs` | integer | `60` | Timeout of a single request |
| `proxyConfiguration` | object | CN residential | Apify proxy settings, prefilled with Chinese residential addresses |
| `runBudgetSecs` | integer | none | Wall-clock budget, prefilled at 205 seconds |

#### Ready-made tasks

| Task | Input | Question it answers |
|---|---|---|
| [1688 Offer Link Details: Price, MOQ, Stock, Shop](https://apify.com/ai-lead-gen-tools/1688-product-detail-scraper/examples/1688-offer-link-details) | `offerUrls`, `maxItems: 2`, `reviews: true` | what is behind an offer link you already hold: price, MOQ, stock, attributes, weight, seller |
| [1688 Keyword to Details: Price and MOQ by Term](https://apify.com/ai-lead-gen-tools/1688-product-detail-scraper/examples/1688-keyword-details) | `keywords: ["亚克力眼镜架"]`, `maxItems: 10`, `maxResults: 12` | what the detail records behind one keyword look like, with seller metrics and category attached |
| [1688 Price Monitor: Track Price and Stock](https://apify.com/ai-lead-gen-tools/1688-product-detail-scraper/examples/1688-price-monitor) | `offerUrls`, `mode: "quick"`, `trackHistory: true` | how the price and the stock of a fixed list moved since the last run |
| [1688 Translated Details: English Titles](https://apify.com/ai-lead-gen-tools/1688-product-detail-scraper/examples/1688-translated-details) | `keywords`, `translate: true`, `translateTo: "en"` | which offers match a term, with titles readable in English |

### Modes

| Mode | Input | Requests per record | What is added |
|---|---|---|---|
| Quick | `offerUrls`, `offerIds`, `mode: "quick"` | 1 | price, range, MOQ, stock, variants, attributes, services, logistics, weight |
| Full | same, `mode: "full"` | up to 3 | description address and images, seller metrics from the search card, reviews |
| Keyword | `keywords` | 1 listing page per 60 cards plus the same per record | the keyword search card that led to each offer, which is what carries the seller metrics and the category |

All inputs run in one job, offer ids first and keywords after, and rows are deduplicated by `offerId`. A record costs one `offer-detail` event whatever produced it.

### Use cases

- **Sourcing a product you already picked** - open a list of offer ids and get MOQ, stock and unit weight in one table, ready for a quote request or a landed cost estimate.
- **Checking a factory before contacting it** - compare composite score, dispatch rate, shop age and inspection status across the sellers behind a keyword.
- **Price and stock monitoring** - run the same ids on a schedule with `trackHistory` and diff the timeline instead of comparing two spreadsheets by hand.
- **Building a sourcing sheet in English** - turn on `translate` and get a readable title next to every Chinese one.

### Cost

**$0.10 per 1 000 detail records** on the highest volume tier, $0.11 on silver and $0.12 on bronze, the same ladder the reverse image actor uses. The Store adds its margin on top of that price and the buyer sees it in the invoice, not in this number.

You pay per row the actor actually pushed into the default dataset:

- `offer-detail` - one detail record, charged only after the row is written.
- `apify-actor-start` - charged once per run.

Rows that were not charged are the ones you did not receive: duplicates dropped by `offerId`, offers skipped by `skipProcessed`, and every record after `maxTotalChargeUsd` was reached. An offer that came back blocked produces no row and no charge.

Residential proxy traffic is not included in the per-row price: it is billed to the account that runs the actor at the platform proxy rate. Every request measured about 41 KB compressed over a Chinese residential address, so 1 000 records move roughly 41 MB in quick mode and up to 120 MB in full mode with reviews and the description. On a large run that proxy traffic costs more than the $0.10 per record event.

### Honest limits

- **Seller metrics and category come from the search card, not from the detail page.** The mobile detail page carries no shop block and no category at all: the certificate, shop, evaluation and same-goods modules answer only inside a buyer session. On a run over ids `shop` is therefore mostly empty and `category` is null, while on a keyword run both are filled from the card that led to the offer.
- **No package size on the measured offers.** The detail page carries weight but no dimension model, so `dimensions` is null and `hasDimensions` is false. The actor does not derive a size from the title, the weight or an image.
- **No certificates without a login.** `certificates` is an empty array and `hasCertificates` is false on every offer measured, because that block needs a buyer session. The field stays declared so certificates appear the moment 1688 serves them anonymously.
- **Stock is absent on one page shape.** Some offers render a different component family that carries the price, the gallery and the attributes but no stock field at all, so `stock` is null there while the rest of the record is filled. The actor does not infer a stock figure from the sale count or the ladder.
- **The volume ladder and the variant prices are two different things.** `priceTiers` comes from `priceModel.currentPrices` and only fills when the page lists several starting quantities, sorted from the smallest one up. `variantPrices` comes from the SKU list and is filled whenever the offer has variants, even when every variant shares one starting quantity. Five of eleven offers measured on the live platform carried a real three step ladder, such as 8.49 at 50 pieces, 8.19 at 500 and 7.99 at 3000, while the other six carried one starting quantity and left `priceTiers` empty with `hasVolumeTiers` false; the two fields tell you which case you got instead of leaving an empty array to interpret.
- **"Same goods from other sellers" is a link, not a search.** The detail page cannot answer that question anonymously, so the actor returns `sameDesignUrl`, the pointer 1688 itself provides, instead of inventing a similarity list.
- **`priceUsd` is our estimate.** It uses a daily reference rate fetched at the start of the run, reported in `usdRate` and in the summary. It is not a quote from 1688 and it ignores payment fees.
- **The gallery can come from the search card.** On a keyword run 1688 sometimes serves the detail page without the picture block at all, and then `images` carries the single cover picture of the card that led to the offer instead of an empty array. An id-only run has no card, so an offer in that state comes back with `images` empty. `descriptionImages` is filled independently in both cases.
- **Reviews are a summary plus at most two texts.** 1688 serves one summary and no pagination. `reviewCountText` is the bucket a buyer sees on the card and `reviewCountTextExact` is the number of reviews that carry text; they are separate fields and never substitute for each other. The same offer returned zero entries in one run and two in another, so the promise is "up to two".
- **Star level and positive rate are auto-assigned.** 1688 gives top marks to almost everything, so both are reported as what the card shows and neither is a quality signal. The rating that does differ between sellers is the shop composite score.

### FAQ

**Where is the dimension and the certificate?**
Both blocks are empty in the anonymous payload: they answer only inside a buyer session, and this actor runs without a login by design. `hasDimensions` and `hasCertificates` say so explicitly rather than leaving you to guess whether the field was skipped.

**Why is my id run missing the seller metrics?**
Those metrics live on the search card. Add the term to `keywords` and the actor fills both the metrics and the category from the card it found. A pasted id alone gives you the detail page, which does not carry them.

**Do I need a 1688 account?**
No. There is no login, no cookie and no key anywhere in the input. The actor works anonymously by design.

**How does the price history work?**
With `trackHistory` on, the price and the stock of every offer are written to the run key-value store, and a point is only added when one of them actually changed. The record then carries `priceHistory`, `stockHistory`, `priceChange` and `firstSeenAt`, up to 100 points per offer.

**What does `skipProcessed` do?**
It remembers every offer the actor already returned and skips those offers next time, so a scheduled run walks through a long id list instead of opening the same offers again. The summary reports how many were skipped. The ledger is per Task and only a run started by a saved Task reads or writes it: a run from the Console or the API keeps the list in memory for that run only, so replaying the same input always returns the same rows. That is why a cheap daily walk over a long list needs a Task rather than a manual run.

**My run says the charge cap was reached. What happened?**
The actor stopped before the next paid event would cross `maxTotalChargeUsd`, kept everything it had already pushed and flagged `chargeCapReached` in the run summary.

### Related actors

- [1688 Image Search Scraper](/1688-image-search-scraper) - the reverse image and keyword search surface of the same marketplace, for finding the offers first and opening them second.
- [Tokopedia Scraper](/tokopedia-scraper) - Indonesian marketplace listings, for comparing a 1688 sourcing price against a retail price in Southeast Asia.
- [Etsy Listings Scraper](/etsy-listings-scraper) - Etsy category and keyword listings with price, rating and shop identity, for pricing a 1688 source against a western retail listing.
- [Amazon Search Results Scraper](/amazon-search) - Amazon search results with the full product card, when a 1688 offer needs a retail comparison on the largest marketplace.

### Changelog

- 2026-11-22: a run that leaves `maxResults` out of the input now takes the documented 60 records per keyword instead of 300. The four ready-made tasks above are published Store examples, each with its own input and its own question.
- 2026-11-22: first release. Detail records by offer id, link or keyword, with price range, USD estimate, MOQ, stock, variant prices, attributes, services, logistics, weight, seller profile from the search card, category, description images, reviews, optional translated title, optional price and stock history, optional description HTML, spend cap and Chinese residential proxy enabled by default.
- 2026-11-22: `priceTiers` is read from the price model of the page instead of the per variant list, so a real volume ladder is no longer dropped and the rows come back sorted from the smallest starting quantity up. `skipProcessed` now keeps its ledger only inside a saved Task, so a Console or API run with the same input returns the same rows instead of an empty dataset on the second call.
- 2026-11-22: the price range is ordered by value, not by the order the page prints it. On a bulk offer 1688 writes the top of the ladder first, such as `8.00-7.00`, and the earlier code read that as a minimum of 8 and a maximum of 7. `price`, `priceMin` and `priceMax` are now consistent on those offers.
- 2026-11-22: pricing moved to $0.10 per 1 000 detail records on the highest volume tier, $0.11 on silver and $0.12 on bronze, the same ladder as the reverse image actor. The spend cap inside the run was rebased to the new per record price in the same release.
- 2026-11-22: an offer whose detail page arrives without the picture block now takes the cover picture of the search card into `images` instead of returning an empty gallery on a keyword run.
- 2026-11-22: the description is now also read from the `?var=desc` host, which serves the body as a JavaScript string literal. Before this, those offers came back with an empty `descriptionHtml`, `descriptionImages` and `descriptionLength` while the description was there and fetchable.
- 2026-11-22: a page that renders the `jgdz` and `zgc` component family instead of the usual one now yields the full record: title, price range, gallery, video, attributes, services and shop. Those pages used to come back with an empty title, price and gallery. Stock stays `null` there because that page shape carries no stock field at all.

# Actor input Schema

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

1688 offer ids, one per entry. A bare number, a mobile link or a desktop link all work: only the id is used and the desktop address is never requested. Every entry produces one detail record and costs one `offer-detail` event.

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

Full 1688 links, one per entry, for pasting a whole page of products. The id is read out of the link and the rest is ignored, so `m.1688.com/offer/<id>.html` and `detail.1688.com/offer/<id>.html` behave the same. Links and ids are merged and deduplicated before the run starts.

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

Chinese or English search terms, one target per entry. A keyword run searches 1688, opens every listing card it finds as a full detail record and keeps the listing card it came from, so shop metrics and category are filled in as well. Keywords are sent to 1688 in GBK; a term with characters outside GBK is skipped with a clear message instead of being sent as garbage.

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

Hard cap on detail records for the whole run, shared across offer ids and keywords. One detail record costs one request, so this is the number that drives both the runtime and the spend. The run stops requesting as soon as the cap is reached.

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

Cap for a single keyword, so one broad term cannot eat the whole budget. Listing pages come 60 cards at a time and each card is opened as its own detail record.

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

How much work one record is. `quick` reads the detail page only: price, price tiers, MOQ, stock, variants, attributes, weight and services. `full` adds the long description, the shop metrics from the search card, the review summary and the optional translation and price history. Quick is the cheap mode when you only need numbers.

## `includeDescriptionHtml` (type: `boolean`):

Put the raw product description HTML into the record, next to the list of description images. The description is served from the image CDN and opens without a login. It is one extra request per record and it makes the dataset large, so it is off by default; `descriptionUrl`, `descriptionImages` and `descriptionLength` are filled either way.

## `reviews` (type: `boolean`):

Attach the review summary and the latest review texts to every record. 1688 returns one summary plus at most two review entries per offer in a single request, with no pagination: `reviewCountText` is the rounded counter shown on the offer card, `reviewCountTextExact` is the number of reviews that actually carry text, and the two are never swapped. Turning this off saves one request per record.

## `translate` (type: `boolean`):

Add `titleEn` next to the Chinese title of every record, so a row can be read without a translator. The translation goes through a free endpoint, costs no extra 1688 request and never fails the row: when the endpoint is down the field stays null and the counter `translateFailed` goes up.

## `translateTo` (type: `string`):

Target language of the translated title. Only used when `translate` is on.

## `trackHistory` (type: `boolean`):

Store the price and stock of every offer in the run key-value store and report `priceHistory`, `stockHistory`, `priceChange` and `firstSeenAt` on the record. A point is written only when the price or the stock actually changed, up to 100 points per offer, so repeated scheduled runs build a real timeline instead of a list of identical stamps.

## `skipProcessed` (type: `boolean`):

Remember which offers this actor already returned and skip them on the next run, so a scheduled run keeps walking through a large list instead of opening the same offers again. The ledger is per Task and only a run started by a saved Task reads or writes it: a run from the Console or the API keeps the list in memory for that run only, so replaying the same input returns the same rows. The counter `skippedProcessed` in the summary reports how many were skipped.

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

Drop paid listing cards from keyword runs. 1688 repeats a sponsored card as a second entry with the same offer id, so the row is deduplicated anyway; this switch decides whether that card is opened at all. Turning it off keeps sponsored offers and their detail records.

## `maxTotalChargeUsd` (type: `number`):

Spending cap for this run in US dollars, checked before every paid event. The actor stops once the next event would cross the cap, keeps everything it already pushed and reports `chargeCapReached` in the summary. Leave empty to run without a cap.

## `requestDelaySecs` (type: `number`):

Pause between requests, in seconds. A cookie jar survives about three keyword page calls before 1688 answers with a validation page, and the actor rotates the jar on every query variant, so a short pause is enough. Raising the delay is the cheapest way to stretch a run when 1688 answers with a validation page.

## `requestTimeoutSecs` (type: `integer`):

Timeout of one request in seconds. Keyword pages come back around 185 KB and detail pages around 190 KB over a Chinese residential proxy, where two to three seconds is normal and ten seconds is not.

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

Proxy the run goes through. The default is a Chinese residential pool, preconfigured so a run needs no setup. Keyword search only answers from a Chinese residential address: a US residential pool returned nothing in ten attempts. Proxy traffic is billed to your Apify account, and a 100 record run spends roughly 4 MB.

## `runBudgetSecs` (type: `integer`):

Soft time budget for the whole run, in seconds. The run stops requesting before the platform timeout, keeps the rows it already pushed and reports the budget as exhausted in the summary. Leave empty to use the whole platform allowance.

## Actor input object example

```json
{
  "offerIds": [],
  "offerUrls": [
    "https://detail.1688.com/offer/1046010624334.html"
  ],
  "keywords": [],
  "maxItems": 100,
  "maxResults": 60,
  "mode": "full",
  "includeDescriptionHtml": false,
  "reviews": true,
  "translate": false,
  "translateTo": "en",
  "trackHistory": false,
  "skipProcessed": false,
  "excludeAds": true,
  "maxTotalChargeUsd": 1,
  "requestDelaySecs": 1,
  "requestTimeoutSecs": 60,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "CN"
  },
  "runBudgetSecs": 205
}
```

# Actor output Schema

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

One row per offer. Identity and title, with the translated title when the flag is on. Price as a number, as printed, as a range, and in USD with the rate used. MOQ, bookable stock, unit, sold counter and sold wording. Gallery, video, per-variant photos and per-variant prices, plus the volume ladder and a flag saying whether the ladder is real. Attributes, seller services, shipping origin, dispatch promise, weight, package amount, size and volume with a flag saying whether the page gave any size, postage and a free shipping flag. Certificates with a flag that says whether any were readable. The seller profile with offer count, service score, response rate, dispatch rate, shop age and inspection status, filled on keyword runs. Category path ids, the same design link, the description address, its images and its length, and the raw HTML when the flag is on. The review summary and up to two reviews. The price and stock timeline with the change between the first and the latest point, when tracking is on. The input that produced the row, the run mode, blocking markers and the timestamp. Every field is always present and unknown values are null, so the column set stays stable between runs.

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

Counters for the run: requests and bytes spent, keyword pages fetched and listing cards seen, detail records collected, duplicates skipped, offers already processed on an earlier run, ads dropped, failed detail, review, description, translation and history calls, the threshold at which the detail surface is given up, the caps actually applied, the USD rate used, estimated spend against the charge cap, the budget state, charge totals, and every input that produced nothing with the reason attached.

# 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/1046010624334.html"
    ],
    "maxItems": 100,
    "maxResults": 60,
    "mode": "full",
    "includeDescriptionHtml": false,
    "reviews": true,
    "translate": false,
    "translateTo": "en",
    "trackHistory": false,
    "skipProcessed": false,
    "excludeAds": true,
    "maxTotalChargeUsd": 1,
    "requestDelaySecs": 1,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "CN"
    },
    "runBudgetSecs": 205
};

// Run the Actor and wait for it to finish
const run = await client.actor("ai-lead-gen-tools/1688-product-detail-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/1046010624334.html"],
    "maxItems": 100,
    "maxResults": 60,
    "mode": "full",
    "includeDescriptionHtml": False,
    "reviews": True,
    "translate": False,
    "translateTo": "en",
    "trackHistory": False,
    "skipProcessed": False,
    "excludeAds": True,
    "maxTotalChargeUsd": 1,
    "requestDelaySecs": 1,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "CN",
    },
    "runBudgetSecs": 205,
}

# Run the Actor and wait for it to finish
run = client.actor("ai-lead-gen-tools/1688-product-detail-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/1046010624334.html"
  ],
  "maxItems": 100,
  "maxResults": 60,
  "mode": "full",
  "includeDescriptionHtml": false,
  "reviews": true,
  "translate": false,
  "translateTo": "en",
  "trackHistory": false,
  "skipProcessed": false,
  "excludeAds": true,
  "maxTotalChargeUsd": 1,
  "requestDelaySecs": 1,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "CN"
  },
  "runBudgetSecs": 205
}' |
apify call ai-lead-gen-tools/1688-product-detail-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ai-lead-gen-tools/1688-product-detail-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/sRCcF1EMD2reMxOI6/builds/gVvh4mVSa1B5z9jfY/openapi.json
