CN 1688 Scraper avatar

CN 1688 Scraper

Pricing

from $3.99 / 1,000 results

Go to Apify Store
CN 1688 Scraper

CN 1688 Scraper

Extract publicly visible 1688.com product cards, prices, suppliers, and demand signals.

Pricing

from $3.99 / 1,000 results

Rating

0.0

(0)

Developer

Coding Frontned

Coding Frontned

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

a month ago

Last modified

Categories

Features

Limited permissions

Share

Extracts bounded, source-backed product listing evidence from public 1688.com search pages. A normal row is emitted only when a public 1688 product URL and usable title are visible in the permitted response; normal dataset rows contain public business/source fields only.

What it collects

When 1688 exposes the values, rows include product ID, title, product and image URLs, visible price and price range, currency, minimum order quantity, supplier name and location, sales volume, public specifications, source-page provenance, page number, and a UTC emission timestamp. Missing optional values remain absent; the Actor does not infer private supplier information or commercial facts. Operational instrumentation, transport metadata, counters, and validation wrappers stay in the run summary/KVS artifacts.

Source and access policy

  • Live transport uses direct HTTPS requests to public s.1688.com search pages, with public 1688/detail and CDN URLs accepted only as extracted product/image evidence.
  • Official requests are preceded by s.1688.com/robots.txt preflight and disallowed pages are skipped.
  • Redirects, retries, request delay, timeout, response size, page count, and product count are bounded.
  • CAPTCHA/security challenges, access-control responses, HTTP failures, empty responses, invalid URLs, and robot restrictions become separate minimal recordType: "diagnostic" rows. No login, cookies, private API, proxy rotation, browser automation, CAPTCHA solution, or access-control bypass is used.

Input

Use keywords to generate public 1688 search URLs, or provide searchUrls as { "url": "..." } objects. Explicit URLs take precedence; invalid explicit URLs are reported and never replaced with generated keyword requests. maxPages follows only observed next-page links, and maxItems is the global product cap.

FieldDefaultLimits and behavior
keywordswireless earbudsUp to 20 search phrases
searchUrlsnonePublic s.1688.com/selloffer/offer_search.htm URLs; up to 20 schema inputs
maxPages1Integer from 1 to 10 per source; observed pagination only
startPage1Integer from 1 to 1,000 for generated keyword searches
maxItems100Integer from 1 to 2,000 unique product rows
maxRetries2Integer from 1 to 5 attempts for retryable failures
requestDelayMs300Integer from 0 to 5,000 milliseconds between live requests
requestTimeoutMs30000Integer from 5,000 to 120,000 milliseconds
maxBytes5000000Integer from 1,000 to 15,000,000 response bytes
includeDiagnosticstrueWhether diagnostic rows are emitted to the dataset; summary evidence remains available
sourceModelivelive or fixture; fixture mode never falls back to live
fixtureHtmlemptyLocal QA HTML body
fixtureFile / fixtureFilesnoneLocal HTML paths inside the Actor directory; one file can be reused or files can match source order

Example:

{
"keywords": ["wireless earbuds", "usb hub"],
"maxPages": 2,
"maxItems": 100,
"requestDelayMs": 500,
"includeDiagnostics": true
}

Example explicit source:

{
"keywords": ["wireless earbuds"],
"searchUrls": [
{ "url": "https://s.1688.com/selloffer/offer_search.htm?keywords=wireless%20earbuds" }
],
"maxPages": 1,
"maxItems": 50
}

For deterministic local QA:

{
"keywords": ["usb hub"],
"sourceMode": "fixture",
"fixtureFile": "test/fixtures/second-pass-products.html",
"maxPages": 1,
"maxItems": 5,
"requestDelayMs": 0
}

Output

The dataset contains:

  • public product rows with source identity, public title/URL, page/search provenance, public commercial/supplier fields, and a UTC emission timestamp.
  • minimal diagnostic rows with only recordType, public url, error, errorCode, and scrapedAt.

The reconciled run summary is written under OUTPUT_SUMMARY, RUN_SUMMARY, OUTPUT, and SUMMARY. SOURCE_METADATA records the public source boundary and privacy policy; DIAGNOSTICS records diagnostic evidence. Summary counts distinguish live requests, logical pages, products seen/stored, filtered or duplicate products, and diagnostics.

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

Local development

npm ci
npm test
npm run lint
npm run validate
apify validate-schema
apify run --purge --input-file input.json

The public 1688 route may return a security challenge or robots restriction to a direct local request. In that case the Actor records a truthful blocked diagnostic and does not fabricate product data. This Actor is intended for local verification in this repository and does not use Apify login, push, call, cloud execution, or credentialed requests.

Notes

Only public values visible in the permitted response are emitted. Respect 1688's terms, robots guidance, and applicable law; verify important sourcing decisions independently because prices, stock, sales signals, and suppliers can change.