1688.com via Scavio
Read 1688.com (Alibaba's China domestic wholesale marketplace, where factories sell in bulk in CNY): keyword search, one offer in full with its quantity price breaks and SKU stock, and the reviews shown on an offer page with the supplier's business card. All 3 endpoints return structured JSON and cost 1 credit each.
The one fact to get right: the search view decides the language and the currency. language zh (the default, the domestic site) and zh-tw answer in CNY; en, ru, th, pt, es, tr, ja, ko, vi, km and id are 1688.com's overseas view, with machine-translated titles and prices converted to USD. The answer's currency says which. /product and /product-reviews are always the domestic page: Chinese text, prices in CNY. Never mix a USD search price with a CNY product price without saying so.
Five limits shape every answer, so say them plainly:
- Prices are per quantity. An offer is priced by
price_breaks(a unit price per order-quantity band:min_quantitytomax_quantity, null meaning "and above") or per SKU (price_typeper_sku), withmoqthe minimum order. Quote the band with the price. - Private prices. Some suppliers show prices to approved buyers only: then
price_visibleis false,price_hidden_reasonis private_price and every price is null. Never estimate a hidden price. - Reviews: first page only, no star per review.
/product-reviewsreturns the reviews the offer page itself shows (usually 3 to 7), with no star rating per review: the page's own values disagree, so use the offer'sreview_summary(good_rate,average_star) for ratings. Reviewer names are not returned. - Search is capped by 1688.com. It counts and lists up to 2,000 offers per search: 34 pages of 60.
- Credits. Every call costs 1 credit.
credits_usedin the response is the truth. A not-found (404) is charged; a refused input (400) and a failed call (502,503) are not. When 1688.com asks for a verification step, the call fails with502and is not charged.
1688.com offers an open-platform API that needs registration and approval. This skill reads the public pages on request instead, with no account.
See also: alibaba-wholesale-api for Alibaba.com (the global B2B marketplace, USD quotes in English), aliexpress-product-data for AliExpress retail listings.
When to trigger
Use this skill when the user asks to:
- Search 1688.com for a product (in Chinese for the domestic catalogue, or in another language through the overseas view)
- Read an offer's unit price at each order-quantity break, its minimum order, SKU table with stock and units sold
- Compare factory prices on 1688.com for the same product, or set them next to Alibaba.com or AliExpress
- Filter 1688.com offers by price, minimum order quantity, or the supplier's province or city (e.g. 浙江, 义乌市)
- Check a 1688.com supplier: factory or wholesaler, years on the platform, repeat-buyer rate, service scores
- Read what buyers wrote on an offer page and the offer's good-review rate
Setup
Get a free API key at scavio.dev (50 free credits to get started, no card required):
export SCAVIO_API_KEY=sk_live_your_key
If you do not have a key yet
An agent running this skill without SCAVIO_API_KEY set will get 401 on every
call below. The whole path from nothing to a working key is self-serve:
- Sign up at dashboard.scavio.dev - email or Google, no card required.
- A key is created for the account automatically at signup. It is on the dashboard under API Keys, ready to copy.
- A new account starts with 50 credits. Every 1688.com call costs 1 credit, so 50 credits cover 50 calls.
When the balance runs out the API answers 402 with a JSON body carrying
billing_url. Topping up needs no code change - the same key keeps working.
Paid plans start with Hobby at $15 per month for 3,000 credits; on Growth,
1,000 credits cost $1.
Every request is a POST with a JSON body and:
Authorization: Bearer $SCAVIO_API_KEY
Endpoints
Base URL: https://api.scavio.dev.
| Endpoint | What it returns | Credits |
|---|---|---|
POST /api/v1/1688/search |
Keyword search, 60 offers a page (up to 34 pages): price, minimum order, monthly and total sales, repeat-buyer rate, service labels, sponsored flag and the supplier summary | 1 |
POST /api/v1/1688/product |
One offer in full by id or link, in Chinese with CNY prices: price breaks, minimum order, total stock, SKU table with stock, specs, pack weights, shipping, services, rating summary and the supplier | 1 |
POST /api/v1/1688/product-reviews |
The reviews shown on one offer page (usually 3 to 7), the offer's review summary and the supplier's business card. Slower: 12 to 21 seconds measured | 1 |
Workflow
- Search.
/searchwithquery(Chinese keywords match the domestic catalogue best; another language works with its ownlanguageview). Each item'sproduct_idis the offer id. - Read the offer.
/productwithoffer_id(the search item'sproduct_id) or an offerurlfor the price breaks, SKU stock and supplier. - Read its reviews and supplier card.
/product-reviewswith the sameoffer_idfor the reviews on the page,review_summaryand the supplier's business card (business type, location, established date, years on the platform, factory facts).
Parameters
| Parameter | Endpoint | Description |
|---|---|---|
query |
search (required) | Search keyword, 1-100 characters, e.g. 保温杯 |
language |
search | zh (default, domestic site, CNY), zh-tw (Traditional Chinese, CNY), or en, ru, th, pt, es, tr, ja, ko, vi, km, id (overseas view: machine-translated titles, USD) |
page |
search | 1-34, 60 offers a page |
sort |
search | relevance (default), sales, sales_90_days, price_asc or price_desc |
price_min / price_max |
search | Unit price range, in the answer's currency |
moq_min |
search | Keeps offers whose minimum order quantity is at least this many units |
province |
search | Supplier province as 1688.com writes it, in Chinese (e.g. 浙江, 广东) |
city |
search | Supplier city in Chinese with its 市 suffix (e.g. 义乌市, 深圳市) |
offer_id |
product, product-reviews | The offer id (search items[].product_id, 6 to 15 digits, e.g. 844959449618). Send offer_id or url, not both |
url |
product, product-reviews | A 1688.com offer link (https://detail.1688.com/offer/<id>.html), instead of offer_id |
Examples
One offer's price breaks and SKU stock
Request {"offer_id": "844959449618"} (abridged; a dress from a Dongguan factory):
{
"offer_id": "844959449618",
"title": "新款街百搭甜酷风立领拉链纯色休闲百搭包臀背心裙连衣裙",
"currency": "CNY",
"unit": "件",
"price_visible": true,
"price_type": "quantity_breaks",
"price_min": 15,
"price_max": 17,
"price_breaks": [
{ "min_quantity": 1, "max_quantity": 99, "price": 17 },
{ "min_quantity": 100, "max_quantity": 199, "price": 16 },
{ "min_quantity": 200, "max_quantity": null, "price": 15 }
],
"moq": 1,
"total_stock": 4872,
"sold": { "text": "700+", "period": "一年内", "count": 778 },
"rating": { "good_rate": 82.3, "goods_grade": 4.4 },
"sku_count": 6,
"skus": [
{ "sku_id": "5624921829195", "spec": [{ "name": "颜色", "value": "白色" }, { "name": "尺码", "value": "M" }], "spec_text": "白色>M", "price": null, "stock": 853 }
],
"shipping": { "ships_from": "广东省揭阳市", "delivery_days": 2, "free_shipping": true },
"supplier": { "company_name": "东莞市虎门简单辣女生服装厂", "type": "factory", "factory": true, "service_score": 4, "repeat_rate_3m": 47.7 }
}
sold.period 一年内 means "within a year". SKU price is null here because this offer prices by quantity breaks.
Search in two views
/search with {"query": "保温杯", "sort": "sales"}: currency CNY, total 2000 (the cap), 34 pages; the top offer read 9.50 CNY, minimum order 1 个, monthly_sales_text 1万+ (10,000+), repeat_rate 11.16, from a 2-year supplier in Yongkang. /search with {"query": "thermos cup", "language": "en"}: currency USD, English titles, the first offer at 1.37 USD with is_ad true (4 sponsored offers on the page).
Reviews and the supplier card
/product-reviews with {"offer_id": "821623781953"}: review_summary good_rate 100, average_star 5, review_count_text 700+; count 2 reviews on the page, each with content, quantity, images and published_at; supplier business_type 生产厂家 (manufacturer), location 广东 深圳市福田区, established 2015-10-25, 12 years on the platform, repeat_rate 43.
Python
import requests
BASE = "https://api.scavio.dev"
# Your key from https://scavio.dev. Load it from your environment or secret
# store in real code - keep it out of source control.
API_KEY = "sk_your_key_here"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}
def cn1688(endpoint, body):
r = requests.post(f"{BASE}/api/v1/1688/{endpoint}", headers=HEADERS, json=body, timeout=180)
r.raise_for_status()
return r.json()
# 1. Domestic search, Zhejiang suppliers, most sold first (1 credit)
res = cn1688("search", {"query": "保温杯", "province": "浙江", "sort": "sales"})["data"]
print(res["currency"], res["total"], [(it["product_id"], it["price_text"], it["moq"]) for it in res["items"][:3]])
# 2. One offer's price breaks (1 credit)
offer = cn1688("product", {"offer_id": res["items"][0]["product_id"]})["data"]
if offer["price_visible"]:
for b in offer["price_breaks"] or []:
print(b["min_quantity"], b["max_quantity"], b["price"], offer["currency"])
# 3. Its reviews and the supplier card (1 credit, slower)
rev = cn1688("product-reviews", {"offer_id": offer["offer_id"]})["data"]
print(rev["review_summary"]["good_rate"], rev["count"], rev["supplier"]["business_type"])
Response shapes
Every response uses the envelope { data, response_time, fetched_at, credits_used, credits_remaining }.
- search -
query,language,currency(CNY for zh / zh-tw, USD for the overseas views),page,page_size,sort,filters,total(up to 2000),total_pages,has_more,count,ad_count,items[]{rank,product_id,title,url,image,images,price_min,price_max,price_text,currency,moq,unit,monthly_sales_text,sales_text,repeat_rate,service_tags,guarantees(codes such as SHIP_IN_48_HOURS, SEVEN_DAY_NO_REASON_RETURN),ships_from_city,is_new,is_ad,supplier{name,membership_years,trade_assurance,badges}}. - product -
offer_id,url,title,category_id,currency,unit,price_visible,price_hidden_reason,price_type(quantity_breaks or per_sku),price_min,price_max,price_breaks[]{min_quantity,max_quantity,price},moq,total_stock,sold{text,period,count},rating{good_rate,goods_grade,tags[]{name,count},impressions[]{name,count}},sku_dimensions[]{name,values[]{name,image}},sku_count,skus[]{sku_id,spec[]{name,value},spec_text,price,discount_price,stock,sold},specs[]{name,value},pack{unit_weight_kg,per_sku[]{sku_id,spec_values,weight_g,length_cm,width_cm,height_cm,volume_cm3}},shipping{ships_from,ships_from_division_code,delivery_promise,delivery_days,free_shipping,fee_rule},services[]{name,description},promotions,images,video,supplier{company_name,type(factory or default),factory,service_score,repeat_rate_3m}. - product-reviews -
offer_id,url,review_summary{good_rate,goods_grade,average_star,review_count_text,tags,impressions,fulfillment[]{name,value}},count,reviews[]{review_id,content,quantity,unit,spec[]{name,value},images,published_at},supplier{company_name,business_type,label,location,established,years_on_platform,repeat_rate,super_factory,powerful_merchant,customer_star,service_scores[]{key,score},factory{facts[]{name,value},tags}}.
Guardrails
- Name it "1688.com (Alibaba's China domestic wholesale marketplace, where factories sell in bulk in CNY)" on first mention.
- Prices: quote the unit price with its quantity band, the unit (often a Chinese measure word such as 个 or 件: one piece), the currency and the
fetched_attime. Say whether it came from the CNY domestic view or the USD overseas view. A price break is the supplier's listed price, not a landed cost: international shipping, duties and agent fees are outside it. - Hidden prices: where
price_visibleis false, say the supplier shows prices to approved buyers only. Never estimate one. - Sales and stock:
sales_textandmonthly_sales_textare the page's rounded labels (1万+ = 10,000+);stockis the page's figure when fetched, not a promise. - Reviews: summarise what buyers wrote; ratings come from
review_summary, never invented per review. Only the reviews on the offer page are returned. - Translation: Chinese text is returned as the page writes it; translate it for the user and say it is a translation.
- Use: keep any use descriptive - comparing offers, price breaks, minimum orders and suppliers for a sourcing decision.
- Links and content: refer to offers by title and offer id and to suppliers by business name; do not republish the site's photos or product copy, and do not use the answers to copy or rebuild its catalogue.
- Not covered: supplier shop pages and shop product lists, review pages beyond the ones the offer page shows, search suggestions, the category tree, Taobao and Tmall, ordering, messaging suppliers, price history.
- Terms: Scavio does not store 1688.com data: each call fetches the public page data at the moment the request asks for it and returns what it shows as JSON, with no response cache. 1688.com's terms prohibit systematic retrieval of site content to compile a collection or database without written permission; read the current terms and get your own advice. This is not legal advice.
- Never fabricate prices, offer ids, stock, ratings or supplier details. Only return what the API returned.
Failure handling
400means a missing or invalid parameter, and it is not charged: "send one of offer_id or url"; alanguageorsortnot listed;pageabove 34; a filter value the site does not take.401means the API key is invalid or missing. CheckSCAVIO_API_KEY.402means the balance is out of credits. The body carriesbilling_url.404means not found, and it is charged: an offer id 1688.com does not have.429means rate or usage limit exceeded. Wait before retrying. See rate limits.502means 1688.com data was temporarily unavailable, or 1688.com asked for a verification step instead of returning the page (the body'scodesays which). It is not charged; try again later.503is not charged either and carriesRetry-After.- Allow a client timeout of at least 180 seconds (
product-reviewstakes 12 to 21 seconds). - If
SCAVIO_API_KEYis not set, prompt the user to export it before continuing.
SDKs
pip install scavio==0.117.0
npm install scavio@0.118.0
import { Scavio } from "scavio";
const scavio = new Scavio(); // reads SCAVIO_API_KEY
const { data: res } = await scavio.alibaba1688.search({ query: "保温杯", sort: "sales" });
const { data: en } = await scavio.alibaba1688.search({ query: "thermos cup", language: "en" });
const { data: offer } = await scavio.alibaba1688.product({ offer_id: "844959449618" });
const { data: reviews } = await scavio.alibaba1688.productReviews({ offer_id: "821623781953" });
The SDK namespace is alibaba1688 because an identifier cannot start with a digit. In Python (from scavio import ScavioClient, client = ScavioClient()) the same methods are client.alibaba1688.search(...), product and product_reviews, with the same parameter names as keyword arguments.
MCP
The Scavio MCP server exposes all 3 endpoints as tools: search_alibaba1688, get_alibaba1688_product and get_alibaba1688_product_reviews. 1688.com is opt-in: add alibaba1688 to SCAVIO_PLATFORMS.
{
"mcpServers": {
"scavio": {
"command": "npx",
"args": ["-y", "@scavio/mcp-server@0.119.0"],
"env": {
"SCAVIO_API_KEY": "sk_live_your_key",
"SCAVIO_PLATFORMS": "default,alibaba1688"
}
}
}
}
Docs
Full reference per endpoint: search, product, product-reviews. Platform page: scavio.dev/1688-api.
