1688.com
1688.com Product API
One 1688.com offer by offer id or link, in Chinese with prices in CNY: price breaks by order quantity (or a price per SKU), minimum order, total stock, sales in the period the page states, the rating summary, the SKU table with each SKU's spec, price, stock and sales, specs, pack weights and sizes, where it ships from and the delivery promise, services, promotions, images and video, and the supplier's name, type and repeat rate. 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/jsonoffer_idstring | integer1688.com offer id, 6 to 15 digits (items[].product_id from search). Send offer_id or url.
Example: 844959449618
urlstringOr a 1688.com offer link (https://detail.1688.com/offer/<id>.html).
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. price_type is quantity_breaks (price_breaks gives the unit price per order-quantity band; max_quantity null means and above, and skus[].price is then null) or per_sku (each SKU carries its own price). When a supplier shows prices to approved buyers only, price_visible is false, price_hidden_reason is private_price and every price is null.
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.product(offer_id="844959449618")["data"]
print(d["title"], d["currency"], d["moq"], d["unit"], d["total_stock"])
for b in d["price_breaks"]:
print(b["min_quantity"], b["max_quantity"], b["price"])
for s in d["skus"]:
print(s["spec_text"], s["stock"], s["sold"])Response