Alibaba.com
Alibaba.com Search Suggestions API
Alibaba.com's own search suggestions for the start of a query: up to 10 search phrases, in the order the site offers them. 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/jsonquerystringrequiredThe start of a search (a word or two), 1 to 100 characters.
Example: led str
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. Send a word or two; each suggestion is a phrase to pass to search as query.
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.suggestions(query="led str")["data"]
print(d["count"], d["suggestions"])Response