# Alibaba Search Scraper - $0.90 / 1000 Products (`scrapeunblocker/alibaba-search-scraper`) Actor

Scrape Alibaba.com product search results in bulk: title, URL, images, USD price range and quantity price tiers, MOQ, sold count, rating, lead time, certifications and the supplier (country, years, Verified, Gold, Trade Assurance). Many queries, sort and supplier filters. $0.90 per 1000 products.

- **URL**: https://apify.com/scrapeunblocker/alibaba-search-scraper.md
- **Developed by:** [Scrapeunblocker](https://apify.com/scrapeunblocker) (community)
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 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 Search Scraper

Scrape **Alibaba.com product search results** as clean structured JSON - product title, URL, full-size image and 300x300 thumbnail, USD price range, **quantity price tiers**, promotion price, minimum order (MOQ), sold count, rating and reviews, lead time, category, certifications, sponsored flag and the **supplier card** (name, store URL, country, years on Alibaba, Verified / Verified PRO / Gold Supplier, Trade Assurance, response rate). Many queries in one run, up to 480 products per query. No Alibaba account, no API key, no proxies to configure.

### Features

- **Bulk search** - any number of queries, each searched separately, in any language.
- **Up to 480 products per query** - Alibaba lists 48 products per results page; the Actor pages through for you.
- **Sort** - best match or most sold in the last 180 days.
- **Supplier filters** - Verified suppliers only, Verified PRO only, Trade Assurance only, and supplier country (CN, US, IN, VN...).
- **Wholesale pricing** - every quantity tier with its price and promotion price, not just the headline range.
- **Supplier vetting data** - country, years on Alibaba, Verified / Gold flags, Trade Assurance and response rate on every row.
- **Rank tracking** - each product carries its `position` in the results of its query.

### Use cases

- **Sourcing** - find suppliers for a product and compare MOQ, price tiers and lead times side by side.
- **Price research** - track wholesale price ranges and discounts for a product category over time.
- **Supplier screening** - shortlist Verified / Gold suppliers with Trade Assurance and a long history.
- **Market research** - measure demand by sold counts, see which suppliers dominate a query, spot sponsored placements.
- **Dropshipping and private label** - build product and supplier lists to feed spreadsheets, BI tools or an LLM.

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `queries` | array | `["bluetooth speaker"]` | Search queries, one search each. |
| `maxResults` | integer | `48` | Products per query (1-480). |
| `sort` | string | `relevance` | `relevance` (best match) or `sales` (most sold in 180 days). |
| `verifiedSuppliers` | boolean | `false` | Only Verified suppliers. |
| `verifiedProSuppliers` | boolean | `false` | Only Verified PRO suppliers. |
| `tradeAssurance` | boolean | `false` | Only products covered by Trade Assurance. |
| `supplierCountry` | string | - | Only suppliers in this country (ISO-2, e.g. `CN`). |
| `concurrency` | integer | `3` | Queries searched at the same time (1-5). |

#### Example input

```json
{
  "queries": ["yoga mat", "bluetooth speaker"],
  "maxResults": 100,
  "sort": "sales",
  "tradeAssurance": true
}
```

### Output

One dataset item per product:

```json
{
  "query": "yoga mat",
  "position": 2,
  "productId": "1600916253877",
  "title": "High Quality Gym Yoga Mat Wholesale Price Custom Durable Mat Yoga NBR Exercise Hot Sale Yoga Mat",
  "url": "https://www.alibaba.com/product-detail/High-Quality-Gym-Yoga-Mat-Wholesale_1600916253877.html",
  "image": "https://s.alicdn.com/@sc04/kf/Hdac57261627445c5aed7bf5b480b2286a.jpg",
  "thumbnail": "https://s.alicdn.com/@sc04/kf/Hdac57261627445c5aed7bf5b480b2286a.jpg_300x300.jpg",
  "images": ["https://s.alicdn.com/@sc04/kf/Hdac57261627445c5aed7bf5b480b2286a.jpg"],
  "priceText": "US $1.73-$2.05",
  "priceMin": 1.73,
  "priceMax": 2.05,
  "currency": "USD",
  "priceTiers": [
    {"minQuantity": 1, "maxQuantity": 99, "price": 2.05, "promotionPrice": null},
    {"minQuantity": 100, "maxQuantity": 9999, "price": 1.89, "promotionPrice": null},
    {"minQuantity": 10000, "maxQuantity": null, "price": 1.73, "promotionPrice": null}
  ],
  "promotionPriceText": null,
  "discountText": null,
  "moq": 1,
  "moqUnit": "piece",
  "moqText": "1 piece",
  "sold": 19265,
  "soldText": "19,265 sold",
  "rating": 4.7,
  "reviewsCount": 37,
  "leadTimeDays": 7,
  "category": "Yoga Mats",
  "sponsored": false,
  "certifications": ["ROHS"],
  "supplier": {
    "name": "Henan Lifeng Yuedong Sports Goods Co., Ltd.",
    "companyId": "214421979",
    "url": "https://yogaproduct.en.alibaba.com/",
    "profileUrl": "https://yogaproduct.en.alibaba.com/company_profile.html",
    "country": "CN",
    "yearsOnAlibaba": 14,
    "verified": true,
    "verifiedPro": false,
    "goldSupplier": true,
    "tradeAssurance": true,
    "responseRate": "99.8%"
  }
}
```

The key-value store also holds:

- `QUERIES` - per query: the total number of results Alibaba reports, products collected, the filters applied, pages fetched, the last results page read (`lastPageFetched`), how many products of that page were left out to stay within `maxResults` (`droppedFromLastPage`), and the next page Alibaba has (`hasMore`, `nextPage`).
- `ERRORS` - queries that returned no products (no match for the filters, invalid filter, blocked) with the reason. These are **not billed**.

### Pricing

**$0.90 per 1000 products.** You pay only for products delivered; failed queries are not charged.

### Notes

- Search prices are in USD.
- Alibaba lists 48 products per results page. When `maxResults` ends inside a page, the rest of that page is left out (`droppedFromLastPage` in `QUERIES`); use a multiple of 48 to get whole pages.
- `image` is the full-size original, `thumbnail` a 300x300 version that loads fast in tables and spreadsheets.
- For the full product page (SKU variants, attributes, lead times per quantity, packaging, supplier ratings), run the companion **Alibaba Product Scraper** on the product URLs from this Actor.
- Alibaba stops paging a query after page 100; very broad queries return the first 480 products per run.

# Actor input Schema

## `queries` (type: `array`):

What to search on Alibaba.com, e.g. "bluetooth speaker" or "yoga mat". Each query is searched separately; any language works.

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

Upper limit of products per query (1-480). Alibaba lists 48 products per results page.

## `sort` (type: `string`):

Order of the results.

## `verifiedSuppliers` (type: `boolean`):

Only products from Verified suppliers (inspected by a third party).

## `verifiedProSuppliers` (type: `boolean`):

Only products from Verified PRO suppliers.

## `tradeAssurance` (type: `boolean`):

Only products covered by Alibaba Trade Assurance.

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

Only suppliers located in this country (ISO-2 code, e.g. CN, US, IN, VN). Empty = any country.

## `proxy_country` (type: `string`):

ISO-2 country to browse Alibaba from. Leave empty - the service picks the exit itself. Search prices are in USD either way.

## `concurrency` (type: `integer`):

How many queries to search at the same time (1-5).

## Actor input object example

```json
{
  "queries": [
    "bluetooth speaker"
  ],
  "maxResults": 48,
  "sort": "relevance",
  "verifiedSuppliers": false,
  "verifiedProSuppliers": false,
  "tradeAssurance": false,
  "supplierCountry": "",
  "proxy_country": "",
  "concurrency": 3
}
```

# Actor output Schema

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

One item per product with the query and its position

## `queries` (type: `string`):

Per query: total results Alibaba reports, products collected, filters, pages fetched, the last page read, products of it left out (droppedFromLastPage) and the next page

## `errors` (type: `string`):

Queries that returned no products (no match, invalid filter, blocked), with the reason (not billed)

# 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 = {
    "queries": [
        "bluetooth speaker"
    ]
};

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

```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 = { "queries": ["bluetooth speaker"] }

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

```bash
echo '{
  "queries": [
    "bluetooth speaker"
  ]
}' |
apify call scrapeunblocker/alibaba-search-scraper --silent --output-dataset

```

## MCP server setup

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