Category tree
Returns 1688 category nodes from 1 to 3 levels deep, named in any of the 9 listed languages, with the original Chinese name kept beside each node.
Loading / 加载中…
1688 Wholesale Marketplace API · E-commerce & marketplace data
This API returns data about listings on 1688.com. It covers the category tree with names in 9 languages, category listings in fixed pages of 30, keyword search over wholesale offers, a search over the curated factory shortlist for a keyword, the full record of one offer including its quantity price ladder, MOQ and variants, and the buyer reviews of one offer. Prices are returned in CNY, and the price field is a number on search rows and at the top level of offer detail.
JSON in, a structured response out. Every public gateway endpoint uses POST.
Returns 1688 category nodes from 1 to 3 levels deep, named in any of the 9 listed languages, with the original Chinese name kept beside each node.
Pages through the offers of one 1688 category, 30 per page up to page 200; each row carries a CNY price, minimum order quantity, listing date, fulfilment promises and certifications.
For one offer id or url, returns title, images, CNY price and price type, the quantity price ladder, MOQ, stock, mixed-batch terms, attributes, a seller block and per-variant SKUs.
For one offer id, returns the average rating out of 5, the positive-feedback percentage, a review count and one page of reviews with text, quantity, variant, photos and date.
Searches 1688 offers by keyword and returns a shortlist of about 20 offers, each with price, seller company, both repeat-purchase rates, attributes, category ids and an ad flag.
Searches the curated 1688 manufacturer shortlist by keyword and returns location, workforce, floor area, medal, repeat-buyer and on-time rates, audit status and offer ids.
Search rows, category offer rows, the offer price and each price tier come with a text form in price_display; on search rows and in the offer record price is a number, so those prices can be sorted or compared without parsing the text. Keyword search rows carry more than the shortlist summary suggests: an image gallery in images, a product video, the sold figure in sold_display and the listing's service_tags. Category offer rows add a sales figure, and their currency field names the currency of price.
1688.com is the online wholesale marketplace of Alibaba Group for business-to-business trade within China's domestic market. 1688.com and Alibaba.com both belong to Alibaba Group, with 1688.com serving buyers inside China and Alibaba.com serving international wholesale buyers.
Sellers on 1688.com include Chinese manufacturers, factories and wholesalers who list goods for business buyers. 1688.com is written in Chinese for domestic buyers, so foreign buyers use translation tools or image search to work with it.
The offer record from post-1688-product-detail holds these fields:
| Field | What it tells you |
|---|---|
attributes | the specification table, such as material, brand or model, as name and value pairs |
in_stock, stock | the offer's availability |
sold_count | the units sold for the offer |
unit | the unit the price applies to |
mix | the mixed-batch terms, through supported, min_qty and min_amount |
seller | the name, user_id and storefront url, next to the member and login ids |
category | the category's top_id and post_id |
The variant block in variants adds the colour, size or spec axes, a price_range and a ship_from_code. Each of its SKUs carries a discount_price beside its price, its own stock and sold_count, and its spec. None of the operations places an order or contacts a seller.
Each node from post-1688-categories carries these fields:
| Field | What it tells you |
|---|---|
id, level | the node's id and its level |
name | the node name in the requested language |
name_zh | the node's Chinese name |
is_leaf | shows whether the node has no subcategories below it |
children, child_count | either the node's children or only a count of them |
post-1688-search rows keep two repeat-purchase figures apart: offer_repurchase_rate belongs to the offer itself and shop_repurchase_rate to the seller's whole shop. Their seller block adds the company name and years_on_1688, and the response returns query and query_echo together with count. The attributes on search rows are name and value pairs that the seller published.
The certifications on rows from post-1688-category-offers are the cross-border certifications attached to the listing. Rows of both operations return the offer url next to its id, and that url is accepted as body.offer_id just as the id is.
post-1688-supplier-search rows go further than location and size:
| Field | What it tells you |
|---|---|
makes | what the factory manufactures |
medal_level | the grade of the gold-manufacturer medal |
reply_rate_30d | the reply rate over 30 days |
is_super_factory | the factory's super-factory status |
years_on_1688 | the factory's time on the marketplace |
third_party_audit | whether the factory has been audited by a firm such as SGS |
The response adds a note beside count and query, and a result holds a handful of rows rather than a page. Each row's offer_ids can be sent one at a time as body.offer_id to post-1688-product-detail and post-1688-product-reviews to fetch each offer's detail and reviews.
In post-1688-product-reviews, rating, good_percent and review_count are numbers, and each comes with a companion field:
| Numeric field | Companion field |
|---|---|
rating | rating_scale, the scale it is measured on |
good_percent | good_percent_display, the same figure as printed |
review_count | review_count_display, the printed count |
Sort and filter on the numeric fields, except that review_count is a lower bound where the printed count is 100+, so offers printed as 100+ cannot be ordered by it. Each entry in reviews also carries a plus_user field. An offer that has no reviews yet returns an empty reviews list and a zero count rather than an error, and the operation has no page input, so there is no further page to request.
{
"body": {
"query": "蓝牙耳机"
}
}POST /api/v1/alibaba-1688/<action> with x-api-key, Content-Type: application/json and a required Idempotency-Key.ok: true: data is the result of the operation, meta.requestId identifies the recorded request and meta.chargedCreditUnits is the amount charged. Otherwise ok is false and error.code names the reason; read ok and error.code rather than relying on the HTTP status alone. Every gateway reply carries a request id for support: meta.requestId, or a top-level requestId in a reply without meta (such as a refusal before admission).Call the category offers operation with body.category_id and raise body.page from 1 while has_next stays true. Pages hold a fixed 30 offers, page accepts values from 1 to 200, and consecutive pages share no offer ids, so this is the operation for broad coverage. Category ids come from the category tree or from the category_ids of any keyword search row, ordered from broad to leaf.
Keyword search returns one shortlist of about 20 offers per keyword and has no page input, so has_next is always false. Calling it again with the same keyword returns a rotating selection that levels off near 38 distinct offers. For more results, take a category id from a row's category_ids and page through that category with the category offers operation, which returns 30 offers per page.
Yes. body.offer_id is a string that accepts either the digits of an offer id, such as 864971848115, or a full offer url, for both offer detail and buyer reviews. The id of any keyword search or category offer row is a valid value, so a row can be expanded without building a url, and the same value can be sent to both operations to fetch an offer's detail and its reviews side by side.
Both work. Chinese terms return by far the richest results, and English or pinyin terms also match, for keyword search and factory search alike. A practical route for users who do not read Chinese is to fetch the category tree in their own language and use the Chinese name returned in name_zh as the search term, since every node carries that original name whatever language was requested.
Call the category tree operation with body.language set to en, which is also the default; Russian, Spanish, Portuguese, French, German, Japanese, Korean and Chinese are available as well. body.depth sets how many levels come back: 1 returns the 54 top-level categories, 2 is the default, and 3 returns the full tree of about 2.4 MB. Each node keeps its Chinese name in name_zh.
Call offer detail with the offer id. It returns price_tiers, each tier with min_qty, max_qty, price and price_display, and moq with its quantity and unit. price_type shows whether one ladder applies to all variants (rangePrice) or each variant has its own price (skuPrice), in which case read the prices in variants. Keyword search rows carry neither an MOQ nor a ladder, while category offer rows include moq.
Factory search draws on a curated manufacturer shortlist per keyword rather than a full index, so some keywords return no factories. An empty items list is a valid answer meaning the shortlist has no factory for that keyword; it is not an error, and repeating the same query does not change it. Trying another keyword, a Chinese term in particular, is the useful next step.
The is_ad flag marks paid placements, and for most keywords the keyword results are filled with promoted listings, so is_ad can be true on every row. The flag reflects how each listing is marked, not a default value. For an unpromoted view of goods in the same category, take a category id from a row's category_ids and browse that category with the category offers operation.
body.max_rotations is an optional integer from 1 to 8 with a default of 4, and all 6 operations accept it. The value is the number of attempts one call is allowed before it stops. Raise it only when calls stop before returning a result, and keep it inside the range, because a value outside 1 to 8 is rejected rather than adjusted.