360 Secure SkillHub
360 安全技能中心

1688.com API - China Wholesale Search, Price Breaks, MOQ, SKU Stock, Reviews

该 Skill 通过 Scavio 调用 1688.com 的三个接口:关键词搜索(支持多语言与 CNY/USD 视图)、读取单个商品的阶梯价、MOQ、库存、SKU、物流与供应商,以及读取商品页评价和供应商名片。每次调用消耗 1 credit,搜索最多返回 2000 条,评价仅首页。部分商品价格对未授权买家隐藏。

分类:搜索
scavio-ai
scavio-ai
热度 27.77
最近更新 2026-12-03 04:47:14

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add scavio-ai/1688-api
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
1688-api
description
1688.com API for 1688.com (Alibaba's China domestic wholesale marketplace, where factories sell in bulk in CNY) - what an offer costs per unit at each order-quantity break, its minimum order quantity, every SKU with its stock, units sold, the good-review rate and the supplier's business card (factory or wholesaler, years on the platform, repeat-buyer rate, service scores), as 1688.com shows them to a visitor who is not signed in (on 2026-12-02 the search 保温杯 (thermos cup) sorted by sales hit 1688.com's 2,000-offer cap, the top offer at 9.50 CNY with a minimum order of 1 and 1万+ sold a month; a dress offer from a Dongguan factory read 17 CNY for 1-99 pieces, 16 for 100-199 and 15 from 200, 4,872 in stock across 6 SKUs, 778 sold in the past year, 82.3% good reviews, ships in 2 days) with search (60 offers a page, sort by sales or price, filters for price, minimum order and supplier province or city; Chinese and Traditional Chinese views in CNY, and en, ru, th, pt, es, tr, ja, ko, vi, km and id views with machine-translated titles and prices in USD), one offer in full (in Chinese, CNY) and the reviews shown on an offer page with the offer's review summary and the supplier's business card. 3 endpoints, 1 credit each. Reviews are the first page only with no star per review; no shop pages, search suggestions, category tree or Taobao.
version
1.0.0
tags
1688, 1688-com, 1688-api, 1688-search, 1688-product, 1688-reviews, 1688-wholesale, 1688-suppliers, 1688-factory, alibaba-1688, china-wholesale, china-sourcing, chinese-suppliers, factory-direct, wholesale, wholesale-prices, bulk-prices, price-breaks, quantity-pricing, moq, minimum-order-quantity, sku-stock, sourcing, product-sourcing, supplier-vetting, procurement, dropshipping, yiwu, guangdong, zhejiang, cny, rmb, usd, chinese, product-data, price-monitoring, structured-data, json
metadata
{"openclaw":{"requires":{"env":["SCAVIO_API_KEY"]},"primaryEnv":"SCAVIO_API_KEY","timeout":180,"throttle":1,"homepage":"https://scavio.dev/1688-api?utm_source=agent-skills&utm_medium=skill&utm_campaign=1688-api"}}

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_quantity to max_quantity, null meaning "and above") or per SKU (price_type per_sku), with moq the minimum order. Quote the band with the price.
  • Private prices. Some suppliers show prices to approved buyers only: then price_visible is false, price_hidden_reason is private_price and every price is null. Never estimate a hidden price.
  • Reviews: first page only, no star per review. /product-reviews returns 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's review_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_used in 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 with 502 and 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:

  1. Sign up at dashboard.scavio.dev - email or Google, no card required.
  2. A key is created for the account automatically at signup. It is on the dashboard under API Keys, ready to copy.
  3. 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

  1. Search. /search with query (Chinese keywords match the domestic catalogue best; another language works with its own language view). Each item's product_id is the offer id.
  2. Read the offer. /product with offer_id (the search item's product_id) or an offer url for the price breaks, SKU stock and supplier.
  3. Read its reviews and supplier card. /product-reviews with the same offer_id for the reviews on the page, review_summary and 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_at time. 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_visible is false, say the supplier shows prices to approved buyers only. Never estimate one.
  • Sales and stock: sales_text and monthly_sales_text are the page's rounded labels (1万+ = 10,000+); stock is 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

  • 400 means a missing or invalid parameter, and it is not charged: "send one of offer_id or url"; a language or sort not listed; page above 34; a filter value the site does not take.
  • 401 means the API key is invalid or missing. Check SCAVIO_API_KEY.
  • 402 means the balance is out of credits. The body carries billing_url.
  • 404 means not found, and it is charged: an offer id 1688.com does not have.
  • 429 means rate or usage limit exceeded. Wait before retrying. See rate limits.
  • 502 means 1688.com data was temporarily unavailable, or 1688.com asked for a verification step instead of returning the page (the body's code says which). It is not charged; try again later. 503 is not charged either and carries Retry-After.
  • Allow a client timeout of at least 180 seconds (product-reviews takes 12 to 21 seconds).
  • If SCAVIO_API_KEY is 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.