Alibaba.com via Scavio
Read Alibaba.com (the global B2B marketplace where buyers source from manufacturers and wholesale suppliers): product search, one product in full with its quantity price tiers, supplier search, one supplier's company profile, a supplier's product list, category listings and search suggestions. All 7 endpoints return structured JSON and cost 1 credit each.
The one fact to get right: a price is a quote per quantity, not one number. A product carries price.type tiers (a unit price per quantity band: min_quantity to max_quantity, null meaning "and above") or range (a min-max unit price), next to moq (the minimum order quantity), order_multiple (the quantity must be a multiple of it; 1 means any), lead_times (days to ship per quantity band) and trade_price_type (e.g. FOB). Measured 2026-12-02: an IP67 COB LED strip read $1.80 a meter for 5-495 meters, $1.60 for 500-995 and $1.45 from 1,000, MOQ 5, ordered in multiples of 5, 25 days lead time up to 5,000 meters. Always quote the quantity band with the price.
Four limits shape every answer, so say them plainly:
- One catalogue, display currency and language. Suppliers set prices in USD;
currency(USD, EUR, GBP, CAD, AUD, BRL, INR, JPY, KRW, MXN) converts them for display on search and product, and every*_usdfield on product keeps the supplier's USD price.language(en plus es, fr, de, pt, it, ru, ja, ko, ar, tr, vi, th, id, he, nl) translates titles, spec names and units of the same listings. These are display settings, not separate markets. - Category pages are USD only.
/categoryanswers in USD whatever you send; it takes nocurrencyorlanguage. - Supplier data is business data. Company name, location, years, verification, ratings and performance metrics are returned; no contact person, email or phone is.
- Credits. Every call costs 1 credit.
credits_usedin the response is the truth. A not-found (404) is charged; a refused input (400) and a failed call (502,503) are not.
Alibaba.com offers partner APIs that need registration and approval. This skill reads the public pages on request instead, with no account.
See also: aliexpress-product-data for AliExpress retail listings, 1688-api for 1688.com (Alibaba's China domestic wholesale marketplace, in CNY).
When to trigger
Use this skill when the user asks to:
- Find suppliers or manufacturers for a product on Alibaba.com, filtered by country, Trade Assurance, verified status, rating, price or MOQ
- Read a product's quantity price tiers, MOQ, lead time per quantity band, sample price and variants with stock
- Compare unit prices across suppliers for the same product at a given order quantity
- Check a supplier before ordering: years on the platform, verification, rating, response time, on-time dispatch, dispute and reorder rates against the industry average, main markets
- List one supplier's products, or browse an Alibaba.com category and its subcategories
- Get Alibaba.com's search suggestions for a product term
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:
- Sign up at dashboard.scavio.dev - email or Google, no card required.
- A key is created for the account automatically at signup. It is on the dashboard under API Keys, ready to copy.
- A new account starts with 50 credits. Every Alibaba.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/alibaba/search |
Product search, 48 a page (up to 100 pages): unit price or range, promo price, MOQ, sponsored flag, sold count, certifications and the supplier summary, plus category, supplier-country and delivery-date facets | 1 |
POST /api/v1/alibaba/product |
One product in full by id or link: quantity price tiers, MOQ, order multiple, lead times, sample price, variants with stock and ships-from, specs, certifications, rating and the supplier's business metrics | 1 |
POST /api/v1/alibaba/suppliers |
Supplier search (manufacturers and trading companies), 20 a page, with years, verification, rating, response time, revenue band, main products and sample products | 1 |
POST /api/v1/alibaba/supplier |
One supplier's company profile: location, business type, verification, rating, 12-month performance against the industry average, main markets, capabilities and certifications | 1 |
POST /api/v1/alibaba/supplier-products |
One supplier's product list, 16 a page, most recently updated first, with the shop's own product groups | 1 |
POST /api/v1/alibaba/category |
One category's products, 40 a page, with its breadcrumb and subcategories (USD only) | 1 |
POST /api/v1/alibaba/suggestions |
Up to 10 search suggestions for the start of a query | 1 |
Workflow
- Find products.
/searchwithquery(and filters). Each item carriesproduct_idand asuppliersummary with itsshop_host. Usefacets.categories[].idascategory_idto narrow, andfacets.supplier_countries[].codeassupplier_country. - Read one in full.
/productwithproduct_id(or a producturl) for the tiers, MOQ, lead times, sample, variants with stock, specs and supplier metrics. - Check the supplier.
/supplierwith the item'ssupplier.shop_host(orsupplier.subdomain) for the company profile;/supplier-productsfor its full product list. - Or start from suppliers.
/supplierswithquerylists companies with a few sample products each. - Browse.
/categorywith a category slug_id (e.g.Lights-Lighting_39) or numeric id; walksubcategories[].categoryfor the tree.
Parameters
| Parameter | Endpoint | Description |
|---|---|---|
query |
search, suppliers (required) | Search words, 1-120 characters (letters, digits, spaces and - ' & + .), e.g. led strip lights |
query |
suggestions (required) | The start of a search, 1-100 characters, e.g. led str |
language |
search, product | Display language: en (default), es, fr, de, pt, it, ru, ja, ko, ar, tr, vi, th, id, he, nl |
currency |
search, product | Display currency: USD (default), EUR, GBP, CAD, AUD, BRL, INR, JPY, KRW, MXN |
page |
search, suppliers, supplier-products, category | 1-100; total_pages says how deep the list goes |
sort |
search | relevance (default), orders (most ordered in the last 180 days) or response_rate (the supplier's response rate) |
supplier_country |
search, suppliers | Supplier location, a two-letter code (CN, IN, VN, US, ...) |
trade_assurance |
search | true: suppliers offering Trade Assurance only |
verified_supplier |
search | true: Verified Suppliers only (credentials inspected by a third-party company) |
price_min / price_max |
search | Unit price range, in the display currency |
moq_max |
search | Highest minimum order quantity |
category_id |
search | Limit to a category (facets.categories[].id or a category's category_id) |
min_review_score |
search | Lowest supplier store rating: 4, 4.5 or 5 |
sample_available |
search | true: products offered as a (paid) sample order |
delivery_by |
search | Guaranteed delivery by a date: an id from facets.delivery_by |
product_id |
product | The numeric product id (items[].product_id, e.g. 11000028381310). Send product_id or url, not both |
url |
product | A product link on alibaba.com (any language host), instead of product_id |
supplier |
supplier, supplier-products (required) | The supplier's shop_host (e.g. coxo.en.alibaba.com), its shop name (subdomain, e.g. coxo) or a link on the shop |
category |
category (required) | A category slug_id (Lights-Lighting_39, as subcategories[].category gives it), its numeric id (39) or a category link |
Examples
One product's price tiers
Request {"product_id": "11000028381310"} (abridged):
{
"product_id": "11000028381310",
"title": "IP67 Waterproof COB Dot Free LED Strip Dimmable 5M Roll White 6500K High Quality 5 Years Warranty Flexible Soft Linear Lighting",
"currency": "USD",
"trade_price_type": "FOB",
"unit": "meter",
"moq": 5,
"order_multiple": 5,
"price": {
"type": "tiers",
"tiers": [
{ "min_quantity": 5, "max_quantity": 495, "unit_price": 1.8, "unit_price_usd": 1.8, "text": "$1.80" },
{ "min_quantity": 500, "max_quantity": 995, "unit_price": 1.6, "unit_price_usd": 1.6, "text": "$1.60" },
{ "min_quantity": 1000, "max_quantity": null, "unit_price": 1.45, "unit_price_usd": 1.45, "text": "$1.45" }
],
"range": null
},
"lead_times": [{ "min_quantity": 5, "max_quantity": 5000, "days": 25 }],
"variants": { "sku_count": 3, "skus": [{ "sku_id": "11000942570555", "attributes": { "Lamp Power(W)": "10w 320 led/m", "Length": "1m (5m/roll)", "Emitting Color": "Cold White" }, "stock": [{ "ships_from": "CN", "units": null, "unlimited": true }] }] },
"sold": { "count": 38319, "text": "38319 sold" },
"rating": { "scope": "product", "average": 5, "review_count": 32 },
"supplier": {
"company_name": "Shenzhen Coxo Technology Co., Limited",
"country": "CN",
"years": 15,
"business_type": "Manufacturer,Trading Company",
"verified": true,
"trade_assurance": true,
"response_time": "≤2h",
"on_time_delivery_rate": "100.0%",
"rating": { "average": 4.8, "review_count": 86 },
"shop_host": "coxo.en.alibaba.com"
}
}
A supplier against the industry average
/supplier with {"supplier": "coxo"}: Guangdong, China, Manufacturer and Trading Company, 15 years on the platform, verified by TüVRheinland, rating 4.8 (86 reviews), ranking "#3 top-selling supplier in Smart Strip Lights". performance (last 12 months, each {value, industry_average}): on-time dispatch 100.0% vs 93.6%, average dispatch 13.4d vs 12.8d, dispute rate 0.3% vs 3.6%, reorder rate 24.5% vs 17.8%, response time ≤2h vs 4h. main_markets: North America 25%, Western Europe 19%, Eastern Europe 18%.
Search and categories
/search with {"query": "led strip lights"} matched 311,878 products (100 pages of 48); the first item, from a 3-year verified supplier in China, read $0.69-1.99 with a 1 piece MOQ. /suppliers with the same query listed 1,172 suppliers. /category with {"category": "Lights-Lighting_39"} held 1,118,832 products. /suggestions with {"query": "led str"} returned 10 phrases, from "led strip profile" to "led strip light outdoor".
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 alibaba(endpoint, body):
r = requests.post(f"{BASE}/api/v1/alibaba/{endpoint}", headers=HEADERS, json=body, timeout=180)
r.raise_for_status()
return r.json()
# 1. Verified suppliers in China with Trade Assurance, MOQ at most 100 (1 credit)
res = alibaba("search", {"query": "led strip lights", "supplier_country": "CN",
"verified_supplier": True, "trade_assurance": True, "moq_max": 100})["data"]
print(res["total"], [(it["product_id"], it["price_text"], (it["moq"] or {}).get("text")) for it in res["items"][:3]])
# 2. One product's tiers, priced in EUR (1 credit)
p = alibaba("product", {"product_id": res["items"][0]["product_id"], "currency": "EUR"})["data"]
for t in (p["price"]["tiers"] or []):
print(t["min_quantity"], t["max_quantity"], t["unit_price"], p["currency"], "| USD", t["unit_price_usd"])
# 3. Its supplier's profile (1 credit)
s = alibaba("supplier", {"supplier": p["supplier"]["shop_host"]})["data"]
print(s["company_name"], s["years_on_platform"], (s["performance"] or {}).get("dispute_rate"))
Response shapes
Every response uses the envelope { data, response_time, fetched_at, credits_used, credits_remaining }.
- search -
query,language,currency,sort,filters,page,page_size(48),total,total_pages,has_more,count,items[]{product_id,title,url,image,price{min,max,text},price_text,promo_price,discount,moq{quantity,unit,text},sponsored,sold{count,text},delivery_estimate,customizable,certifications,supplier{company_name,company_id,country,years,verified,verified_pro,verified_by,certifications,rating,review_count,subdomain,shop_host,url}},facets{categories[]{id,name,count},supplier_countries[]{code,name,count},delivery_by[]{id,label}}. - product -
language,currency,url,product_id,title,category_id,category_path[]{name,category_id},trade_price_type,unit,unit_plural,moq,order_multiple,price{type,tiers[]{min_quantity,max_quantity,unit_price,unit_price_usd,promo_unit_price,promo_unit_price_usd,text,promo_text},range{min,max,min_usd,max_usd,text}},lead_times[]{min_quantity,max_quantity,days},sample{price_min,price_max,text,max_quantity,unit,free},variants{attributes[]{name,values[]{name,image}},sku_count,skus[]{sku_id,attributes,stock[]{ships_from,units,unlimited},sample_price,sample_price_usd}},key_specs,specs[]{name,value},media{images,videos},ships_from[]{code,name},sold,rating{scope(product or store),average,review_count},certifications[]{name,type,valid,holder},logistics{unit_size,unit_weight},supplier{company_name,company_id,country,years,business_type,business_type_verified,verified,trade_assurance,gold_plus,employees,response_time,on_time_delivery_rate,online_revenue,main_markets,orders_6_months,order_amount_6_months,rating{average,review_count,dimensions[]{type,average}},subdomain,shop_host,url}. - suppliers -
query,supplier_country,currency,page,page_size(20),total,total_pages,has_more,count,suppliers[]{company_name,company_id,subdomain,shop_host,url,years,verified,verified_pro,rating,review_count,response_time,online_revenue,main_products,floor_area,staff,capabilities,products[]{product_id,url,image,price,price_text,moq,unit}}. - supplier -
subdomain,shop_host,url,company_name,company_id,country,location,business_type,business_type_verified,years_on_platform,verified,verified_by,onsite_checked,trade_assurance,gold_supplier,rating,review_count,main_products,ranking,highlights,verified_staff,performance{rating,years,top_buyers_served,online_revenue,response_time,on_time_dispatch_rate,average_dispatch_time,dispute_rate,reorder_rate; each {value,industry_average}},main_markets[]{name,share},trade[]{label,value},capabilities[]{group,items[]{label,value}},facts[]{label,value},certifications[]{name,type,valid},company{established_year,employees,annual_revenue,response_rate,response_time,orders_6_months,rating}. A shop shows either theperformanceblock or thecompanyblock; the other is empty. - supplier-products -
supplier{subdomain,shop_host,url,company_name,country,verified,trade_assurance},currency(as the shop page shows it; null when its mark is ambiguous),page,page_size(16),total,total_pages,has_more,count,items[]{product_id,title,url,image,price,price_text,unit,moq,sold_180_days,orders,ready_to_ship,certifications},groups[]{id,name,children}. - category -
category_id,category,name,url,breadcrumb[]{name,category,category_id,url},subcategories[](same shape),currency(USD),page,page_size(40),total,total_pages,has_more,count,items[]{product_id,title,url,image,price,promo_price,discount_percent,moq,sold,supplier{company_name,country,years,trade_assurance,rating,review_count,subdomain,shop_host,url}}. - suggestions -
query,count,suggestions(up to 10 phrases).
Guardrails
- Name it "Alibaba.com (the global B2B marketplace where buyers source from manufacturers and wholesale suppliers)" on first mention.
- Prices: quote the unit price with its quantity band, the unit,
trade_price_typeand the currency, and thefetched_attime. A tier or range is the supplier's listed quote, not a final order price: shipping, duties and negotiation are outside it. When the display currency is not USD,*_usdis the supplier's own figure. - MOQ and lead time: always state
moqandorder_multiplenext to a price, and the lead time for the quantity asked about. - Stock:
variants.skus[].stockis per ships-from location;unlimitedtrue means the page sets no limit, not a count. - Ratings:
rating.scopesays whether a rating is the product's or the supplier store's; say which. - Use: keep any use descriptive - comparing suppliers, quotes, MOQs and lead times for a sourcing decision.
- Links and content: refer to products by title and
product_idand to suppliers by company name; do not republish the site's photos or product copy, and do not use the answers to copy or rebuild its catalogue or supplier directory. - Not covered: review text, top-ranking and deals pages, image search, messaging or contacting suppliers, contact persons, RFQs, ordering and checkout, price history.
- Terms: Scavio does not store Alibaba.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. Alibaba.com's terms restrict 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, MOQs, lead times, product ids or supplier metrics. Only return what the API returned.
Failure handling
400means a missing or invalid parameter, and it is not charged: "send one of product_id or url"; alanguage,currency,sortormin_review_scorevalue not listed; a query with unsupported characters;pageabove 100.401means the API key is invalid or missing. CheckSCAVIO_API_KEY.402means the balance is out of credits. The body carriesbilling_url.404means not found, and it is charged: a product id the site does not have (or no longer lists), an unknown shop name, a category id the site does not have. A search with no match answers200withtotal0.429means rate or usage limit exceeded. Wait before retrying. See rate limits.502and503mean Alibaba.com data was temporarily unavailable. They are not charged; a503carriesRetry-After.- Allow a client timeout of at least 180 seconds.
- If
SCAVIO_API_KEYis 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.alibaba.search({ query: "led strip lights", supplier_country: "CN", trade_assurance: true });
const { data: product } = await scavio.alibaba.product({ product_id: "11000028381310", currency: "EUR" });
const { data: supplier } = await scavio.alibaba.supplier({ supplier: "coxo" });
const { data: list } = await scavio.alibaba.supplierProducts({ supplier: "chishuo", page: 2 });
In Python (from scavio import ScavioClient, client = ScavioClient()) the same methods are client.alibaba.search(...), product, suppliers, supplier, supplier_products, category and suggestions, with the same parameter names as keyword arguments.
MCP
The Scavio MCP server exposes all 7 endpoints as tools: search_alibaba, get_alibaba_product, search_alibaba_suppliers, get_alibaba_supplier, get_alibaba_supplier_products, get_alibaba_category and get_alibaba_search_suggestions. Alibaba.com is opt-in: add alibaba 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,alibaba"
}
}
}
}
Docs
Full reference per endpoint: search, product, suppliers, supplier, supplier-products, category, suggestions. Platform page: scavio.dev/alibaba-api.
