# Alibaba Product Scraper (`codenest/alibaba-product-scraper`) Actor

Extract comprehensive Alibaba product data - pricing tiers, bulk discounts, seller profiles, specifications, images, ratings, reviews, sales volume, and stock availability.

- **URL**: https://apify.com/codenest/alibaba-product-scraper.md
- **Developed by:** [CodeNest](https://apify.com/codenest) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Stats:** 6 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 record scrapeds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#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 Product Scraper - Professional B2B Product Data Extraction Tool

**Extract detailed product information from Alibaba with our powerful **Alibaba Product Scraper**! This Apify actor enables comprehensive product data extraction including pricing, bulk discounts, seller details, images, and complete product specifications.**

***

### 📋 Overview

Need to monitor supplier prices, analyze B2B market trends, or build a competitive intelligence database? This **Alibaba Product Scraper** delivers:

- 💰 **Complete Pricing Data** - Base price + tiered bulk discounts
- 🏷️ **Product Specifications** - Brand, origin, materials, sizing
- 📊 **Seller Intelligence** - Company profiles, ratings, years in business
- 🖼️ **Rich Media** - High-res product images and videos
- 📈 **Engagement Metrics** - Ratings, reviews, sales volume
- 🔄 **Bulk Operations** - Process unlimited product URLs

Perfect for market researchers 📊, procurement specialists 🛍️, dropshippers 📦, and competitive analysts 🔍!

***

### ⭐ Core Capabilities of Alibaba Product Scraper

#### 💵 Pricing Intelligence

- **Base Price Extraction** - Current selling price with currency
- **Bulk Pricing Tiers** - Volume-based discount structures (2-499, 500-999, 1,000-9,999, 10,000+)
- **Price Range Calculation** - Min to max price display
- **List Price Comparison** - Original/compare prices when available

#### 🏭 Product Specifications

- **Complete Details** - Origin, brand, form, gender, scent, type
- **Customization Options** - Colors, sizes, custom packaging details
- **Certifications** - Product compliance and quality marks
- **Supply Ability** - Production capacity information

#### 🏢 Seller Intelligence

- **Company Profile** - Full business name and URL
- **Business History** - Years in operation
- **Location Data** - Country/region of supplier
- **Gold Supplier Status** - Verified seller identification
- **Trade Assurance** - Buyer protection indicators

#### 📊 Market Metrics

- **Customer Ratings** - Star ratings (out of 5)
- **Review Counts** - Total customer feedback
- **Sales Data** - Units sold tracking
- **Stock Status** - Availability indicators

***

### ⚙️ Input Configuration

Simply enter Alibaba product URLs in the Input Section and click "Start". URLs look like this:

```json
{
  "productUrls": [
    "https://www.alibaba.com/product-detail/QAED-AL-FURSAN-100ml-Men-Cologne_1601462524004.html?spm=a27aq.30321987.6380511580.2.5a7956b50HNOaf"
  ]
}
```

#### 📝 Input Specifications

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `productUrls` | Array | ✅ Yes | Alibaba product detail page URLs |
| `url` | String | ✅ Yes | Valid Alibaba product URL (product-detail/ format) |

***

### 📤 Output Structure

Your **Alibaba Product Scraper** produces comprehensive product data:

```json
[
  {  
   "productId": "1601574715681",
    "title": "High Quality Gaming Laptop Brand New Firebat Huan 16 Pro Model with Intel I7 13700HX CPU RTX 5060 8G GPU Gaming Laptop",
    "url": "https://www.alibaba.com/product-detail/High-Quality-Gaming-Laptop-Brand-New_1601574715681.html",
    "price": "$1260.00 - $1280.00",
    "priceRange": "$1260.00 - $1280.00",
    "bulkPricing": [
      {
        "minQuantity": "1",
        "maxQuantity": "4",
        "price": "$1280.00",
        "currency": "$",
        "quantity": "1-4 units",
        "range": "1-4 units",
        "unit": "units"
      },
      {
        "minQuantity": "5",
        "maxQuantity": "49",
        "price": "$1270.00",
        "currency": "$",
        "quantity": "5-49 units",
        "range": "5-49 units",
        "unit": "units"
      },
      {
        "minQuantity": "50",
        "maxQuantity": null,
        "price": "$1260.00",
        "currency": "$",
        "quantity": ">=50 units",
        "range": ">=50 units",
        "unit": "units"
      }
    ],
    "minOrderQuantity": "1 units",
    "brand": "Firebat",
    "stars": 5,
    "reviewsCount": 3,
    "soldQuantity": "6 sold",
    "images": [
      "https://sc04.alicdn.com/kf/H6d2da0de0de94323adb6f86b6a206edbD.jpg",
      "https://sc04.alicdn.com/kf/H36c5ad5b56504dc8b50aca16d3f0a444r.jpg",
      "https://sc04.alicdn.com/kf/H5861d2c6aa4a4918a658606780b5aa1bX.jpg",
      "https://sc04.alicdn.com/kf/H6c0c44d881b4444eaa93e58d6f11a40fF.jpg",
      "https://sc04.alicdn.com/kf/Hd2145a8f8ab14d6ca7aa98fc2e7b30f9A.jpg",
      "https://sc04.alicdn.com/kf/Hef604ba3eb334b058d93df73607d634fi.jpg"
    ],
    "delivery": "15-30 days",
    "productDetails": {
      "processor type": "Intel I7",
      "graphics card type": "Dedicated Card",
      "operating system": "Windows 11",
      "processor main frequency": "3.4GHz",
      "refresh rate": "240Hz",
      "display resolution": "2560*1600",
      "processor core": "16 Core",
      "hard drive type": "SSD",
      "video memory type": "GDDR5",
      "wlan": "WiFi 802.11 ax",
      "display ratio": "16:10",
      "plugs type": "Other, US, UK, JPJP, AU, EU",
      "keyboard language": "English",
      "private mold": "Yes",
      "processor manufacture": "Intel",
      "place of origin": "Guangdong, China",
      "Brand Name": "Firebat",
      "Brand name": "Firebat",
      "Model name": "Firebat Huan 16 Pro",
      "Color": "White",
      "GPU": "RTX 5060 8G",
      "OS": "Windows 11 Pro",
      "Product size": "356.68*246.16*23mm",
      "Storage": "32GB",
      "Hard drive": "1TB",
      "Product weight": "2.15kg",
      "Camera": "720P HD camera",
      "Selling Units": "Single item",
      "Single volume": "0 cm³",
      "Single gross weight": "0.0 kg",
      "color": "White",
      "hard drive capacity": "1TB",
      "memory capacity": "32 GB",
      "model number": "Firebat Huan 16 Air",
      "screen size": "16\""
    },
    "packagingAndDelivery": {
      "minOrder": "1 units",
      "leadTime": "15-30 days",
      "shippingMethods": [
        "Sea freight",
        "Air freight",
        "Express",
        "Land freight"
      ],
      "port": "Shenzhen / Ningbo / Shanghai",
      "logisticInfo": {
        "productPackagingProperties": [],
        "unitVolume": "0",
        "unitWeight": "0.0"
      }
    },
    "customizationAbility": [
      "Minor customization",
      "Drawing-based customization",
      "Sample-based customization",
      "Full customization"
    ],
    "paymentInformation": {
      "tradeAssurance": true,
      "paymentMethods": [
        "Trade Assurance",
        "Visa",
        "Mastercard",
        "T/T (Wire Transfer)",
        "Apple Pay",
        "Google Pay",
        "PayPal",
        "Online Transfer",
        "Western Union"
      ],
      "paymentTerms": [
        "Secure payments",
        "Every payment you make on Alibaba.com is secured with strict SSL encryption and PCI DSS data protection protocols",
        "Easy Return",
        "Make free local returns for defects on qualifying purchases",
        "Money-back protection",
        "Claim a refund if your order doesn't ship, is missing, or arrives with product issues"
      ]
    },
    "supplierDetails": {
      "supplier": "Shenzhen Qingfen Tingxiu Information Technology Co., Ltd.",
      "supplierLocation": "CN",
      "companyYears": "2 yrs",
      "businessType": "Manufacturer,Trading Company",
      "verificationLevel": "Verified Supplier",
      "storeRating": "5.0",
      "storeReviewCount": 3,
      "storeOrders6Months": 155,
      "storeVolume6Months": "5,700,000+",
      "companyUrl": "https://firebat.en.alibaba.com/company_profile.html",
      "contactName": "Mr. Liu",
      "jobTitle": "Key account manager",
      "responseTime": "≤6h",
      "onTimeDeliveryRate": "94.4%",
      "ratingBreakdown": {
        "supplierServices": "4.9",
        "shippingTime": "4.9",
        "productQuality": "4.9"
      }
    },
    "colorsAvailable": [
      "White"
    ],
    "sizesAvailable": [
      "16\"",
      "Firebat Huan 16 Air",
      "1TB",
      "32 GB"
    ],
    "certifications": [
      "CE",
      "RoHS",
      "ISO9001"
    ],
    "category": "Consumer Electronics > Computer Hardware & Software > Gaming Computer Hardware & Software > Gaming Laptops"
  },
]
```

#### 📖 Output Field Documentation

**🔹 Product Identification**
| Field | Description |
|-------|-------------|
| `title` | Full product title/description |
| `url` | Clean product page URL |
| `productId` | Unique Alibaba product identifier |
| `brand` | Manufacturer/brand name |

**🔹 Pricing Structure**
| Field | Description |
|-------|-------------|
| `price` | Object with current price and currency |
| `priceRange` | Min-max price display string |
| `bulkPricing` | Tiered pricing array with min/max quantities |
| `listPrice` | Original/reference price (when available) |

**🔹 Product Details**
| Field | Description |
|-------|-------------|
| `productDetails` | Object with specifications (origin, form, scent, etc.) |
| `minOrderQuantity` | Minimum purchase requirement |
| `customizationDetails` | Custom options availability |
| `colorsAvailable` | Available color variations |
| `sizesAvailable` | Available size variations |

**🔹 Seller Information**
| Field | Description |
|-------|-------------|
| `sellerInfo.name` | Company/business name |
| `sellerInfo.url` | Company profile URL |
| `sellerInfo.yearsInBusiness` | Operational history |
| `sellerInfo.location` | Country code of supplier |
| `sellerInfo.isGoldSupplier` | Verified supplier status |

**🔹 Market Metrics**
| Field | Description |
|-------|-------------|
| `stars` | Average rating (1-5 scale) |
| `reviewsCount` | Total customer reviews |
| `soldQuantity` | Units sold tracking |
| `inStock` | Boolean availability status |
| `certifications` | Product compliance certifications |

**🔹 Media Assets**
| Field | Description |
|-------|-------------|
| `images` | Array of high-resolution product images |
| `video` | Product video URL (when available) |

***

### 🔧 Technical Features of This Alibaba Product Scraper

#### 🚀 Advanced Extraction

- **Dynamic Content Handling** - Renders JavaScript-heavy product pages
- **Pricing Intelligence** - Identifies and structures tiered discounts
- **Image Optimization** - Extracts full-resolution product images
- **Seller Verification** - Detects Gold Supplier and Trade Assurance status

#### 📊 Data Structure Excellence

- **Nested JSON** - Clean, organized data hierarchy
- **Currency Normalization** - Consistent currency handling
- **Unit Standardization** - Unified measurement format
- **Timestamp Accuracy** - Preserves pricing as extracted

#### 🛡️ Reliability Features

- **Error Resilience** - Partial data extraction on failures
- **Rate Limit Handling** - Automatic throttling for large batches
- **URL Normalization** - Handles various URL formats and parameters
- **Fallback Selectors** - Multiple extraction methods for data recovery

***

### 💡 Use Cases for Alibaba Product Scraper

- **📊 Market Research** - Analyze pricing trends and competitor strategies
- **🛍️ Dropshipping** - Find profitable products with bulk discount structures
- **🏭 Procurement** - Compare supplier prices and verify certifications
- **📈 Price Monitoring** - Track price changes and stock availability
- **🔍 Supplier Evaluation** - Assess Gold Supplier status and business history
- **📚 Product Research** - Gather specifications and quality information
- **🤖 Competitive Intelligence** - Build databases for market analysis

***

### ✨ Why Choose Our Alibaba Product Scraper?

- **⚡ High Performance** - Fast extraction with minimal compute
- **🎯 Complete Data** - Every field from pricing to seller info
- **🔄 Regular Updates** - Adapts to Alibaba platform changes
- **📦 Bulk Ready** - Handle thousands of products efficiently
- **💰 Cost Effective** - Optimized to minimize token usage
- **🛡️ Reliable** - Battle-tested on thousands of products

***

### ⚠️ Limitations

- Requires valid Alibaba product detail page URLs
- Some pages may have JavaScript-heavy content requiring rendering
- Bulk pricing structures may vary by product category
- Gold Supplier status availability depends on seller participation

***

### 🔗🛠 Complete B2B Sourcing Scraper Suite

Explore our professional data extraction collection:

#### 🏭 Supplier Scrapers:

- [Made In China Supplier/Company Scraper](https://apify.com/codenest/made-in-china-supplier-company-scraper) - YOU ARE HERE
- [Zillow Agent Profile Scraper](https://apify.com/codenest/zillow-agent-profile-scraper)

#### 📊 Product Scrapers:

- [Made in China Product Scraper](https://apify.com/codenest/made-in-china-product-scraper)
- [Made In China Top Ranking Product Scraper](https://apify.com/codenest/made-in-china-top-ranking-product-scraper)
- [Zillow Property Scraper](https://apify.com/codenest/zillow-property-scraper)
- [Alibaba Product Scraper](https://apify.com/codenest/alibaba-product-scraper)
- [Amazon Product Scraper](https://apify.com/codenest/amazon-product-scraper)
- [Amazon Deals Scraper](https://apify.com/codenest/amazon-deals-scraper)
- [Zillow Property & Apartment Scraper](https://apify.com/codenest/zillow-property-apartment-scraper)
- [Made In China Product & Company Details Scraper](https://apify.com/codenest/made-in-china-product-company-details-scraper)

### 📧 Need Custom Features for Your Alibaba Product Scraper?

Want **historical price tracking**, **competitor monitoring**, **API integration**, or **custom data formats**?

✉️ Email **<codenest2.0@gmail.com>** for tailored enterprise solutions!

***

# Actor input Schema

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

Enter one or more Alibaba product page URLs to scrape (e.g. https://www.alibaba.com/product-detail/...). You can add multiple URLs.

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

Select proxies to be used by your scraper.

## Actor input object example

```json
{
  "productUrls": [],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

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

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

# Run the Actor and wait for it to finish
run = client.actor("codenest/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 '{
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call codenest/alibaba-product-scraper --silent --output-dataset

```

## MCP server setup

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