# Alibaba.com Scraper - Wholesale Products & Supplier Leads (`scrapesage/alibaba-scraper`) Actor

Scrape Alibaba.com B2B products by keyword, URL or ID: tiered wholesale (FOB) prices, MOQ, specs, SKU variants, certifications, images, Trade Assurance & supplier/manufacturer leads with firmographics & lead score. Filter, set currency & monitor price drops.

- **URL**: https://apify.com/scrapesage/alibaba-scraper.md
- **Developed by:** [Scrape Sage](https://apify.com/scrapesage) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 product scrapeds

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Alibaba.com Scraper — Products, Wholesale Prices, MOQ, Specs & Supplier Leads

Extract **complete Alibaba.com B2B data** — the fields most scrapers leave empty: **tiered wholesale (FOB) ladder prices, minimum order quantity (MOQ), the full SKU/variant matrix, every product spec, certifications, Trade Assurance, packaging & lead times**, and the **complete supplier company profile** (business type, years on Alibaba, employee count, response time, on-time-delivery rate, ratings). Optionally turn every supplier into a **deduplicated sourcing / vetting lead** with a 0–100 lead score.

No login, no API key, no browser — fast SSR JSON extraction.

### Why this Alibaba scraper?

Most Alibaba scrapers only read the listing cards and return `null` for the data that actually drives a sourcing decision. This actor pulls the full server-side data layer and ships the **richest dataset in the category**:

| Data | Typical scrapers | This actor |
|---|---|---|
| Title, image, product URL | ✅ | ✅ |
| Price **range** on the card | partial | ✅ |
| **Tiered FOB ladder prices** (qty → unit price) | ❌ | ✅ |
| **MOQ** (minimum order quantity) + unit | ❌ | ✅ |
| Sold count / sales volume | ❌ | ✅ |
| Full **SKU / variant matrix** (color, model…) | ❌ | ✅ |
| Every **product attribute / spec** | ❌ | ✅ |
| **Certifications** (CE, RoHS, FCC, BQB…) w/ number & validity | ❌ | ✅ |
| All images **+ product video** | partial | ✅ |
| **Trade Assurance**, packaging, lead times | ❌ | ✅ |
| Supplier business type, years, employees | ❌ | ✅ |
| Supplier **response time & on-time-delivery rate** | ❌ | ✅ |
| Supplier lead score (0–100) | ❌ | ✅ |
| Price-drop / MOQ-change **monitor mode** | ❌ | ✅ |

### Use cases

- **Product sourcing & dropshipping** — find products by keyword, compare tiered wholesale prices and MOQs across suppliers, and pull every spec, image and certification you need to list a product.
- **Supplier discovery & vetting** — score suppliers by tenure, business type (manufacturer vs trading company), on-time-delivery rate, response time, Trade Assurance and ratings before you reach out (`outputSupplierLeads`).
- **Pricing & market intelligence** — track FOB price ladders, MOQs and new products by category; benchmark a niche.
- **Repricing & monitoring** — schedule recurring runs with **monitor mode** to catch price drops and MOQ changes on the products you care about.
- **Lead generation for B2B services** — manufacturers and trading companies on Alibaba are active buyers of logistics, inspection, financing, packaging and marketing services. Score and shortlist them.

### How to use

1. [Sign up for Apify](https://console.apify.com/sign-up) — the free plan is enough to try this actor.
2. Open the **Alibaba.com Scraper**, enter search keywords (or paste Alibaba URLs / product IDs), and click **Start**.
3. Watch results stream into the dataset table.
4. **Export** as JSON, CSV, Excel, XML, or RSS — or pull results programmatically via the [Apify API](https://docs.apify.com/api/v2).

### Input

```json
{
    "searchTerms": ["wireless earbuds", "solar panel"],
    "country": "US",
    "maxProducts": 100,
    "includeProductDetails": true,
    "outputSupplierLeads": true,
    "maxMoq": 100,
    "supplierType": "manufacturer",
    "minRating": "4",
    "monitorMode": false
}
```

- **searchTerms** — keywords, each scraped as its own product feed.
- **startUrls** — paste Alibaba.com product pages (`/product-detail/…`), search/category pages (`/trade/search?SearchText=…`) or supplier minisites (`https://<name>.en.alibaba.com/`).
- **productIds** — Alibaba product IDs to fetch full detail directly (e.g. `1601295664563`).
- **country** *(default `US`)* — localizes prices & currency (US ⇒ USD) and pins the proxy exit country.
- **includeProductDetails** *(default false)* — open each product for tiered FOB ladder prices, the full SKU/variant matrix, every spec, certifications, media, packaging, lead times, Trade Assurance and the supplier profile.
- **outputSupplierLeads** *(default false)* — also push one deduplicated lead per unique supplier (`type: "supplier"`) with full firmographics and a 0–100 lead score (implies product detail).
- **minPrice / maxPrice / maxMoq / supplierType / supplierCountry / minRating / tradeAssuranceOnly** — filters.
- **monitorMode** *(default false)* — emit only new or changed products across runs (`changeType`: new / price\_drop / price\_rise / moq\_change).

### Output

One record per product (`type: "product"`), plus optional supplier lead records (`type: "supplier"`):

```json
{
    "type": "product",
    "productId": "1601295664563",
    "title": "Wholesale Noise Cancelling Bluetooth Earbuds ENC Wireless In-ear Headphones",
    "url": "https://www.alibaba.com/product-detail/_1601295664563.html",
    "mainImage": "https://s.alicdn.com/@sc04/kf/H0da009d8...jpg",
    "priceMin": 5.67,
    "priceMax": 5.87,
    "currency": "USD",
    "priceUnit": "piece",
    "ladderPrices": [
        { "minQty": 10, "maxQty": 99, "price": 5.87, "priceText": "$5.87" },
        { "minQty": 100, "maxQty": 999, "price": 5.75, "priceText": "$5.75" },
        { "minQty": 1000, "maxQty": null, "price": 5.67, "priceText": "$5.67" }
    ],
    "moq": 10,
    "moqUnit": "pieces",
    "soldCount": 4612,
    "rating": 4.8,
    "reviewCount": 450,
    "attributes": [
        { "name": "BT Wireless", "value": "Bluetooth v5.4" },
        { "name": "battery capacity(mah)", "value": "300mAh" },
        { "name": "place of origin", "value": "Guangdong, China" }
    ],
    "variants": [
        { "name": "color", "type": "IMAGE", "options": ["Black", "White"] }
    ],
    "certifications": [
        { "name": "CE", "number": "LCSA03064052E", "issuedBy": "Other", "validPeriod": "03/17/2024 - 03/17/2029" },
        { "name": "RoHS", "number": "LCSA03044055R", "issuedBy": "Other", "validPeriod": "03/06/2024 - 03/06/2029" }
    ],
    "mediaImages": ["https://sc04.alicdn.com/kf/H0da009d8...jpg"],
    "video": { "videoId": "6000289844477", "cover": "https://sc04.alicdn.com/kf/..." },
    "tradeAssurance": true,
    "deliverPlace": "CN",
    "supplierName": "Guangzhou Langston Electronic Technology Co., Ltd.",
    "supplierId": "232103615",
    "supplierUrl": "https://langstoncn.en.alibaba.com/",
    "supplierCountry": "CN",
    "supplier": {
        "businessType": "Manufacturer,Trading Company",
        "yearsOnAlibaba": 12,
        "employees": "101-200",
        "responseTime": "≤4h",
        "onTimeDeliveryRate": "98.7%",
        "goldSupplier": true,
        "verifiedSupplier": true,
        "tradeAssurance": true,
        "contactName": "Ms. Zhong",
        "ratingAvg": 4.8
    },
    "searchTerm": "wireless earbuds",
    "scrapedAt": "2026-06-17T12:00:00.000Z"
}
```

A supplier lead record (`type: "supplier"`) adds `productsInRun`, `sampleProducts`, `avgProductPrice`, `tradeAssuranceAmount` and a 0–100 `leadScore`.

### Automate & schedule

Run this actor on autopilot and pull results into your own stack:

- **[Apify API](https://docs.apify.com/api/v2)** — start runs, fetch datasets, and manage schedules over REST.
- **[apify-client for JavaScript](https://docs.apify.com/api/client/js/)** and **[apify-client for Python](https://docs.apify.com/api/client/python/)** — official SDKs.
- **[Schedules](https://docs.apify.com/platform/schedules)** — run it hourly/daily/weekly to monitor price drops, MOQ changes or new products in a category; ideal with monitor mode.
- **[Webhooks](https://docs.apify.com/platform/integrations/webhooks)** — trigger downstream actions (CRM import, Slack alert, repricing job) the moment a run finishes.

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'MY_APIFY_TOKEN' });

const run = await client.actor('scrapesage/alibaba-scraper').call({
    searchTerms: ['stainless steel water bottle'],
    country: 'US',
    maxProducts: 100,
    includeProductDetails: true,
    outputSupplierLeads: true,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Got ${items.length} products & supplier leads`);
```

### Integrate with any app

Connect the dataset to 5,000+ apps — no code required:

- **[Make](https://docs.apify.com/platform/integrations/make)** — multi-step automation scenarios.
- **[Zapier](https://docs.apify.com/platform/integrations/zapier)** — push new supplier leads straight into your CRM.
- **[Slack](https://docs.apify.com/platform/integrations/slack)** — get notified when a monitored product drops in price.
- **[Google Drive / Sheets](https://docs.apify.com/platform/integrations/drive)** — auto-export every run to a spreadsheet.
- **[Airbyte](https://docs.apify.com/platform/integrations/airbyte)** — pipe results into your data warehouse.
- **[GitHub](https://docs.apify.com/platform/integrations/github)** — trigger runs from commits or releases.

### Use with AI assistants (MCP)

The output is clean, LLM-ready JSON. You can call this actor from Claude, ChatGPT, or any agent framework through the **[Apify MCP server](https://docs.apify.com/platform/integrations/mcp)** — ask your assistant to "find low-MOQ stainless steel bottle suppliers on Alibaba with Trade Assurance and list their lead scores" and let it run this scraper for you.

### Agent-ready: autonomous payments (x402 & Skyfire)

This actor is **agent-ready** — AI agents can discover it, run it, and **pay for it autonomously**, with no Apify account and no human in the loop. It uses [pay-per-event](https://docs.apify.com/platform/actors/publishing/monetize/pay-per-event) pricing and [limited permissions](https://docs.apify.com/platform/actors/development/permissions), so it qualifies for Apify's agentic-payment standards:

- **[x402](https://docs.apify.com/platform/integrations/x402)** — an open, HTTP-native payment protocol. Agents pay per run in USDC on the Base network directly through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp) — no account, no API key.
- **[Skyfire](https://docs.apify.com/platform/integrations/skyfire)** — agent-to-service payments for fully autonomous AI-agent workflows.

Building an AI agent, MCP tool, or autonomous data pipeline? This scraper is ready to plug in and pay as it goes.

### More scrapers from scrapesage

Build a complete **e-commerce sourcing & supplier stack**:

- **[AliExpress Scraper](https://apify.com/scrapesage/aliexpress-scraper)** — consumer / dropship products, live prices, orders sold & supplier leads.
- **[Made-in-China Scraper](https://apify.com/scrapesage/made-in-china-scraper)** — B2B manufacturers, products & supplier leads.
- **[TradeIndia Scraper](https://apify.com/scrapesage/tradeindia-scraper)** — Indian B2B suppliers, products & contact leads.
- **[Banggood Scraper](https://apify.com/scrapesage/banggood-scraper)** — cross-border dropship products, prices & reviews.
- **[Amazon Scraper](https://apify.com/scrapesage/amazon-scraper)** — products, Buy Box prices, reviews & seller leads.
- **[eBay Scraper](https://apify.com/scrapesage/ebay-scraper)** — listings, sold comps & seller leads.
- **[ImportYeti Scraper](https://apify.com/scrapesage/importyeti-scraper)** — supplier & shipment / bill-of-lading intelligence.
- **[Website Contact Scraper](https://apify.com/scrapesage/website-contact-scraper)** — enrich any supplier minisite with emails, phones & socials.

### Tips

- **USD prices**: keep `country` = `US` for prices in USD. Other countries localize to that market's currency; product detail always also exposes USD ladder prices.
- **Low-MOQ sourcing**: set `maxMoq` (e.g. 100) to surface suppliers that accept small / sample orders.
- **Manufacturers only**: set `supplierType` = `manufacturer` and turn on `includeProductDetails` for accurate business-type firmographics.
- **Recurring monitoring**: combine [Schedules](https://docs.apify.com/platform/schedules) with `monitorMode` to track only new or price-changed products.
- **Proxies**: keep the default residential proxy group — Alibaba.com challenges datacenter IPs.

### FAQ

**How do I scrape Alibaba products for a keyword?** Put the keyword(s) in `searchTerms`. Add `includeProductDetails` for ladder prices, specs, certifications and the supplier profile, and `outputSupplierLeads` to also get one scored lead per supplier.

**Does it get tiered wholesale (FOB) prices and MOQ?** Yes — with `includeProductDetails` on, every product carries its full `ladderPrices` array (quantity tier → unit price) and `moq`.

**Can I get supplier contact emails?** Alibaba does not publish supplier emails or phones — contact happens through the platform and the supplier's minisite. This actor returns the supplier's minisite URL, contact name, business type and full firmographics; pair it with the [Website Contact Scraper](https://apify.com/scrapesage/website-contact-scraper) to enrich minisites for public contact details.

**Can I export to Google Sheets, CSV, or Excel?** Yes — one click in the dataset view, or automatically on every run via the [Google Drive integration](https://docs.apify.com/platform/integrations/drive).

**How do I monitor price drops automatically?** Turn on `monitorMode`, then create a [Schedule](https://docs.apify.com/platform/schedules) (e.g. daily). Each run emits only new or changed products, each tagged with a `changeType` (price\_drop, price\_rise, moq\_change, new).

**Is scraping Alibaba.com legal?** This actor collects publicly available data only. You are responsible for using the data in compliance with applicable laws and Alibaba's terms.

**A field is null — why?** Some products genuinely don't publish a sold count, video, or certain specs. Fields are `null` only when the data doesn't exist, not because the scraper skipped them.

### Need help?

Open an issue on the actor's **Issues** tab, or visit the [Apify help center](https://help.apify.com/). Feature requests are welcome — this actor is actively maintained.

# Actor input Schema

## `searchTerms` (type: `array`):

Keywords to search Alibaba.com for, e.g. <code>wireless earbuds</code>, <code>stainless steel water bottle</code>, <code>solar panel</code>. Each keyword is scraped as its own product feed. Leave empty if you only use Start URLs / Product IDs.

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

Alibaba.com URLs to scrape directly: product pages (<code>/product-detail/...html</code>), search/category pages (<code>/trade/search?SearchText=...</code> or <code>/showroom/...</code>) or supplier minisites (<code>https://\<name>.en.alibaba.com/</code>). Used in addition to the keyword search.

## `productIds` (type: `array`):

Alibaba.com product IDs to fetch full product detail for directly (e.g. <code>1601295664563</code>). Equivalent to pasting their product-detail URLs.

## `minPrice` (type: `integer`):

Only keep products whose lowest unit price (in the chosen currency) is at least this much.

## `maxPrice` (type: `integer`):

Only keep products whose lowest unit price (in the chosen currency) is at most this much.

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

Only keep products whose minimum order quantity is at most this many units — useful for finding low-MOQ suppliers for small / test orders.

## `supplierType` (type: `string`):

Keep only products from a given supplier type (best-effort; based on supplier badges).

## `supplierCountry` (type: `string`):

Keep only products whose supplier is registered in this ISO country code (e.g. <code>CN</code>, <code>IN</code>, <code>VN</code>, <code>US</code>). Leave blank for all.

## `minRating` (type: `string`):

Only keep products with at least this average review score (0–5). Drops new / unrated items when set.

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

Only keep products covered by Alibaba Trade Assurance (order protection). Requires product detail.

## `country` (type: `string`):

ISO country code that prices, shipping and availability are localized to (e.g. <code>US</code>, <code>GB</code>, <code>DE</code>, <code>AU</code>). Drives the proxy exit country and the displayed currency. <code>US</code> shows USD.

## `maxProducts` (type: `integer`):

Maximum number of product records to scrape across all searches / URLs. Alibaba.com search returns ~48 products per page.

## `includeProductDetails` (type: `boolean`):

Open each product to add tiered wholesale (FOB) ladder prices, the full SKU/variant matrix, every product attribute/spec, all images & video, certifications, packaging & lead times, Trade Assurance, and the full supplier company profile. Adds one page fetch per product.

## `outputSupplierLeads` (type: `boolean`):

In addition to product records, push one deduplicated lead record per unique supplier (type = "supplier") with company name, business type, country, years on Alibaba, employees, response time, on-time delivery rate, Gold/Verified/Trade-Assurance status, contact name, ratings, sample products and a 0–100 lead score. Implies product detail for the richest firmographics. (Alibaba does not publish supplier emails/phones — contact is via the supplier's minisite & the platform.)

## `deduplicateProducts` (type: `boolean`):

Drop duplicate products that appear in more than one search / page in the same run.

## `monitorMode` (type: `boolean`):

Remember products across runs in a named key-value store and emit ONLY products that are new OR whose price/MOQ changed since the last run (each carries a <code>changeType</code>: new / price\_drop / price\_rise / moq\_change). Pair with Apify Schedules for price-drop alerts — it complements the scheduler (the schedule starts the run, monitor mode dedupes against prior runs).

## `monitorKey` (type: `string`):

Names the monitor's memory store so you can run several independent monitors (e.g. one per keyword). Reuse the same key to keep tracking the same feed.

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

Parallel page fetches. Keep low (2–4) so Alibaba's anti-bot doesn't challenge the proxy.

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

Proxies to use. Residential proxies are strongly recommended — Alibaba.com challenges datacenter IPs. Fresh residential sessions per request, primed with a homepage visit, stay ungated.

## Actor input object example

```json
{
  "searchTerms": [
    "wireless earbuds"
  ],
  "supplierType": "any",
  "minRating": "0",
  "tradeAssuranceOnly": false,
  "country": "US",
  "maxProducts": 100,
  "includeProductDetails": false,
  "outputSupplierLeads": false,
  "deduplicateProducts": true,
  "monitorMode": false,
  "monitorKey": "default",
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All scraped Alibaba.com product records and optional supplier/manufacturer lead records as JSON items in the default dataset.

# 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 = {
    "searchTerms": [
        "wireless earbuds"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapesage/alibaba-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 = {
    "searchTerms": ["wireless earbuds"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapesage/alibaba-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchTerms": [
    "wireless earbuds"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapesage/alibaba-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapesage/alibaba-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/aUEuSHlNgYbv0u2CK/builds/fb85E3IGd3WAp1E9W/openapi.json
