Product detail
Reads one alibaba.com listing's price ladder, MOQ, lead time, shipping, specification table, variant matrix and supplier scorecard by product id or listing URL.
Loading / 加载中…
Alibaba.com API: product detail, search and buyer RFQs · E-commerce & marketplace data
The Alibaba.com API reads one listing's full wholesale detail: its quantity price ladder, minimum order quantity, production lead time, shipping weight and package dimensions, specification table, certifications, image gallery, variant matrix and supplier scorecard. It searches supplier offers by keyword with filters for price range, maximum order quantity, supplier country, on-site supplier inspection and minimum review score, and separately searches buyer requests for quotation by keyword, buyer country, sourcing category and how recently each one was posted.
JSON in, a structured response out. Every public gateway endpoint uses POST.
Reads one alibaba.com listing's price ladder, MOQ, lead time, shipping, specification table, variant matrix and supplier scorecard by product id or listing URL.
Searches buying requests posted by alibaba.com buyers, filtered by keyword, buyer country, category, posting age and whether a buyer attached a file.
Searches alibaba.com supplier offers by keyword and returns each row's price, minimum order quantity, ratings and certifications.
alibaba-product-detail takes either body.product_id, Alibaba's own numeric id for a listing, or body.url, a full alibaba.com product address from which the same id is read; sending neither one leaves the call without a listing to read. Its wholesale commercials sit in three fields read together: price_ladder (or price_range on the listings that carry none of it), moq and lead_time.
moq gives the minimum order quantity and the unit it is counted in, and is present on every product measured, so a quantity below it is not one the supplier accepts at that listing's price. lead_time ladders the supplier's own production days by the same order-size brackets as price_ladder, so a larger order from the same listing can carry a longer production time as well as a different unit price.
Behind a listing's price, shipping carries everything published that feeds a freight quote: gross_weight per selling unit in kilograms, package_dimensions in centimetres, the port, supply ability, logistics modes and trade_price_type, the Incoterm the ladder is quoted on. gross_weight and package_dimensions are null on roughly a quarter of listings because the supplier left them blank, and a null there means the figure was never published, not that it is zero; package_volume is a field Alibaba defines but suppliers essentially never fill, so expect it null as well. specifications carries the whole attribute table grouped the way Alibaba groups it, including a Packaging and delivery group, alongside certifications, images, videos and whether the product is customizable.
Each entry in variants carries its own sku_id, stock, in_stock and unlimited_stock, but never its own price. Price is always null on a variant, because wholesale price is tiered by order quantity at the product level in price_ladder rather than per SKU, and stock is null with unlimited_stock true wherever a supplier has declared unlimited capacity.
alibaba-rfq-search reads the demand side of the marketplace: each row in results is one buyer's own request rather than a supplier's listing. description is the buyer's own text, truncated by Alibaba at roughly 210 characters; description_truncated is true wherever that happened, and no longer version of it is returned by this operation. quantity and quantity_unit have to be read together, because the unit is whatever the buyer typed in their own language rather than a normalised unit.
Every row also carries has_attachments, rfq_level, rfq_star_level and tags, independently of whichever filters narrowed the board down to produce that row. image is present on roughly a third to two-thirds of rows depending on the category, so a workflow built on this operation needs to handle a row with no photo at all. expires_at, budget and budget_currency are fields Alibaba defines but leaves null on nearly every row measured, which means the buyer did not publish a value, never a zero figure or 'no deadline'.
On alibaba-search, body.min_price and body.max_price bound the unit price shown in price, which is the card price: a tiered listing shows its cheapest and dearest tier here, equal to one another only on a flat-priced listing, and null on the listings a supplier marks 'Contact for price'. body.max_order keeps the practical order-size filter alive even though body.min_order no longer has any effect, and every row's own moq.quantity and moq.unit can be read and filtered in the application instead. Each row also carries its own certifications, independently of body.verified_supplier and body.min_review_score, so a listing can show certifications even on a supplier the inspection filter does not match.
is_ad marks a row as a paid placement; roughly half of a page is sponsored and those rows are returned rather than dropped. sold_count is only populated on listings with recorded sales, and rating and review_count are null on listings with no reviews yet.
body.supplier_country on alibaba-search and body.buyer_country on alibaba-rfq-search take different sides of the same marketplace: one is the two-letter code of the company selling, the other of the company buying, and an unrecognised value is rejected on body.buyer_country but ignored on body.supplier_country. Changing body.sort partway through a paging run mixes two different orderings into one collected list, on either operation, because each call's order only applies to that one reply.
alibaba-rfq-search's own body.sort chooses between relevance, Alibaba's own Best Match mix, and recent, the order to poll for newly posted requests, while alibaba-search offers no order besides its own default. alibaba-search's own ranking can also reorder slightly between identical calls, so paging through it needs de-duplication by product_id that alibaba-rfq-search's paging does not.
Alibaba.com is Alibaba Group's English-language business-to-business marketplace, where wholesale buyers around the world source bulk goods from suppliers that are mostly based in China. It makes up the English-language portion of a three-part structure inside Alibaba Group: 1688.com serves domestic Chinese business buyers, Alibaba.com serves international wholesale buyers, and AliExpress serves individual consumer shoppers rather than bulk buyers. On Alibaba.com, a wholesale buyer can respond to a supplier's existing product listing or post their own buying request for suppliers to answer directly.
{
"body": {
"query": "led strip"
}
}POST /api/v1/alibaba/<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).relevance for body.sort; the earlier sales and response_rate orders are rejected, and there is no price-based sort order.body.page value on alibaba-search or alibaba-rfq-search is ignored rather than rejected; the default of page 1 applies instead.body.min_price, body.max_price, body.supplier_country or body.verified_supplier value is ignored and treated as not sent, rather than rejected.budget, budget_currency and expires_at fields are null on nearly every row measured; a null in any of them means the buyer did not publish a value, never zero or no deadline.Call alibaba-product-detail with either body.product_id or body.url and read price_ladder, the quantity tiers for that listing ordered from the smallest quantity down to the open-ended top tier, where max_quantity is null. Each tier also carries price_usd, Alibaba's own USD conversion, so tiers stay comparable across listings priced in different currencies. About one listing in six publishes no tiers at all; those return an empty price_ladder together with price_range and, when the supplier only takes enquiries, price_on_request set to true.
price always null on a product variant?Alibaba.com does not publish a separate price per SKU on this marketplace: wholesale price is set at the product level and laddered by order quantity, so alibaba-product-detail's price_ladder is the price for every one of the product's variants. Each variant instead carries stock, in_stock and unlimited_stock; on listings where the supplier has declared unlimited capacity, stock is null and unlimited_stock is true rather than a specific count.
Call alibaba-rfq-search with body.sort set to recent so the newest requests come first, and add body.buyer_country or body.posted_within (for example 24h) to narrow the board further. Each row's posted_ago_text carries Alibaba's own relative phrase, posted_hours_ago the same age as a number, and posted_at_estimate a UTC estimate no more precise than that phrase, so a request marked a day old is accurate to the day rather than the minute. quote_slots_left tells you how many more suppliers may still answer it.
alibaba-rfq-search answers both cases the same way: a query with no matching requests, and a body.page requested past the end of the result set, both return NOT_FOUND rather than an empty, successful result. This differs from alibaba-search, whose supplier-offer pages run out quietly instead: past roughly page 70 of 48 rows it still answers ok with an empty results.
Keep body.sort (currently only relevance is accepted) and every other filter fixed across the run, increase body.page by one each call, and watch has_more rather than counting against total_estimate, since that total is only Alibaba's own estimate and can change between calls for the same query. The ranking itself can also reorder slightly between identical calls, so two calls for the same page share most but not all of their rows; de-duplicate the rows you collect on product_id as you page.
body.min_order, body.category_id and a body.trade_assurance of true are all withdrawn on alibaba-search; sending any of them is rejected, because the current search carries no minimum-order, category or Trade Assurance filter. body.trade_assurance set to false is still accepted and simply has no effect. Use body.max_order for order size, put category words into body.query instead of a category id, and read each row's own moq.quantity and moq.unit to filter minimum order quantity on your own side.
Yes: body.supplier_country takes the supplier's two-letter country code (CN, IN, VN, TR, US, DE and others), useful because most Alibaba.com suppliers are based in China, and body.min_review_score accepts 4, 4.5 or 5 to keep only suppliers at or above that score. body.verified_supplier narrows results to suppliers Alibaba has inspected on site as part of its own supplier-inspection programme. All three can be combined with body.query and the price and order-size filters in one call.
alibaba-rfq-search returns buyer.name, the contact name the buyer chose to publish on the sourcing board; it does not return an email address, phone number or postal address, because none of those is published there either. buyer.country is present on every row, and buyer.country_code is Alibaba's own two-letter code, left null on the few rows where Alibaba writes a full country name in that slot instead.