Alibaba Product Search Scraper MCP (rel8ble)
Recherchez sur Alibaba.com depuis votre agent IA : produits avec paliers de prix, MOQ, pays du fournisseur, ancienneté et badges Verified/Gold. MCP distant via mcp.apify.com, paiement par résultat.
Serveur MCP hébergé
npx add-mcp 'https://mcp.apify.com?tools=rel8ble/alibaba-product-search-scraper'S’installe dans Claude Code, Codex, Cursor et plus
Documentation
Alibaba Scraper & API - Products, Prices, MOQ & Suppliers (rel8ble/alibaba-product-search-scraper) Actor
Alibaba scraper and API: search Alibaba.com by keyword and get one row per product with price range, quantity price tiers, MOQ, supplier name, country, years, Verified/Gold/Trade Assurance flags and rating. Filter by price, MOQ and country. For B2B sourcing and dropshipping. $0.65 per 1,000 results.
- URL: https://apify.com/rel8ble/alibaba-product-search-scraper.md
- Developed by: Giovanni Rich (community)
- Categories: E-commerce, Lead generation, Business
- Features: Limited permissions
- Stats: 28 total users, 7 monthly users, 100.0% runs succeeded, 0 bookmarks
- User rating: No ratings yet
Pricing
from $0.65 / 1,000 results
This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Learn more: https://docs.apify.com/actors/store.md#pay-per-event
What's an Apify Actor?
An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes. In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours, and optionally produces a well-defined JSON output, datasets with results, or files in key-value store. In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.
How to integrate an Actor?
If asked about integration, you help developers integrate Actors into their projects. You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.
For examples already wired to this Actor's own input schema, see the API section below.
Each client library has reference documentation the quickstart does not restate: JavaScript/TypeScript (npm install apify-client) and Python (pip install apify-client).
README
Alibaba Scraper & API - Products, Prices, MOQ & Suppliers
Alibaba scraper for buyers and sourcing teams: enter a keyword and get Alibaba.com search results as clean JSON, CSV or Excel, with each product's price range, quantity price tiers, MOQ, supplier name, years on Alibaba, Verified / Gold / Trade Assurance status, rating, country, star level and what buyers praise in reviews (67 fields per product). Use it as an Alibaba product scraper for price research, an Alibaba supplier scraper for lead lists, or an unofficial Alibaba API from your own code, Make, Zapier or n8n.
It reads the same JSON Alibaba's own search page loads, over plain HTTP, with no headless browser and no login. One request returns 48 products and a keyword gives up to about 960. Since the 22 Nov 2026 build, the pages of each keyword download in parallel, so one big search finishes about twice as fast: 300 "yoga mat" products took 6.5 s locally instead of 11.5 s, with the same 7 requests and the same row order. 1,000 products cost $0.65, supplier trust, revenue and reputation fields included.
Also by rel8ble: need one row per supplier instead of per product? Alibaba Supplier Search Scraper turns a keyword into a deduplicated supplier shortlist with Trade Assurance, manufacturer and rating filters ($0.60 per 1,000 suppliers, 28 Nov 2026).
What you get
- Product: title, product URL, main image plus the image gallery, category, "sold" count, video flag, product certifications (CE, FCC, RoHS, ...).
- Price: min and max unit price in USD, the price text Alibaba shows, the full quantity price ladder (e.g. 50-999 pcs $11, 1,000-4,999 pcs $10, ...), promotion price and discount when there is one, shipping cost and delivery estimate when Alibaba shows them.
- MOQ and minimum order value: minimum order quantity as a number, its unit ("pieces", "meters", "sets") and the original text, plus
priceAtMoq(unit price at the MOQ tier) andminOrderValue(MOQ x that price), the cash you need to place a first order. Sort a supplier shortlist by it in one click. - Supplier: company name, store URL, profile URL, full product catalog URL (
supplierProductsUrl) and Alibaba's Contact supplier form for that product (contactSupplierUrl), country, years on Alibaba, Verified supplier / Verified Pro / Gold supplier / Trade Assurance flags, rating (out of 5) with review count, and sub-scores for product quality, service and on-time shipment. - Supplier depth: response rate and response time, staff count, factory size, online revenue band (
supplierOnlineRevenueUsd, Alibaba's figure in USD, e.g. 220000 = $220K+), main products, export markets, company certifications (ISO, BSCI, ...) and who verified them (SGS, TÜV, ...). - Supplier reputation at a glance: Alibaba's supplier star level (
supplierStarLevel, 1-5), review highlights (reviewHighlights, the tags buyers leave most with their counts, e.g. "Service Excellent" x 2), the supplier logo, an Easy Return flag and any promotion the listing is in (e.g. "Super September"). No extra requests, so no extra cost. - Supplier transaction history:
supplierTransactionCount(e.g. 74) andsupplierTransactionValue(the text Alibaba sends, e.g. "60,000+"), filled when Alibaba shows them for the supplier. No extra requests, so no extra cost. - Sponsored flag:
isAdmarks paid listings, so you can keep them or drop them withincludeAds: false. - Parallel pagination and dedup: fetches the pages of each keyword in parallel (up to
maxConcurrencypages ahead, only as many asmaxResultsPerSearchneeds), then writes them in page order with duplicates removed, sopositionis the same as on Alibaba's own pages.
Sample output
Real rows from a run for "bluetooth earbuds" (from sample-output.json):
| title | priceText | moqText | supplierName | supplierYears | verifiedSupplier | supplierRating |
|---|---|---|---|---|---|---|
| ALOVA Latest Model Bluetooth 6.0 Earphone IPX7 Bone Conduction Headset ... | US $6.50-$9.90 | 10 pieces | Shenzhen Alex Technology Co., Ltd. | 10 | true | 4.5 |
| Hot New 2 in 1 Ear Clip on Bluetooth 5.4 Headset High Stereo Sound ... | US $4.14-$4.99 | 30 pieces | Shenzhen BHD Technology Co., Ltd. | 13 | true | 4.6 |
| Retail Bestseller Same Style BX29 TWS Sport Earhook Bluetooth Earphone ... | US $7.30-$9.34 | 20 pieces | Quanzhou Tucson Technology Co., Ltd. | 11 | true | 4.5 |
Quick start (3 steps)
- Keep the prefilled example (
yoga matandled strip lights, 20 products each) or replace it with your own product keywords and filters (price, MOQ, verified suppliers). - Click Start. The example run saved 40 products with price tiers, MOQ and supplier details in 9 s in our cloud test on 3 Dec 2026 (run
bjiVJKVLEMfEjzccV) and costs about 2.7 cents: you pay per result, with no subscription, and the Apify free plan's $5 monthly credit covers it. - Download the data from the Output tab as JSON, CSV or Excel, or send the same input from the API, an Apify schedule, Make, Zapier, n8n or an AI agent over MCP.
Use cases
- Sourcing: build a shortlist of verified, low-MOQ suppliers for a product in minutes.
- Price research: compare unit prices and quantity breaks across hundreds of suppliers.
- Dropshipping and Amazon FBA product research and landed-cost estimates.
- Supplier lead lists and market maps by country, category or certification.
- Scheduled monitoring: run the same keywords daily or weekly on an Apify schedule and track prices, MOQ, sold counts and new suppliers by
productId. - Supplier vetting: filter to Verified suppliers with 5+ years and a 4.5+ rating, then sort by
minOrderValueto see which ones you can test with the least cash. - Reputation screening: keep suppliers with
supplierStarLevel4-5 whosereviewHighlightsmention delivery or quality, and drop the rest before you send a single inquiry. - Marketplace price comparison: run the same keywords on DHgate, Global Sources or AliExpress (same author, similar price and MOQ fields) and compare unit prices and MOQs.
- AI sourcing agents: let an agent shortlist suppliers through the Apify MCP server.
Example inputs for common jobs
Copy one into the JSON tab of the input form.
Verified, low-MOQ suppliers for a product test
{
"searchTerms": ["yoga mat", "cork yoga mat"],
"maxResultsPerSearch": 200,
"verifiedSuppliersOnly": true,
"maxMoq": 50,
"includeAds": false
}
Price benchmark in a price band (organic results only)
{
"searchTerms": ["bluetooth earbuds"],
"maxResultsPerSearch": 0,
"minPrice": 3,
"maxPrice": 15,
"includeAds": false
}
Non-China suppliers (country diversification)
{
"searchTerms": ["cotton t-shirts", "leather bags"],
"maxResultsPerSearch": 100,
"supplierCountry": "IN"
}
Weekly price and new-supplier monitoring (schedule this)
{
"searchTerms": ["led strip lights", "custom tote bags"],
"maxResultsPerSearch": 300,
"includeAds": false
}
Pricing
$0.65 per 1,000 results (pay per result; failed requests are never charged; cut from $1.50 on 1 Dec 2026), plus Apify's $0.00005 start fee. On 28 Nov 2026 (live Apify Store search, FREE-tier prices) that is less than a third of the $4.99 per 1,000 charged by the most-used Alibaba scraper on the Store (zen-studio, 369 users in 30 days), below piotrv1001 ($3.00, 159 users), tortuga ($3.00, 20) and memo23 ($2.00 + $0.005 start, 36), and every row already carries the supplier trust, revenue, reputation and minimum-order fields that others sell as a separate "details" or "supplier report" event. Others we found also charge more per row than $0.65 (their fields not compared row by row): blueskyscraper $1.20 ($4.99 per 1,000 for product details, 193 users), devcake $1.20 + $0.001 start (120 users), mlg14 $1.19 (9), silentflow $1.10 + $0.005 start (2), apt_marble $1.00 (4), omkar-cloud $1.00 + $0.00005 start (2), fatihtahta $0.99 ($2.50 per 1,000 enriched records, 15), 123webdata $0.99 + $0.015 start (9), pro100chok $0.99 + $0.00005 start (15), scrapeunblocker and saswave $0.90 + $0.00005 start (7 and 3), dami_studio $0.85 + $0.001 start + $1.80 per 1,000 requests (4), v0iddo $0.75 (9) and automation_craft $0.69 + $0.0075 start (5). Apify's platform usage is included in our price.
| Results | Cost |
|---|---|
| 100 | $0.065 |
| 1,000 | $0.65 |
| 10,000 | $6.50 |
Apify's free plan ($5 of monthly credit) covers about 7,700 products a month.
FAQ
Is it legal to scrape Alibaba? It collects only public product and business data shown in Alibaba search results, no login and no personal data. You're responsible for using the data in line with Alibaba's terms and laws such as GDPR. This is not legal advice.
Does it need a login, cookies or a browser? No. It makes plain HTTPS requests to the JSON endpoint Alibaba's search page itself uses.
How fast is it and how many results can I get? One request returns 48 products, and the pages of a keyword download in parallel. Local tests on 22 Nov 2026 (no proxy): the default input (100 products) took 4.7-5.0 s instead of 6.2-8.3 s, and 300 products for one keyword took 6.5 s instead of 11.5 s, with the same number of requests (3 and 7). Several keywords also run side by side. Alibaba serves about 960 unique products per keyword (20 pages of 48); use narrower keywords or the price/MOQ/country filters to slice further.
Can I schedule it or call it through an API?
Yes. Run it on an Apify schedule, through the Apify REST API, the JavaScript / Python clients, Make, Zapier, n8n, or from AI agents via the Apify MCP server. Join runs on productId to track prices over time.
Which proxy should I use? The default Apify Proxy (datacenter) works. Blocked requests are retried on a fresh session with a new IP (6 retries by default). If the log shows repeated blocks, switch the proxy group to RESIDENTIAL.
Does Alibaba have an official API? The Alibaba.com Open Platform is for sellers, ISVs and approved partners and needs an app key; there is no self-serve API for buyers to search products across all suppliers. This actor returns the public search results, with supplier trust data, and needs only an Apify account.
Can I get full product specs, SKUs or a supplier's whole catalogue?
Not from this actor: it returns search-result rows only. Two sister actors cover the next step, priced on 28 Nov 2026: Alibaba Product Details Scraper ($0.95 per 1,000) takes the product url values from this dataset and returns each product page's specifications, SKU options, certificates and lead times, and Alibaba Supplier Scraper ($0.80 per 1,000) lists every product in a supplier's store from the supplierUrl values (store URLs).
How much does a typical job cost? A 200-product sourcing shortlist costs $0.13. A weekly monitor of 5 keywords x 300 products is about 6,500 rows a month, about $4.23. A whole keyword (about 960 products) costs about $0.62.
How to use
- Enter one or more keywords in Search terms (e.g.
yoga mat,led strip lights) and optionally set price, MOQ, country or verified-supplier filters. - Click Start. Each keyword pages through Alibaba search results until your Max results per search is reached.
- Download the results as JSON, CSV or Excel from the Output tab, or fetch them through the Apify API.
Input
| Field | Default | Description |
|---|---|---|
searchTerms | led strip lights | Keywords, one per line: "yoga mat", "led strip lights", "custom tote bags". Alibaba search URLs work too. |
maxResultsPerSearch | 100 | Unique products per keyword. 0 = everything Alibaba serves (about 960). |
minPrice / maxPrice | - | Unit price filter in USD (whole dollars) |
maxMoq | - | Only products with an MOQ at or below this number |
verifiedSuppliersOnly | false | Only suppliers with Alibaba's third-party "Verified" badge |
supplierCountry | - | 2-letter code: CN, IN, VN, TR, PK, US, ... |
includeAds | true | Keep sponsored listings (flagged with isAd) |
proxyConfiguration | Apify Proxy | Switch to RESIDENTIAL if you ever see blocks |
Input example
{
"searchTerms": ["yoga mat", "resistance bands"],
"maxResultsPerSearch": 200,
"maxMoq": 100,
"verifiedSuppliersOnly": true
}
Output example
One dataset item per product. This one is from a real run for "yoga mat" (arrays shortened):
{
"searchTerm": "yoga mat",
"position": 7,
"productId": "1601583212388",
"title": "High Quality Eco-Friendly Premium Extra Large Yoga Gym Mat Custom Logo New Design Stackable PU Natural Nonslip Black Rubber",
"url": "https://www.alibaba.com/product-detail/High-Quality-Eco-Friendly-Premium-Extra_1601583212388.html",
"image": "https://s.alicdn.com/@sc04/kf/H8177d380a8cd4ce69ddb0c1c54e2a77bL.jpg",
"images": ["https://s.alicdn.com/@sc04/kf/H8177d380a8cd4ce69ddb0c1c54e2a77bL.jpg", "..."],
"priceMin": 8,
"priceMax": 11,
"priceText": "US $8.00-$11.00",
"currency": "USD",
"priceUnit": "piece",
"priceTiers": [
{ "minQuantity": 50, "maxQuantity": 999, "price": 11, "unit": "pieces" },
{ "minQuantity": 1000, "maxQuantity": 4999, "price": 10, "unit": "pieces" },
{ "minQuantity": 5000, "maxQuantity": 9999, "price": 9, "unit": "pieces" },
{ "minQuantity": 10000, "maxQuantity": null, "price": 8, "unit": "pieces" }
],
"promotionPriceMin": null,
"promotionDiscountPercent": null,
"moq": 50,
"moqUnit": "pieces",
"moqText": "50 pieces",
"priceAtMoq": 11,
"minOrderValue": 550,
"soldCount": 378,
"shippingCost": null,
"deliveryEstimate": null,
"leadTimeDays": 35,
"category": "Yoga Mats",
"categoryId": "201273273",
"hasVideo": true,
"productCertifications": [],
"isAd": false,
"supplierName": "DONGGUAN TONGTIANXIA RUBBER CO., LTD.",
"supplierId": "200016345",
"supplierUrl": "https://ttxrubber.en.alibaba.com/",
"supplierProfileUrl": "https://ttxrubber.en.alibaba.com/company_profile.html",
"supplierProductsUrl": "https://ttxrubber.en.alibaba.com/productlist.html",
"supplierCountry": "China",
"supplierCountryCode": "CN",
"supplierYears": 19,
"verifiedSupplier": true,
"verifiedSupplierPro": false,
"goldSupplier": true,
"tradeAssurance": true,
"supplierRating": 4.8,
"supplierReviewCount": 25,
"ratingProductQuality": 4.8,
"ratingSupplierService": 4.8,
"ratingOnTimeShipment": 4.7,
"responseRate": "99.9%",
"responseTime": "≤1h",
"supplierEmployees": 130,
"supplierFactorySizeSqm": 33000,
"supplierMainProducts": "Yoga Mat, Mouse Pad, Desk Pad, Bar Mat, Play Mat",
"supplierExportCountries": ["United States", "Brazil", "Canada", "Germany", "..."],
"supplierCertifications": ["ISO", "FSC"],
"supplierVerifiedBy": "SGS",
"supplierLogo": "https://sc02.alicdn.com/kf/HTB1tk2SLpXXXXavXVXXq6xXFXXXk.jpg",
"supplierStarLevel": 3,
"reviewHighlights": [{ "tag": "good service", "count": 2 }],
"easyReturn": true,
"promotionLabels": [],
"searchPage": 1,
"scrapedAt": "2026-09-24T05:16:05.270Z"
}
The dataset has three ready-made views: Overview (image, title, price, MOQ, supplier, verified, rating, link), Suppliers (all trust signals) and Prices (price range, quantity tiers, MOQ, promotions).
Field fill rates (real test run: 1,200 products across 4 keywords)
| Field | Fill rate |
|---|---|
| title, url, image, priceMin/priceMax, moq, supplierName, supplierYears, supplierCountry, category | 100% |
| responseRate, supplierMainProducts | 99-100% |
| supplierOnlineRevenueUsd | 10/10 in a 2026-10-25 cloud test ("yoga mat") |
| supplierProductsUrl, contactSupplierUrl | 10/10 in a 2026-10-26 cloud test ("yoga mat") |
| supplierLogo / supplierStarLevel / reviewHighlights | 45 / 37 / 35 of 48 on a 2026-10-29 "yoga mat" page |
| easyReturn = true / promotionLabels | 10 / 4 of 48 on the same page |
| supplierTransactionCount, supplierTransactionValue | 114 of 192 (59%) on 2026-11-02 live search pages, 4 keywords |
| priceTiers | 90% (the rest have one flat price) |
| supplierRating, supplierReviewCount > 0 | 88% (newer suppliers have no reviews yet) |
| verifiedSupplier = true | 57% (the rest are not verified; the field itself is always filled) |
| supplierEmployees, supplierExportCountries | about 49% (only when the supplier publishes them) |
| soldCount | 47% (only when Alibaba shows a "sold" badge) |
| productCertifications / supplierCertifications | 32% / 26% |
| shippingCost, deliveryEstimate | 23% (only when Alibaba shows them for your region) |
Integrations
- Google Sheets: download the run as CSV or Excel from the Output tab, or send every run to a sheet with Make, n8n or Zapier (below). Useful columns:
title,priceAtMoq,moq,minOrderValue,supplierName,supplierYears,verifiedSupplier,supplierRating,contactSupplierUrl. - Make: Apify app > "Run an Actor" (actor
rel8ble/alibaba-product-search-scraper, wait for finish on) > "Get Dataset Items" > Google Sheets, Airtable or your CRM. - n8n: Schedule Trigger > HTTP Request (POST
https://api.apify.com/v2/acts/rel8ble~alibaba-product-search-scraper/run-sync-get-dataset-itemswith headerAuthorization: Bearer <token>and your input as the JSON body) > Google Sheets "Append or update row" matched onproductId. The official Apify node (@apify/n8n-nodes-apify) works too. A ready-to-import workflow is in the GitHub repo below. - Zapier: Apify app > "Run Actor" action, or the "Finished Actor Run" trigger on a scheduled run > "Fetch Dataset Items".
- API: one call runs the actor and returns the data (
?format=csvorjson):curl -X POST "https://api.apify.com/v2/acts/rel8ble~alibaba-product-search-scraper/run-sync-get-dataset-items?format=csv" -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" -H "Content-Type: application/json" -d '<input JSON>'or use the official Python and JavaScript clients (apify-client). - Schedules and webhooks: run it daily or weekly from Apify Schedules, and get a webhook when a run finishes.
- MCP for AI agents: the Apify MCP server (https://mcp.apify.com) lets Claude, ChatGPT, Cursor and other agents call this actor as a tool.
Limits (read before large runs)
- About 960 unique products per keyword. Alibaba serves 20 pages of 48 results for any search, however many matches it reports. For more coverage, use more specific keywords (
"yoga mat tpe","yoga mat cork", ...) or the price/MOQ/country filters to slice the results. - Alibaba matches loosely. A very narrow or misspelled keyword still returns related products instead of zero results. Check the titles if precision matters.
- Prices are USD list prices from the search card. Final prices depend on quantity, options and shipping; the quantity tiers show how price drops with volume.
- Supplier location is country level. Province and city are on the supplier's profile page, which this actor doesn't open (it keeps runs fast and cheap).
- Search results only. Full product specifications, variant/SKU lists and review texts are not included in this version.
minPrice/maxPricetake whole dollars.
How it works (for developers)
Alibaba's search page fetches its product grid as JSON from open-s.alibaba.com/openservice/galleryProductOfferResultViewService. The actor calls that endpoint directly, 48 products per request, several pages of a keyword at once (written back in page order), with the same filter parameters the site uses (pricef/pricet, moqf/moqt, assessmentCompany, Country). Every field is read defensively, so a malformed record just has fewer fields and the run doesn't crash. Non-JSON or captcha responses retire the session and retry on a new IP with backoff.
Run it locally:
npm install
npm test # parser tests on a saved real response
APIFY_LOCAL_STORAGE_DIR=./storage node src/main.js # input in storage/key_value_stores/default/INPUT.json
Python and Node examples
Step-by-step tutorial with runnable Python code (MIT): https://github.com/Rel8ble/alibaba-product-scraper-python
Related actors
More sourcing and supplier actors by the same author:
- Alibaba Supplier Search Scraper & API - Verified Manufacturers
- Alibaba Product Details Scraper & API - Specs, SKUs, Suppliers
- Alibaba Supplier Scraper & API - Store Catalogs, MOQ, Prices
- AliExpress Scraper & API - Product Search, Prices, Orders Sold
- DHgate Scraper & API - Wholesale Products, Prices, MOQ, Sellers
- Global Sources Scraper & API: Products, MOQ & Suppliers
Need a custom scraper or a ready dataset? Hire me on Fiverr: https://www.fiverr.com/rel8ble
Actor input Schema
searchTerms (type: array):
Provide at least one. List of Alibaba.com search keywords, e.g. ["yoga mat", "custom tote bags"], or Alibaba search URLs (https://www.alibaba.com/trade/search?SearchText=...). Default ["led strip lights"] (demo only).
maxResultsPerSearch (type: integer):
Optional. Maximum products per search term, integer >= 0. Default 100; 0 = all Alibaba pages through (~960 per keyword). You pay per product, so use 10-20 for a quick answer.
minPrice (type: integer):
Optional. Minimum unit price in whole US dollars, integer >= 0, e.g. 5. Omit for no minimum.
maxPrice (type: integer):
Optional. Maximum unit price in whole US dollars, integer >= 0, e.g. 20. Omit for no maximum.
maxMoq (type: integer):
Optional. Maximum minimum order quantity (MOQ) in units, integer >= 1, e.g. 100 for low-MOQ suppliers. Omit for no limit.
verifiedSuppliersOnly (type: boolean):
Optional boolean. true = only suppliers with Alibaba's "Verified" badge (inspected by SGS, TUV or similar). Default false.
supplierCountry (type: string):
Optional. 2-letter uppercase country code of the supplier, e.g. "CN", "IN", "VN", "TR", "US". Omit for all countries.
includeAds (type: boolean):
Optional boolean. true = include sponsored listings, flagged isAd: true. false = organic results only. Default true.
maxConcurrency (type: integer):
Optional, advanced. Number of parallel requests, integer 1-20, also the number of pages of one keyword fetched ahead at once (results are still written in page order). Default 5. Leave unset.
maxRequestRetries (type: integer):
Optional, advanced. Retries per failed or blocked request, integer 0-20; each retry uses a new proxy session. Default 6. Leave unset.
proxyConfiguration (type: object):
Optional, advanced. Apify Proxy settings object, e.g. {"useApifyProxy": true}. Default: Apify Proxy on (datacenter). Leave unset; switch to {"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]} only if the run log shows repeated blocks.
Actor input object example
{
"searchTerms": [
"yoga mat",
"led strip lights"
],
"maxResultsPerSearch": 20,
"verifiedSuppliersOnly": false,
"includeAds": true,
"maxConcurrency": 5,
"maxRequestRetries": 6,
"proxyConfiguration": {
"useApifyProxy": true
}
}
Actor output Schema
products (type: string):
All products found, with price range, MOQ, supplier and rating.
summary (type: string):
Per-search counts and stop reasons.
API
You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.
JavaScript example
import { ApifyClient } from 'apify-client';
// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
token: '<YOUR_API_TOKEN>',
});
// Prepare Actor input
const input = {
"searchTerms": [
"yoga mat",
"led strip lights"
],
"maxResultsPerSearch": 20,
"proxyConfiguration": {
"useApifyProxy": true
}
};
// Run the Actor and wait for it to finish
const run = await client.actor("rel8ble/alibaba-product-search-scraper").call(input);
// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
console.dir(item);
});
// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Python example
from apify_client import ApifyClient
# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")
# Prepare the Actor input
run_input = {
"searchTerms": [
"yoga mat",
"led strip lights",
],
"maxResultsPerSearch": 20,
"proxyConfiguration": { "useApifyProxy": True },
}
# Run the Actor and wait for it to finish
run = client.actor("rel8ble/alibaba-product-search-scraper").call(run_input=run_input)
# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
print(item)
# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
CLI example
echo '{
"searchTerms": [
"yoga mat",
"led strip lights"
],
"maxResultsPerSearch": 20,
"proxyConfiguration": {
"useApifyProxy": true
}
}' |
apify call rel8ble/alibaba-product-search-scraper --silent --output-dataset
MCP server setup
{
"mcpServers": {
"apify": {
"type": "http",
"url": "https://mcp.apify.com/?tools=fetch-actor-details,rel8ble/alibaba-product-search-scraper"
}
}
}
The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an Authorization: Bearer <APIFY_API_TOKEN> header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).
OpenAPI specification
Download the OpenAPI definition: https://api.apify.com/v2/actors/RHaNCwBGggPmuXzg4/builds/WuKMaXMlHRfq2uEmi/openapi.json