# Alibaba Wholesale Scraper - Ready to Ship, MOQ & Price Tiers (`rel8ble/alibaba-wholesale-scraper`) Actor

Alibaba wholesale / Ready to Ship scraper: keywords in, in-stock products out with price tiers, MOQ, min order value, units sold, dispatch days, promotions and supplier orders, sales band, rating and country. Up to 4,000 per keyword. $0.80 per 1,000, no start fee.

- **URL**: https://apify.com/rel8ble/alibaba-wholesale-scraper.md
- **Developed by:** [Giovanni Rich](https://apify.com/rel8ble) (community)
- **Categories:** E-commerce, Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.80 / 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](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Alibaba Wholesale Scraper - Ready to Ship, MOQ & Price Tiers

This **Alibaba wholesale scraper** exports Alibaba.com's **Ready to Ship** (wholesale) products for any keyword: items that are **in stock, sold at a fixed price, with low MOQs and a dispatch time**. Use it to find **wholesale products to resell or dropship**, compare **bulk prices and quantity price tiers**, and pick suppliers by their **real Alibaba order history**, as clean JSON, CSV or Excel.
Each row is one product with its **price range, price tiers, promotion price and end date, MOQ, minimum order value, units sold, dispatch days, product rating** and the supplier's **orders completed, sales band (e.g. $5,000,000+), transaction level, country, years on Alibaba, badges, rating and response rate**. Works as an unofficial **Alibaba wholesale API** from your own code, Make, Zapier, n8n or an AI agent.

It reads Alibaba's public wholesale pages (`alibaba.com/wholesale/led-strip-light.html`) over plain HTTP, with **no headless browser and no login**, **up to 100 pages (about 4,000 products) per keyword**. The prefilled input (`led strip light` + `yoga mat`, 50 each = 100 products) finished in 4 to 5 seconds locally and 9.3 seconds (7 seconds of scraping) on Apify on 23 Nov 2026. **$0.80 per 1,000 products, no start fee.**

### What you get

- **Search**: `searchKeyword`, `page`, `position`, `totalResults` (Alibaba's ready-to-ship count for the keyword), `searchCategoryPath`.
- **Product**: `productId`, `title`, `url`, `image`, `images`, `categoryId`, `hasVideo`, `productCertifications`, `isAd`, `listingType`.
- **Price and MOQ**: `priceText`, numeric `priceMin` / `priceMax`, `currency`, `priceUnit`, **`priceTiers`** (quantity breaks), `promotionPriceMin` / `Max`, `promotionDiscountPercent`, `promotionStartsAt` / `promotionEndsAt`, `lowestPriceIn180Days`, `volumeDiscountText`, `moq`, `moqUnit`, `priceAtMoq`, **`minOrderValue`** (cash for the smallest order).
- **Ready-to-ship signals**: **`soldCount`**, **`dispatchDays`**, **`productRating`**, `easyReturn`, `promotionLabels`.
- **Supplier**: `supplierName`, `supplierId`, `supplierCountry`, `supplierCountryCode`, `supplierYears`, **`supplierOrderCount`**, **`supplierGmvText`** / `supplierGmvUsd`, **`supplierTransactionLevel`**, `verifiedSupplier`, `goldSupplier`, `tradeAssurance`, `supplierStarLevel`, `supplierRating`, `supplierReviewCount`, quality / service / on-time scores, `reviewHighlights`, `responseRate`, `supplierMainProducts`, `supplierExportCountries`, `supplierVerifiedBy`, `supplierLogo`.
- **Links**: `supplierProfileUrl`, `supplierProductsUrl` (full catalog), `contactSupplierUrl` (Alibaba's own contact form).

70 fields per row. The dataset has three views: **Overview**, **Suppliers** and **Prices, MOQ & deals**. A `RUN_SUMMARY` record lists, per keyword, Alibaba's total, category path, pages read, rows saved, rows skipped and why it stopped.

### Sample output

Real rows from the prefilled run on 23 Nov 2026:

| keyword | title | priceText | moqText | min order | sold | dispatch | supplierName | supplier orders | sales band |
|---|---|---|---|---|---|---|---|---|---|
| led strip light | USB Smart LED Strip Light for Tv & Gaming RGB... | US $3.43-$4.29 | 2 pieces | $8.58 | 155 | 8 d | Ningbo How-Lighting Co., Ltd. | 2671 | $5,000,000+ |
| led strip light | Led Cob Strip 960leds CRI90 3000lm/m High Bri... | US $5.10-$5.77 | 5 meters | $28.85 | 645 | 15 d | Adled Light Limited | 460 | $350,000+ |
| led strip light | RGB RGBIC RGBW RGBWW CCT Addressable 12V 24V ... | US $2.57-$3.27 | 50 meters | $163.5 | 2450 | 7 d | Guangzhou Goldbo Lighting Co., Ltd. | 1632 | $1,100,000+ |
| yoga mat | Wholesale Custom Print logo Curve Arch Oval S... | US $13.90 | 1 piece | $13.9 | 577 | 14 d | Hunan Sanmo Sports Goods Co., Ltd. | 1266 | $600,000+ |
| yoga mat | Wholesale Black White Yoga Mat Non-slip Shock... | US $11.90-$15.20 | 30 pieces | $456 | 49 | 30 d | ECOMERFIT TECH SL | 164 | $110,000+ |
| yoga mat | Custom Eco-Friendly Thick Arch Pill Shape Yog... | US $11.80 | 1 piece | $11.8 | 93 | 5 d | Yiwu Huiyu E-Commerce Firm | 2765 | $1,400,000+ |

### Use cases

- **Resellers and dropshippers**: in-stock products with a low MOQ, a small minimum order value and a short dispatch time (`maxMoq`, `maxMinOrderValue`, `maxDispatchDays`)
- **Proven products**: sort by `soldCount` and `productRating` to see what buyers already order
- **Supplier vetting**: rank suppliers by `supplierOrderCount`, sales band and transaction level, not just badges
- **Price benchmarking**: quantity price tiers, promotion prices and the "lowest price in 180 days" label per keyword
- **Scheduled price and deal monitoring**: run the same keywords daily or weekly on an Apify schedule and compare `priceMin`, `promotionPriceMin`, `promotionEndsAt` and `soldCount` between runs to catch price drops, new deals and fast sellers
- **Market research**: up to 4,000 ready-to-ship listings per keyword, with Alibaba's category path and related searches in `RUN_SUMMARY`
- **AI agents**: "find 20 ready-to-ship yoga mats under $5 with MOQ under 50 from suppliers with 500+ orders" in one call

### Pricing

**$0.80 per 1,000 products** (pay per result; one result = one product saved). **No start fee.** Rows removed by your filters, duplicates, Alibaba's "no match" suggestions and failed requests are never charged.

| You scrape | You pay |
|---|---|
| 100 products (the prefilled input) | $0.08 |
| 1,000 products | $0.80 |
| 10,000 products | $8.00 |

The Apify free plan's $5 monthly credit covers about 6,000 products. Apify platform usage is included in the price. If you set a maximum cost per run, the scraper stops cleanly when it reaches it.

#### Speed and price compared

The most-used Alibaba product actors on the Apify Store (live store API, 28 Nov 2026) are general keyword search scrapers; none reads the Ready to Ship section or returns supplier order counts and sales bands:

| Actor | Users | Price per 1,000 rows | Start fee | Ready to Ship section |
|---|---|---|---|---|
| zen-studio/alibaba-scraper | 1,379 | $4.99 (first tier) | $0.005 | no |
| devcake/alibaba-products-scraper | 1,234 | $1.20 | $0.001 | no |
| piotrv1001/alibaba-listings-scraper | 903 | $3.00 | - | no |
| **This actor** | - | **$0.80** | **none** | **yes, up to 4,000 rows per keyword** |

- **Price**: 84% below zen-studio, 33% below devcake, 73% below piotrv1001, per row, and no start fee.
- **Speed, measured 23 Nov 2026**: the prefilled run saved 100 products from 4 pages in 4 to 5 seconds locally and in 9.3 seconds (7 seconds of scraping) on Apify (512 MB, no proxy needed); 300 products of one keyword took 8 seconds locally. The actor paces itself at 90 pages (about 3,600 products) a minute. We did not run the rival actors (each test run costs money), so we do not quote their speed; zen-studio's default run uses 1,024 MB, this actor 512 MB.

### FAQ

**What is "Ready to Ship" on Alibaba?**
Alibaba's wholesale section: products the supplier has in stock, with a fixed price, a small MOQ and a set dispatch time, that you can order straight away instead of asking for a quote.

**Why do some keywords return nothing?**
When Alibaba has no ready-to-ship match it fills the page with unrelated suggestions. The scraper detects that, saves nothing and charges nothing; `RUN_SUMMARY` says "no ready-to-ship products match this keyword".

**Can I get one row per supplier?**
Yes: set `uniqueSuppliers` to true. Only the best-ranked product of each supplier is saved.

**Can I keep only suppliers from one country?**
Yes: `supplierCountries` takes ISO codes or names (`CN`, `VN`, `India`). Most ready-to-ship suppliers are in China.

**Does it need a browser, cookies or an Alibaba account?**
No. It reads the public page over plain HTTP.

**Does it give email addresses or phone numbers?**
No. It gives company-level data and Alibaba's own profile and contact-form links. Contact suppliers through Alibaba.

**Will it get blocked?**
Alibaba rate-limits a single IP after a burst of pages. The actor paces itself and, on Apify, retries blocked pages through Apify Proxy (datacenter first, then residential). A few keyword URLs answer with Alibaba's 404 page; the actor then loads the same listing under Alibaba's alternative URL form automatically.

**Is this actor affiliated with Alibaba?**
No. It is an independent tool that reads publicly available pages.

### Example inputs for common jobs

Small test orders: MOQ up to 50, minimum order under $200, dispatched within 7 days:

```json
{ "keywords": ["phone case", "silicone baking mat", "dog leash"], "maxMoq": 50, "maxMinOrderValue": 200, "maxDispatchDays": 7, "maxResultsPerSearch": 100 }
```

Proven sellers from established suppliers:

```json
{ "keywords": ["yoga mat"], "minSoldCount": 100, "minSupplierOrders": 500, "minRating": 4.5, "uniqueSuppliers": true }
```

Daily deal monitor (schedule it): products on promotion only:

```json
{ "keywords": ["led strip light", "bluetooth speaker"], "onPromotionOnly": true, "maxResultsPerSearch": 200 }
```

### How to use

1. Type one or more product keywords into **Keywords** (or paste alibaba.com/wholesale/... URLs).
2. Set **Max products per keyword** (50 by default, 0 = all, up to 4,000) and any filters.
3. Click **Start** and download the results from the **Output** tab, or fetch them through the Apify API.
4. For monitoring, save the input as a task and add an Apify **Schedule** (daily or weekly).

### Input

| Field | Default | Description |
|---|---|---|
| `keywords` | `["led strip light", "yoga mat"]` | Product keywords or wholesale URLs, one per line |
| `startUrls` | - | Alibaba wholesale URLs from your browser (`_3.html` starts at page 3) |
| `maxResultsPerSearch` | 50 | Rows per keyword, 0-4000 (0 = all) |
| `maxResults` | 0 | Stop after this many rows in total (0 = no limit) |
| `supplierCountries` | - | Keep only suppliers in these countries |
| `maxMoq`, `minPrice`, `maxPrice`, `maxMinOrderValue` | - | Price and MOQ filters |
| `maxDispatchDays`, `minSoldCount`, `minSupplierOrders`, `minRating`, `minSupplierYears` | - | Quality filters |
| `verifiedOnly`, `tradeAssuranceOnly`, `easyReturnOnly`, `onPromotionOnly`, `excludeAds` | false | Badge and deal filters |
| `uniqueSuppliers` | false | One row per supplier |
| `dedupeAcrossSearches` | true | Never save the same product twice in a run |

With no input at all, the demo runs (LED strip light + yoga mat, 100 rows).

### Output example

One real row from the prefilled run (23 Nov 2026):

```json
{
    "searchKeyword": "led strip light",
    "page": 1,
    "position": 2,
    "totalResults": 132084,
    "searchCategoryPath": [
        "Lights & Lighting",
        "Landscape Lighting",
        "Rope Lights（old）"
    ],
    "productId": "1601072826332",
    "title": "Led Cob Strip 960leds CRI90 3000lm/m High Brightness COB 15mm Wide Led Strip Light",
    "url": "https://www.alibaba.com/product-detail/Led-Cob-Strip-960leds-R90-3000lm_1601072826332.html",
    "image": "https://s.alicdn.com/@sc04/kf/H49dd13b55b26440b822e62d41f7f6453Y.jpg",
    "images": [
        "https://s.alicdn.com/@sc04/kf/H49dd13b55b26440b822e62d41f7f6453Y.jpg",
        "https://s.alicdn.com/@sc04/kf/H0ba7b4fdd60043f68867062dea5393fci.jpg",
        "https://s.alicdn.com/@sc04/kf/H2d4c98fa181b48b08b24b80cbad8777cS.jpg",
        "https://s.alicdn.com/@sc04/kf/H3b0874bd7d814b1bac39ffa0b9b5b73fu.jpg",
        "https://s.alicdn.com/@sc04/kf/Hd16274c1ef7b45f9a96091ee6df9dc56b.jpg",
        "https://s.alicdn.com/@sc04/kf/H3e87d85c7ef141149b3e7a3da3707df9a.jpg"
    ],
    "priceMin": 5.1,
    "priceMax": 5.77,
    "priceText": "US $5.10-$5.77",
    "currency": "USD",
    "priceUnit": "meter",
    "priceTiers": [
        {
            "minQuantity": 5,
            "maxQuantity": 499,
            "price": 5.77,
            "unit": "meters"
        },
        {
            "minQuantity": 500,
            "maxQuantity": 999,
            "price": 5.5,
            "unit": "meters"
        },
        {
            "minQuantity": 1000,
            "maxQuantity": 9999,
            "price": 5.25,
            "unit": "meters"
        },
        {
            "minQuantity": 10000,
            "maxQuantity": null,
            "price": 5.1,
            "unit": "meters"
        }
    ],
    "promotionPriceMin": null,
    "promotionPriceMax": null,
    "promotionDiscountPercent": null,
    "moq": 5,
    "moqUnit": "meters",
    "moqText": "5 meters",
    "priceAtMoq": 5.77,
    "minOrderValue": 28.85,
    "soldCount": 645,
    "categoryId": "201708702",
    "hasVideo": true,
    "productCertifications": [
        "DECLARATION OF CONFORMITY",
        "UKCA",
        "CE",
        "ROHS"
    ],
    "isAd": false,
    "listingType": "normal",
    "supplierName": "Adled Light Limited",
    "supplierId": "282958108",
    "supplierProfileUrl": "https://hk1566130491wsvc.en.alibaba.com/company_profile.html",
    "supplierProductsUrl": "https://hk1566130491wsvc.en.alibaba.com/productlist.html",
    "contactSupplierUrl": "https://message.alibaba.com/msgsend/contact.htm?action=contact_action&appForm=s_en&chkProductIds=1601072826332&chkProductIds_f=IDX1eylQrjCcl8BXZL3x5fz6ch-QZlvExHGpVJY0subahTcAI6sFXl39ZFCZ402O6THH&tracelog=contactOrg&mloca=main_en_search_list",
    "supplierCountry": "Hong Kong S.A.R.",
    "supplierCountryCode": "HK",
    "supplierYears": 3,
    "verifiedSupplier": true,
    "verifiedSupplierPro": false,
    "goldSupplier": true,
    "tradeAssurance": true,
    "supplierRating": 4.8,
    "supplierReviewCount": 14,
    "ratingProductQuality": 4.9,
    "ratingSupplierService": 4.7,
    "ratingOnTimeShipment": 4.7,
    "responseRate": "100.0%",
    "responseTime": "≤1h",
    "supplierMainProducts": "LED Flexible Strip, LED Module, Backlit LED Bar, Edge Lit LED Bar, LED Neon Light",
    "supplierExportCountries": [],
    "supplierCertifications": [],
    "supplierVerifiedBy": "SGS",
    "supplierLogo": "https://sc02.alicdn.com/kf/H260f709b4df74953a48a4d843682c8e0D.jpg",
    "supplierStarLevel": 3,
    "reviewHighlights": [
        {
            "tag": "Good Supplier",
            "count": 3
        },
        {
            "tag": "good service",
            "count": 2
        }
    ],
    "easyReturn": true,
    "promotionLabels": [],
    "dispatchDays": 15,
    "productRating": 5,
    "lowestPriceIn180Days": false,
    "promotionStartsAt": null,
    "promotionEndsAt": null,
    "volumeDiscountText": null,
    "supplierOrderCount": 460,
    "supplierGmvText": "$350,000+",
    "supplierGmvUsd": 350000,
    "supplierTransactionLevel": 6,
    "sourceUrl": "https://www.alibaba.com/wholesale/led-strip-light.html",
    "scrapedAt": "2026-11-24T02:30:26.185Z"
}
```

### API example

Python (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("rel8ble/alibaba-wholesale-scraper").call(run_input={"keywords": ["yoga mat"], "maxMoq": 20})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["priceText"], "|", item["moqText"], "|", item["soldCount"], "|", item["supplierName"], item["supplierOrderCount"])
```

One HTTP call that runs the actor and returns the rows (curl):

```bash
curl -X POST "https://api.apify.com/v2/acts/rel8ble~alibaba-wholesale-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" -H "Content-Type: application/json" -d '{"keywords": ["coffee mug"], "maxResultsPerSearch": 40}'
```

### Integrations

- **Make, Zapier and n8n**: run on a schedule and send new deals to any app.
- **Google Sheets**: export the dataset straight to a spreadsheet.
- **Apify API and webhooks**: start runs, download results, get notified 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 scraper as a tool.

### Limits

- **About 4,000 products per keyword** (Alibaba's 100-page cap). Use more specific keywords for more.
- **Listing-level data.** Full specifications and the full supplier profile need our product details scraper.
- **Not every field on every row.** In the 100-row demo, price, tiers, MOQ, dispatch days, supplier name, country and years were on every row; supplier orders and sales band on 99%, supplier rating on 92%, units sold on 75%, product rating on 40%, promotion prices on 16%.
- **Prices** are in USD as Alibaba shows them to the request.

### Related actors

More Alibaba and wholesale sourcing scrapers by the same author:

- [Alibaba Product Details Scraper & API - Specs, SKUs, Suppliers](https://apify.com/rel8ble/alibaba-product-details-scraper): pass the `url` column for full specs, SKUs and certificates.
- [Alibaba Supplier Scraper & API - Store Catalogs, MOQ, Prices](https://apify.com/rel8ble/alibaba-supplier-store-scraper): pass `supplierProductsUrl` to export a supplier's whole catalog.
- [Alibaba Scraper & API - Products, Prices, MOQ & Suppliers](https://apify.com/rel8ble/alibaba-product-search-scraper)
- [Alibaba Supplier Search Scraper & API - Verified Manufacturers](https://apify.com/rel8ble/alibaba-supplier-search-scraper)
- [Alibaba Top Ranking Scraper - Hot Selling & Trending Products](https://apify.com/rel8ble/alibaba-top-ranking-scraper)
- [DHgate Scraper & API - Wholesale Products, Prices, MOQ, Sellers](https://apify.com/rel8ble/dhgate-scraper)

Need a custom scraper or a ready dataset? Hire me on Fiverr: https://www.fiverr.com/rel8ble

# Actor input Schema

## `keywords` (type: `array`):

What to buy wholesale, one keyword per line, e.g. "led strip light", "yoga mat", "phone case". Each keyword is searched in Alibaba's Ready-to-Ship (wholesale) section. You can also paste alibaba.com/wholesale/... URLs here. Empty = a demo (LED strip light + yoga mat).

## `startUrls` (type: `array`):

Optional. Alibaba wholesale pages copied from your browser, e.g. https://www.alibaba.com/wholesale/yoga-mat.html (a \_3.html page starts from page 3).

## `maxResultsPerSearch` (type: `integer`):

Products to save per keyword, integer 0-4000. Alibaba serves 47 on page 1 and 40 per page after, up to 100 pages. Default 50 (2 pages). 0 = every page.

## `maxResults` (type: `integer`):

Optional. Stop after this many rows across all keywords. 0 (default) = no limit. You pay per saved row only.

## `supplierCountries` (type: `array`):

Optional. Keep only suppliers located in these countries, one per line: ISO code ("CN", "VN", "IN", "TR", "US") or English name ("Vietnam"). Empty = all countries.

## `maxMoq` (type: `integer`):

Optional. Keep only products whose minimum order quantity is at or below this number.

## `minPrice` (type: `number`):

Optional. Keep products whose highest unit price is at least this.

## `maxPrice` (type: `number`):

Optional. Keep products whose lowest unit price is at most this.

## `maxMinOrderValue` (type: `number`):

Optional. Keep products whose minimum order (MOQ x unit price) costs at most this, e.g. 200 for small test orders.

## `maxDispatchDays` (type: `integer`):

Optional. Keep products the supplier dispatches within this many days.

## `minSoldCount` (type: `integer`):

Optional. Keep products with at least this many units sold (products without a sold count are dropped).

## `minSupplierOrders` (type: `integer`):

Optional. Keep suppliers with at least this many completed Alibaba orders.

## `minRating` (type: `number`):

Optional. Keep suppliers rated at least this (out of 5).

## `minSupplierYears` (type: `integer`):

Optional. Keep suppliers with at least this many years on Alibaba.

## `verifiedOnly` (type: `boolean`):

Keep only suppliers with the Verified or Verified PRO badge.

## `tradeAssuranceOnly` (type: `boolean`):

Keep only products covered by Trade Assurance.

## `easyReturnOnly` (type: `boolean`):

Keep only products with the Easy Return tag.

## `onPromotionOnly` (type: `boolean`):

Keep only products with a running promotion price (deal hunting).

## `excludeAds` (type: `boolean`):

Drop listings Alibaba marks as ads.

## `uniqueSuppliers` (type: `boolean`):

Keep only the first (best-ranked) product of each supplier: a supplier shortlist instead of a product list.

## `dedupeAcrossSearches` (type: `boolean`):

Default true: a product (or supplier, with the option above) already saved by an earlier keyword is not saved again.

## `maxConcurrency` (type: `integer`):

Optional, advanced. Parallel requests, 1-20. Default 4.

## `maxRequestRetries` (type: `integer`):

Optional, advanced. Retries per failed or blocked page, 0-20; each retry uses a new session. Default 6.

## `proxyConfiguration` (type: `object`):

Optional, advanced. Leave as is. Default {"useApifyProxy": false} = automatic: direct connection first, and only blocked requests are retried through Apify Proxy (datacenter, then residential). Set proxy groups or URLs to force them for every request.

## Actor input object example

```json
{
  "keywords": [
    "led strip light",
    "yoga mat"
  ],
  "maxResultsPerSearch": 50,
  "maxResults": 0,
  "verifiedOnly": false,
  "tradeAssuranceOnly": false,
  "easyReturnOnly": false,
  "onPromotionOnly": false,
  "excludeAds": false,
  "uniqueSuppliers": false,
  "dedupeAcrossSearches": true,
  "maxConcurrency": 4,
  "maxRequestRetries": 6,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `products` (type: `string`):

One row per ready-to-ship product: price, quantity tiers, MOQ, units sold, dispatch days and the supplier (country, orders, sales band, rating).

## `summary` (type: `string`):

Per keyword: results Alibaba reports, category path, pages read, rows saved, skipped rows, related searches, and any ignored input or failed request.

# 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

```javascript
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 = {
    "keywords": [
        "led strip light",
        "yoga mat"
    ],
    "maxResultsPerSearch": 50,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rel8ble/alibaba-wholesale-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

```python
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 = {
    "keywords": [
        "led strip light",
        "yoga mat",
    ],
    "maxResultsPerSearch": 50,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("rel8ble/alibaba-wholesale-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

```bash
echo '{
  "keywords": [
    "led strip light",
    "yoga mat"
  ],
  "maxResultsPerSearch": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call rel8ble/alibaba-wholesale-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rel8ble/alibaba-wholesale-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/5RgJHfSHlwQ2nOIR4/builds/4DlbeNCFH1JGCDSrL/openapi.json
