1688.com
1688.com Search API
Search 1688.com offers by keyword: 60 a page with price and price text, minimum order and unit, monthly and total sales as the site writes them, repeat-buyer rate, service tags, guarantees, a sponsored flag and the supplier's business name, years and badges. Sort by sales or price; filter by price range, minimum order and supplier province or city. CNY on the domestic view, USD on the overseas language views. 1 credit per request.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonquerystringrequiredSearch keyword, 1 to 100 characters. Chinese keywords match the domestic catalogue best; other languages work with their own language view.
Example: 保温杯
languagestringdefault:zhzh (the domestic site, CNY), zh-tw (Traditional Chinese, CNY), or en, ru, th, pt, es, tr, ja, ko, vi, km, id (the overseas view: machine-translated titles, prices in USD).
Example: zh
pageintegerdefault:11 to 34; 60 offers a page (1688.com lists up to 2000 offers per search).
sortstringdefault:relevancerelevance, sales, sales_90_days, price_asc or price_desc.
relevance— The site's own order (default).sales— Most sold first.sales_90_days— Most sold in the last 90 days first.price_asc— Lowest price first.price_desc— Highest price first.
price_minnumberLowest unit price, in the answer's currency.
price_maxnumberHighest unit price, in the answer's currency.
moq_minintegerKeeps offers whose minimum order quantity is at least this many units (the site's minimum-order filter).
provincestringSupplier province as 1688.com writes it, in Chinese (e.g. 浙江, 广东).
Example: 浙江
citystringSupplier city as 1688.com writes it, in Chinese with its 市 suffix (e.g. 义乌市, 深圳市).
Example: 义乌市
Notes
1688.com. 1688.com is Alibaba's China domestic wholesale marketplace, where factories and wholesalers sell in bulk in CNY. Offers are priced by order quantity (price breaks) or per SKU, with a minimum order, a stock figure per SKU and the supplier's business card. Scavio fetches the public page on request. 1688.com's own API is an open platform for registered developers that needs registration and approval; this is a separate option on one Scavio key, with the same key and response envelope as every other Scavio platform. Every endpoint costs 1 credit. 1688.com counts up to 2000 offers per search (34 pages of 60). Chinese keywords match the domestic catalogue best; other languages work with their own language view (thermos cup with language en read 60 offers in USD, 4 of them sponsored, in its capture). province and city are written in Chinese as the site writes them (浙江, 义乌市). A filter value or combination the site does not take is a 400, not charged.
Only search takes language. zh (default) is the domestic site in Simplified Chinese with prices in CNY; zh-tw is Traditional Chinese, still in CNY; en, ru, th, pt, es, tr, ja, ko, vi, km and id are the site's overseas views, with machine-translated titles and prices converted to USD. The answer's currency field says which. Supplier names stay in Chinese in every view. product and product-reviews answer in Chinese with prices in CNY. When 1688.com asks for a verification step instead of showing the page, the call fails with a 502 (code UPSTREAM_BLOCKED) and is not charged; try again later.
| Endpoint | What it returns | Credits per call |
|---|---|---|
search | Offer search by keyword: 60 offers a page with price, minimum order, unit, monthly and total sales, repeat-buyer rate, service tags and the supplier's name, years and badges; CNY on the domestic view, USD on the overseas language views | 1 |
product | One offer by id or link, in Chinese with CNY prices: price breaks by order quantity, minimum order, total stock, the SKU table with stock and sales per SKU, specs, pack weights, shipping origin and promise, services and the supplier | 1 |
product-reviews | The reviews one offer page shows (usually 3 to 7), the offer's review summary with its average rating, and the supplier's business card | 1 |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=180)
d = client.alibaba1688.search(query="保温杯", sort="sales")["data"]
print(d["total"], d["currency"])
for it in d["items"]:
print(it["product_id"], it["price_text"], it["moq"], it["unit"], it["sales_text"], it["supplier"]["name"])Response