CN 1688 Scraper
Pricing
from $3.99 / 1,000 results
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
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
2
Monthly active users
a month ago
Last modified
Categories
Features
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.comsearch pages, with public 1688/detail and CDN URLs accepted only as extracted product/image evidence. - Official requests are preceded by
s.1688.com/robots.txtpreflight 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.
| Field | Default | Limits and behavior |
|---|---|---|
keywords | wireless earbuds | Up to 20 search phrases |
searchUrls | none | Public s.1688.com/selloffer/offer_search.htm URLs; up to 20 schema inputs |
maxPages | 1 | Integer from 1 to 10 per source; observed pagination only |
startPage | 1 | Integer from 1 to 1,000 for generated keyword searches |
maxItems | 100 | Integer from 1 to 2,000 unique product rows |
maxRetries | 2 | Integer from 1 to 5 attempts for retryable failures |
requestDelayMs | 300 | Integer from 0 to 5,000 milliseconds between live requests |
requestTimeoutMs | 30000 | Integer from 5,000 to 120,000 milliseconds |
maxBytes | 5000000 | Integer from 1,000 to 15,000,000 response bytes |
includeDiagnostics | true | Whether diagnostic rows are emitted to the dataset; summary evidence remains available |
sourceMode | live | live or fixture; fixture mode never falls back to live |
fixtureHtml | empty | Local QA HTML body |
fixtureFile / fixtureFiles | none | Local 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
diagnosticrows with onlyrecordType, publicurl,error,errorCode, andscrapedAt.
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 cinpm testnpm run lintnpm run validateapify validate-schemaapify 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.