# Alibaba Product Scraper — FOB Ladders, MOQ & Suppliers (`crawloop/alibaba-product-scraper`) Actor

Scrape Alibaba.com product pages for wholesale FOB ladder prices, MOQ, SKU options, Gold/Verified supplier badges and specs. URL or product ID in, clean JSON out — Alibaba API alternative.

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

## Pricing

from $2.60 / 1,000 product details

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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?

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 Product Scraper — FOB ladders, MOQ, SKU & suppliers

> **Disclaimer:** Unofficial tool — not affiliated with, sponsored by, or endorsed by Alibaba Group or its affiliates. Data is read from publicly accessible product pages only. No login. You are responsible for complying with applicable law (including GDPR where personal data appears) and the site’s terms. No warranty on accuracy or availability. Provided for informational and research use.

> **Contact-data controls:** Storefront contact names are omitted from the dataset by default. Enable `includeContacts` only for names already published on the product page and only when you have a lawful basis. Alibaba product pages do not publish supplier phone or email.

> **Crawloop China sourcing suite** — Alibaba.com export PDPs, 1688 factory offers, and AliExpress retail comps.

| **Alibaba Product Scraper** ◄── you are here | [1688 Scraper](https://apify.com/crawloop/1688-scraper) | [AliExpress Search Scraper](https://apify.com/crawloop/aliexpress-search-scraper) |
| :--- | :--- | :--- |
| Alibaba.com FOB ladders, MOQ, Gold / Verified | China wholesale offers, factory flags | AliExpress retail search, sold count |

Also see: [Europages Scraper](https://apify.com/crawloop/europages-scraper) · [WLW Scraper](https://apify.com/crawloop/wlw-scraper) · [North Data Scraper](https://apify.com/crawloop/northdata-scraper)

**Alibaba Product Scraper** for Apify — turn Alibaba.com product URLs or numeric IDs into clean JSON without a public Alibaba API. Extract **FOB quantity ladders, MOQ, SKU options, Gold / Verified / Trade Assurance badges, specs, images, ratings, and lead times**.

Built for **wholesale sourcing**, **landed-cost models**, **supplier shortlists**, **price monitoring**, and **CRM enrichment**. Run from the Console or with **Python**, **Node.js**, **cURL**, or **MCP** / AI assistants. Fast HTTP crawl via `curl_cffi` (`window.detailData`) — no headless browser and no login for public fields.

### When to use this Actor

- You already have **Alibaba product URLs or product IDs** and need **full detail rows**
- You care about **quantity-tier FOB prices**, not a single retail number
- You need **MOQ + unit**, **manufacturer vs trader**, and **Gold / Verified / Trade Assurance** on the same row
- You want an **Alibaba API alternative** that exports JSON / CSV / Excel from Apify
- You prefer a **fast, browser-free** product scrape on Apify

### When not to use this Actor

- **Keyword search / category browse** — this Actor is product-detail only (pass URLs or IDs)
- **1688.com China-domestic wholesale** — use [1688 Scraper](https://apify.com/crawloop/1688-scraper); product IDs are not interchangeable
- **AliExpress retail search** — use [AliExpress Search Scraper](https://apify.com/crawloop/aliexpress-search-scraper)
- **Supplier emails or phones** — Alibaba does not publish them on product pages
- **Sending RFQs or chat messages** — read-only extraction, no account actions
- **Buyer review bodies** — aggregate rating/count only; individual reviews are out of scope

### Key features

- **Alibaba API alternative** — structured dataset instead of manual PDP clicking
- **URL or numeric ID** — slug in the URL is ignored; `productId` is the key
- **FOB ladder** — every quantity band with display price and USD
- **MOQ + unit** — pieces, cartons, kg, and other published units
- **SKU matrix** — option groups plus per-SKU stock when shown
- **Supplier trust** — Gold years, assessed / verified manufacturer, Trade Assurance, on-time rate
- **Specs & certs** — attribute table plus CE / RoHS-style certificates
- **Ship-to country** — drives displayed currency (US → USD, DE → EUR, GB → GBP)
- **Deduped input** — same product id is fetched once per run
- **Streaming results** — rows appear while the run is in progress
- **Lightweight** — `curl_cffi` Chrome TLS, 256 MB default, optional proxy

### Use cases

| Use case | What you get |
| :--- | :--- |
| **Landed-cost model** | Quantity ladder + MOQ + lead-time bands |
| **Factory vs trader filter** | `businessType`, `isManufacturer`, Gold years |
| **Shortlist vendors** | Trade Assurance, assessed/verified flags, rating, response time |
| **Catalog enrichment** | Specs, images, SKU options, certifications |
| **Price tracking** | Re-run the same product IDs and diff `ladderPrices` |
| **EU / DACH counterpart search** | Chain to Europages / WLW after you know the category |

### Input parameters

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `productUrls` | Array | example URL | Alibaba product detail URLs. |
| `productIds` | Array | `[]` | Numeric product ids (resolved on www). |
| `shipToCountry` | String | `US` | ISO alpha-2 ship-to (currency / logistics). |
| `maxItems` | Integer | `50` | Max dataset rows. |
| `includeContacts` | Boolean | `false` | Include public contact name. |
| `requestDelaySecs` | Number | `0.4` | Delay between HTTP requests. |
| `proxyConfiguration` | Object | off | Optional Apify Proxy. |

#### Example — product URLs

```json
{
  "productUrls": [
    "https://www.alibaba.com/product-detail/product_1601175379813.html"
  ],
  "shipToCountry": "US",
  "maxItems": 20
}
```

#### Example — numeric IDs

```json
{
  "productIds": ["1601175379813"],
  "shipToCountry": "US"
}
```

### Output fields

One dataset row per product (or an `error` row if the page was blocked / invalid).

| Field | Description |
| :--- | :--- |
| `productId` | Stable numeric id |
| `title` / `url` | Listing title and canonical PDP URL |
| `ladderPrices` | `{ minQuantity, maxQuantity, price, priceUsd, priceFormatted }` |
| `priceMin` / `priceMax` / `currency` | Ladder endpoints in display currency |
| `moq` / `moqUnit` | Minimum order quantity and unit |
| `leadTimes` | `{ minQuantity, maxQuantity, days }` |
| `variants` / `skuInventory` | Option groups and per-SKU stock |
| `specifications` / `certifications` | Specs and certificates |
| `companyName` / `companyId` / `businessType` | Supplier identity |
| `goldSupplier` / `goldYears` / `verifiedManufacturer` / `tradeAssurance` | Trust badges |
| `rating` / `reviewCount` / `onTimeDeliveryRate` | Performance |
| `images` / `imageUrl` | Gallery |
| `shipToCountry` / `scrapedAt` | Provenance |

#### Example row

```json
{
  "source": "alibaba",
  "recordType": "product",
  "productId": "1601175379813",
  "title": "Custom Neon Sign …",
  "url": "https://www.alibaba.com/product-detail/product_1601175379813.html",
  "priceFormatted": "$13.11-17.51",
  "currency": "USD",
  "moq": 1,
  "moqUnit": "piece",
  "ladderPrices": [
    { "minQuantity": 1, "maxQuantity": 49, "price": 17.51, "priceUsd": 19.9 }
  ],
  "companyName": "Example Electronics Co., Ltd.",
  "goldYears": 7,
  "verifiedManufacturer": true,
  "tradeAssurance": true
}
```

### Integration examples

#### Node.js

```javascript
import { ApifyClient } from "apify-client";

const client = new ApifyClient({ token: "YOUR_APIFY_TOKEN" });
const run = await client.actor("crawloop/alibaba-product-scraper").call({
  productIds: ["1601175379813"],
  shipToCountry: "US",
  maxItems: 10,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const item of items) {
  console.log(item.title, item.priceFormatted, item.companyName);
}
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("crawloop/alibaba-product-scraper").call(
    run_input={
        "productIds": ["1601175379813"],
        "shipToCountry": "US",
        "maxItems": 10,
    }
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item.get("title"), item.get("priceFormatted"), item.get("companyName"))
```

#### cURL

```bash
curl -X POST "https://api.apify.com/v2/acts/crawloop~alibaba-product-scraper/runs?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"productIds":["1601175379813"],"shipToCountry":"US","maxItems":10}'
```

### MCP and AI assistants

Use this Actor from AI tools via [Apify MCP](https://docs.apify.com/platform/integrations/mcp).
Connect your Apify account, then call this Actor by its Store ID / name.

Example prompts:

- "Run Alibaba Product Scraper for product id 1601175379813 with shipToCountry US and return the FOB ladder as JSON"
- "Scrape these Alibaba product URLs and summarize MOQ, Gold years, and whether each seller is a manufacturer"
- "Chain Alibaba Product Scraper then 1688 Scraper for China-domestic MOQ, or AliExpress Search Scraper for retail comps"

### Suite next step

After you shortlist Alibaba factories, pull China-domestic MOQ with [1688 Scraper](https://apify.com/crawloop/1688-scraper), or retail sold-count comps with [AliExpress Search Scraper](https://apify.com/crawloop/aliexpress-search-scraper). Map EU / DACH manufacturers with [Europages Scraper](https://apify.com/crawloop/europages-scraper) or [WLW Scraper](https://apify.com/crawloop/wlw-scraper); for commercial-register identity, run [North Data Scraper](https://apify.com/crawloop/northdata-scraper).

### FAQ

**Is this an Alibaba API?**\
There is no public Alibaba product API for FOB ladders. This Actor is an **Alibaba API alternative**: you pass URLs or IDs and get a structured Apify dataset (JSON / CSV / Excel).

**Do I need an Alibaba account?**\
No. The Actor reads publicly visible product pages.

**Does keyword search work?**\
Not in this Actor. Pass product URLs or numeric IDs from search, a spreadsheet, or another tool.

**Is this the same as an AliExpress scraper?**\
No. Alibaba.com is B2B wholesale (FOB, MOQ, Gold suppliers). AliExpress is B2C retail. Product IDs are not interchangeable.

**Why is the currency not USD?**\
Displayed prices follow `shipToCountry`. Use `US` for USD, `DE` for EUR, `GB` for GBP. USD equivalents stay in `priceUsd` / `priceMinUsd` on each ladder row.

**Can I scrape 1688.com with this?**\
No. 1688 is a different wholesale site. Product IDs are not interchangeable.

**Will I get supplier email or WhatsApp?**\
No. Those fields are not on public product pages. Contact name is opt-in only.

**What if a page comes back empty?**\
Alibaba sometimes returns a challenge or an empty shell. Enable Apify Proxy (residential if needed) and retry; failed URLs are stored as `recordType: error`.

**Can I scrape Alibaba with Python or Node.js?**\
Yes. Use the Apify API clients (examples above) or call the Actor from MCP-compatible AI tools.

**Can I run this from ChatGPT, Claude, or another MCP client?**\
Yes. Connect [Apify MCP](https://docs.apify.com/platform/integrations/mcp) and call `crawloop/alibaba-product-scraper` with product URLs or IDs.

### Related Actors

| Actor | Use for |
| :--- | :--- |
| **Alibaba Product Scraper** ◄── you are here | Alibaba.com product detail: FOB ladders, MOQ, SKU, Gold / Verified |
| [1688 Scraper](https://apify.com/crawloop/1688-scraper) | China-domestic wholesale offers, MOQ, factory flags |
| [AliExpress Search Scraper](https://apify.com/crawloop/aliexpress-search-scraper) | AliExpress retail search cards |
| [Europages Scraper](https://apify.com/crawloop/europages-scraper) | Europe-wide B2B directory after you shortlist a category |
| [WLW Scraper](https://apify.com/crawloop/wlw-scraper) | DACH (DE / AT / CH) suppliers from Wer liefert was |
| [North Data Scraper](https://apify.com/crawloop/northdata-scraper) | EU commercial-register identity, officers, published financials |

# Actor input Schema

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

Alibaba.com product detail URLs (…/product-detail/…\_{id}.html). The numeric id after the last underscore is enough.

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

Numeric Alibaba product ids (e.g. 1601175379813). Resolved to www.alibaba.com product URLs.

## `shipToCountry` (type: `string`):

ISO 3166-1 alpha-2 country that drives displayed currency and logistics (US → USD, DE → EUR, GB → GBP).

## `maxItems` (type: `integer`):

Stop after this many dataset rows (including error rows).

## `includeContacts` (type: `boolean`):

Off by default. Include the publicly shown storefront contact name only when you have a lawful basis. Phone and email are not published on these pages.

## `requestDelaySecs` (type: `number`):

Pause between product page requests on the sticky session.

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

Optional Apify Proxy. Direct HTTP often works for a few PDPs; switch to RESIDENTIAL if pages come back empty or challenged.

## Actor input object example

```json
{
  "productUrls": [
    "https://www.alibaba.com/product-detail/product_1601175379813.html"
  ],
  "shipToCountry": "US",
  "maxItems": 50,
  "includeContacts": false,
  "requestDelaySecs": 0.4
}
```

# Actor output Schema

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

Default dataset items.

# 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 = {
    "productUrls": [
        "https://www.alibaba.com/product-detail/product_1601175379813.html"
    ],
    "shipToCountry": "US"
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawloop/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 = {
    "productUrls": ["https://www.alibaba.com/product-detail/product_1601175379813.html"],
    "shipToCountry": "US",
}

# Run the Actor and wait for it to finish
run = client.actor("crawloop/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 '{
  "productUrls": [
    "https://www.alibaba.com/product-detail/product_1601175379813.html"
  ],
  "shipToCountry": "US"
}' |
apify call crawloop/alibaba-product-scraper --silent --output-dataset

```

## MCP server setup

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