Alibaba.com
Alibaba.com Product Search API
Search Alibaba.com products by keyword: 48 products a page, each with the unit price or price range, promotional price, minimum order quantity, sold count, a sponsored flag and the supplier's business summary, plus category, supplier-country and delivery-date facets with counts. Filter by supplier country, Trade Assurance, verified suppliers, price, MOQ, category, store rating, samples or delivery date. 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/jsonquerystringrequiredSearch words, 1 to 120 characters (letters, digits, spaces and - ' & + .).
Example: led strip lights
languagestringdefault:enDisplay language: en, es, fr, de, pt, it, ru, ja, ko, ar, tr, vi, th, id, he or nl. The same listings, translated by Alibaba.com (titles, spec names, units).
Example: en
currencystringdefault:USDDisplay currency: USD, EUR, GBP, CAD, AUD, BRL, INR, JPY, KRW or MXN. Suppliers set prices in USD; the site converts them for display.
Example: USD
pageintegerdefault:11 to 100; total_pages says how deep the list goes.
sortstringdefault:relevancerelevance, orders or response_rate.
relevance— The site's own order (default).orders— Most ordered in the last 180 days first.response_rate— The supplier's response rate, highest first.
supplier_countrystringSupplier location, a two-letter country code (CN, IN, VN, US, ...; facets.supplier_countries lists them with counts).
Example: CN
trade_assurancebooleantrue: limit to suppliers offering Trade Assurance.
verified_supplierbooleantrue: limit to Verified Suppliers (credentials inspected by a third-party company).
price_minnumberLowest unit price, in the display currency.
price_maxnumberHighest unit price, in the display currency.
moq_maxintegerHighest minimum order quantity.
category_idstring | integerLimit to a category (facets.categories[].id or a category's category_id).
Example: 201713304
min_review_scorenumberLowest supplier store rating: 4, 4.5 or 5.
sample_availablebooleantrue: limit to products offered as a sample order (paid samples).
delivery_byintegerGuaranteed delivery by a date: an id from facets.delivery_by (the day of the month in its label), 1 to 31.
Notes
Alibaba.com. Alibaba.com is the global B2B marketplace where buyers source from manufacturers and wholesale suppliers. Suppliers quote wholesale unit prices (FOB unless stated) in USD, usually in tiers by order quantity, with a minimum order quantity (MOQ), a lead time per quantity band and often a sample price. Scavio fetches the public page on request. Alibaba.com's own APIs are partner APIs that need 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. sort orders ranks by orders in the last 180 days, response_rate by the supplier's response rate. Filters narrow the site's own result set; facets.categories[].id is the input of category_id, facets.delivery_by[].id of delivery_by. A search with no match answers 200 with total 0.
language (search and product, default en) picks one of 16 display languages: en, es, fr, de, pt, it, ru, ja, ko, ar, tr, vi, th, id, he and nl. They are views of one global catalogue, translated by Alibaba.com (titles, spec names, units), not separate country catalogues. currency (search and product, default USD) picks the display currency: USD, EUR, GBP, CAD, AUD, BRL, INR, JPY, KRW or MXN. Suppliers set prices in USD and the site converts them for display; on product every *_usd field keeps the supplier's USD figure whatever the display currency. category is shown in USD only (it takes no currency), suppliers answers in USD, and supplier-products reports the currency the shop page shows (null when its mark is ambiguous).
| Endpoint | What it returns | Credits per call |
|---|---|---|
search | Product search by keyword: 48 products a page with the unit price or range, minimum order, sold count, sponsored flag and the supplier's business summary, plus category, supplier-country and delivery-date filters | 1 |
product | One product by id or link: quantity price tiers, minimum order and order multiple, lead time per quantity band, sample price, variants with stock per ship-from country, specs, certifications and the supplier's business metrics | 1 |
suppliers | Supplier search by keyword: 20 manufacturers and trading companies a page with years on the site, verification, rating, response time, online revenue band, main products and sample products | 1 |
supplier | One supplier's company profile by shop name or link: business type, verification, ratings, the last 12 months against the industry average, main markets, capabilities, facts and certifications | 1 |
supplier-products | One supplier's product list by shop name or link: 16 products a page with price, minimum order, sold in 180 days and orders, plus the shop's own product groups | 1 |
category | One category's products by slug_id, id or link: 40 products a page with price, promotional price, minimum order and supplier summary, plus its breadcrumb and subcategories (USD) | 1 |
suggestions | The site's search suggestions for the start of a query (up to 10 phrases) | 1 |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=180)
d = client.alibaba.search(query="led strip lights", trade_assurance=True)["data"]
print(d["total"], d["currency"])
for it in d["items"]:
s = it["supplier"]
print(it["product_id"], it["price"]["text"], it["moq"]["text"], s["company_name"], s["country"], s["years"])Response