# Alibaba Scraper - Products, Wholesale Prices, MOQ & Suppliers (`super_x/alibaba-product-scraper`) Actor

Scrape Alibaba.com products and suppliers by keyword or URL: wholesale price range, price tiers by quantity, MOQ, lead time, attributes and supplier name, country, years and verification. For sourcing, private label and dropshipping. First 100 results free.

- **URL**: https://apify.com/super_x/alibaba-product-scraper.md
- **Developed by:** [pedro vecchi](https://apify.com/super_x) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 products

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/running/actors-in-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 Scraper — Products, Wholesale Prices, MOQ & Suppliers

Scrape **Alibaba.com** search results and product pages into clean data: **wholesale price range, price tiers by quantity, minimum order quantity (MOQ)**, images, and the **supplier** behind each product (name, country, years on Alibaba, verified status).

Built for **sourcing, private label and dropshipping research**, supplier comparison and wholesale price monitoring. Works with keywords or any Alibaba search URL (keep your filters).

### What you get

- 🔎 Search by keyword or paste Alibaba search / category URLs
- 💲 Price range (min / max) and, with details on, **price tiers by quantity**
- 📦 Minimum order quantity (MOQ) and unit
- 🏭 Supplier name, country, years on Alibaba, verified / Trade Assurance flags, store link
- 🖼️ Main image and gallery
- 📋 Product attributes (material, size, certifications...) with details on

### Input example

```json
{
  "searchQueries": ["solar panel", "https://www.alibaba.com/trade/search?SearchText=yoga+mat&verifiedSupplier=true"],
  "maxProductsPerSearch": 100,
  "includeDetails": true
}
```

### Output example

```json
{
  "type": "product",
  "query": "solar panel",
  "position": 1,
  "productId": "1600123456789",
  "title": "Monocrystalline Solar Panel 550W",
  "url": "https://www.alibaba.com/product-detail/..._1600123456789.html",
  "priceText": "$45.00-60.00",
  "priceMin": 45,
  "priceMax": 60,
  "minOrder": "Min. order: 10 pieces",
  "supplierName": "Example Solar Co., Ltd.",
  "supplierCountry": "CN",
  "supplierYears": 8,
  "priceTiers": [{ "minQuantity": 10, "maxQuantity": 99, "price": 60 }, { "minQuantity": 100, "price": 45 }]
}
```

### Pricing

🎁 **The first 100 results of every run are free.** Try it on your own keywords before paying anything.

Pay per event: **per product** returned, plus an extra event per product only when *Include full product details* is on. No monthly fee; set a max cost per run and the scraper stops there.

### Tips

- Keep the default **residential proxy (US)**: Alibaba shows captchas to datacenter IPs.
- Use Alibaba's own filters (verified supplier, price, MOQ) in the search URL and paste it.
- Pair it with our **AliExpress Scraper** to compare wholesale vs. retail prices.

### FAQ

**Is it legal?** It collects publicly available product information only. Check Alibaba's terms and your local laws.

**Something broke?** Open an issue on the Actor page — fixes ship fast.

# Actor input Schema

## `searchQueries` (type: `array`):

One per line. A keyword (solar panel) or any alibaba.com search / category URL, with your filters.

## `productUrls` (type: `array`):

Alibaba product pages (alibaba.com/product-detail/...) to scrape in full.

## `maxProductsPerSearch` (type: `integer`):

Stop after this many products for each keyword or URL.

## `includeDetails` (type: `boolean`):

Also open each product to get price tiers by quantity, attributes, all images and supplier details. Slower; charged as an extra event.

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

Residential proxies avoid Alibaba captchas. Keep the default unless you know what you are doing.

## `debug` (type: `boolean`):

For troubleshooting only. Saves raw pages to the key-value store.

## Actor input object example

```json
{
  "searchQueries": [
    "phone case"
  ],
  "maxProductsPerSearch": 48,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  },
  "debug": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "searchQueries": [
        "phone case"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("super_x/alibaba-product-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 = { "searchQueries": ["phone case"] }

# Run the Actor and wait for it to finish
run = client.actor("super_x/alibaba-product-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 '{
  "searchQueries": [
    "phone case"
  ]
}' |
apify call super_x/alibaba-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,super_x/alibaba-product-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/lEvRrsHrxNf4YrNKd/builds/Dh0rYfCPopg2QfqzL/openapi.json
