# AliExpress Scraper — Products, Prices, Variants & Sales Signals (`webdatalabs/aliexpress-product-intelligence`) Actor

Scrape AliExpress product data at scale — price, discount, ratings, SKU-level variants, seller reliability — plus price history and review-velocity tracking that commodity scrapers don't offer. Export to CSV, JSON, or Excel. No code.

- **URL**: https://apify.com/webdatalabs/aliexpress-product-intelligence.md
- **Developed by:** [WebDataLabs](https://apify.com/webdatalabs) (community)
- **Categories:** E-commerce, Business, Developer tools
- **Features:** Limited permissions
- **Stats:** 74 total users, 14 monthly users, 92.5% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $1.00 / 1,000 product listeds

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

## AliExpress Scraper — Products, Prices, Variants & Sales Signals

Scrape AliExpress product data at scale — price, discount, ratings, SKU-level variants, seller reliability — plus **price history** and **review-velocity** tracking that commodity scrapers don't offer. Export to CSV, JSON, or Excel. No code.

### What you get

This **AliExpress scraper** turns a keyword or a product URL into clean, structured data you can act on: find winning dropshipping products, track supplier prices over time, and spot products that are gaining momentum — not just a raw field dump. Every product is one flat record, ready for Google Sheets, n8n, Zapier, or your repricing tool.

Two things set it apart from the 30+ commodity AliExpress fetchers:

- **It doesn't break on every AliExpress deploy** — it reads the same data source the site itself uses.
- **It tracks change over time** — price history, review velocity (new reviews/day), and a rising-product flag across scheduled runs.

### What data can it extract?

High-value fields (the full field list is in the output/dataset schema tab):

| Field | Description |
|---|---|
| `title`, `url`, `image`, `images[]` | Product name, link, and gallery |
| `price`, `originalPrice`, `discountPct`, `currency` | Current vs list price and % off |
| `rating`, `reviewCount` | Star rating and **exact** review count |
| `soldText`, `soldExact` | Units sold as AliExpress shows it (e.g. "10,000+ sold") and the **exact** count behind it (search results) |
| `variants[]` | **SKU-level** `attributes` / `price` / `originalPrice` / `available` (in stock) |
| `shopName`, `sellerPositiveRate`, `sellerTotalNum` | Seller reliability signals |
| `shippingText` | Shipping / delivery summary |
| `priceHistory[]` | Time-series of price snapshots across runs |
| `reviewVelocity` | New reviews per day — a precise sales-momentum proxy |
| `soldBucketMovement`, `risingFlag` | Demand-trend signals |

### Example output

A real record from a keyword search with **Fetch full product details** on (shortened: one of its three variants shown, tracking fields omitted):

```json
{
  "productId": "3256808684058149",
  "title": "Baseus EP10 Pro ANC Earbuds Wireless Bluetooth 6.0 Earphones 50dB Realtime Adaptive Headphones 6 Mic Hi-Res LDAC IP55  Ear Buds",
  "url": "https://www.aliexpress.com/item/3256808684058149.html",
  "price": 22.1,
  "originalPrice": 42.69,
  "discountPct": 48,
  "currency": "USD",
  "rating": 4.8,
  "reviewCount": 5494,
  "soldText": "10,000+ sold",
  "soldExact": 29736,
  "shopName": "BASEUS Co.,Ltd. Store",
  "sellerPositiveRate": "97.4%",
  "sellerTotalNum": 578395,
  "shippingText": "Free shipping",
  "variants": [
    { "skuId": "12000047613146164", "attributes": "Color:White", "price": 22.1, "originalPrice": 42.69, "available": true }
  ],
  "scrapedAt": "2026-10-13T21:13:22.135Z"
}
```

### How to use it (quick start)

1. Pick a **Mode** — **Search** (keyword → many products) or **Product** (specific URLs/IDs → full detail).
2. Enter your **keywords** or **product URLs**.
3. Set **Max products**, run, and export.

Search a keyword and get the full detail for each hit:

```json
{ "mode": "search", "searchQueries": ["wireless earbuds"], "maxProducts": 200, "enrichDetails": true }
```

Scrape specific products by URL or bare ID:

```json
{ "mode": "product", "productUrls": ["https://www.aliexpress.com/item/1005007221058021.html", "3256809551801942"] }
```

Build price & review-velocity history — enable tracking and schedule the actor to run daily:

```json
{ "mode": "search", "searchQueries": ["phone case"], "enrichDetails": true, "trackHistory": true }
```

#### Input options

- **Fetch full product details** — adds `variants`, exact `reviewCount`, and seller metrics to search results (Product mode always returns full detail).
- **Track price & review history** — persists a snapshot each run so scheduled runs build `priceHistory`, `reviewVelocity`, and `risingFlag`.
- **Max products** — global cap across all inputs; keep it low for a cheap trial run.

### How much does it cost to scrape AliExpress?

This actor is **pay-per-result** — you only pay for the products you get back, at the per-result price shown above on this page. Search-result records, full-detail records, and history-tracked records are priced by tier so you pay for exactly the depth you use. Products that return no data are never charged.

### Use cases

- **Dropshippers** — find winners: sort Search by orders, then filter `risingFlag = true` and `discountPct >= 50` to surface products gaining momentum at a healthy margin.
- **Repricing & price-tracking tools** — use it as the AliExpress **price-history** layer; schedule daily runs and read `priceHistory[]` to detect supplier price hikes.
- **Product researchers** — one keyword fans out to hundreds of products with exact `soldExact` counts and `reviewVelocity`, so you can rank by real demand, not just star rating.
- **Market & margin analysts** — pull `variants[]` (SKU-level pricing) and `sellerPositiveRate` to model margins and vet supplier reliability at scale.

### FAQ

#### Is it legal to scrape AliExpress?

The actor collects publicly visible product data. You are responsible for complying with AliExpress's Terms of Service and applicable laws (e.g. GDPR) in your jurisdiction. It does not collect personal data or require a login.

#### Why does it need residential proxies?

AliExpress blocks datacenter and bare IPs with its x5sec anti-bot. The actor warms a session and rotates to a fresh residential IP on any block, which is what keeps runs reliable. Apify residential proxy is enabled by default.

#### Can I schedule it for price tracking?

Yes. Schedule the actor and enable **Track price & review history**; each run appends a price snapshot and recomputes review velocity, so trends accumulate from the second run onward.

#### Does it return the exact number of units sold?

Yes, for search results. `soldText` is what AliExpress displays, which is rounded for larger counts ("10,000+ sold"). `soldExact` is the exact count AliExpress includes in the search result itself, for example 13,402 behind "10,000+ sold". It is empty when AliExpress leaves it out (under 1 result in 20 in our tests) and in Product mode, because the product page only shows the rounded text. For sales momentum over time, combine it with `reviewVelocity` and `priceHistory`.

#### Which currency will prices be in?

Region and currency are best-effort: AliExpress prices many products in USD regardless of the requested currency, so the `currency` field reflects what AliExpress actually served (most often USD).

#### Why do some search results have a price but no original price or discount?

On US search pages AliExpress mixes in new-shopper Welcome Deal cards ("FREE with any purchase"). Those cards show no price block, so the actor takes the sale price AliExpress attaches to the card's data, which is the welcome-deal price a new, logged-out shopper is offered (for example 1.09 USD), and leaves `originalPrice` and `discountPct` empty. Turn on **Fetch full product details** to get the product-page price, original price and discount for every result.

#### Does it support scraping a whole shop's catalogue?

Shop-catalogue mode is on the roadmap. Today the actor covers keyword **Search** (the highest-volume use case) and **Product** URL/ID lookups.

### Related actors

- eBay Scraper Pro
- Google Trends (Reliable)
- Reddit Scraper Pro
- Facebook Ad Intelligence Pro
- Google Ads Transparency Intel

### Support

Found a bug or need a field added? Open an issue on the **Issues** tab of this actor, or reach the WebDataLabs team through the support channel on our Apify profile. We actively maintain this actor as AliExpress changes.

### Leave a review

Is this actor saving you time? A quick review on the Store helps other people find it — and tells us which fields to add next. **[Rate this actor →](https://apify.com/webdatalabs/aliexpress-product-intelligence)**

# Actor input Schema

## `mode` (type: `string`):

What to scrape: search keywords, a shop's whole catalogue, or specific product URLs.

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

Keywords to search, e.g. "wireless earbuds". Each keyword returns many products. Used when Mode = Search.

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

Full product URLs or bare product IDs (e.g. 1005007221058021). Used when Mode = Product.

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

Total products to return across all inputs. Keep low for a cheap trial run.

## `enrichDetails` (type: `boolean`):

For each product, also fetch variants (SKU-level price/stock), exact review count, seller ratings and shipping. Slower and billed at the detailed rate.

## `trackHistory` (type: `boolean`):

Persist a snapshot each run so scheduled runs build price history, review velocity and a rising-product flag. Requires scheduling the actor.

## `sortBy` (type: `string`):

Ordering for Search/Shop results.

## `region` (type: `string`):

Preferred ship-to region (best-effort — AliExpress may still return USD/seller pricing).

## `currency` (type: `string`):

Preferred price currency (best-effort — many AliExpress products are priced in USD regardless).

## `language` (type: `string`):

Locale for titles/text, e.g. en_US.

## `useApifyProxy` (type: `boolean`):

Required. AliExpress blocks datacenter/bare IPs; residential proxies rotate to avoid x5sec blocks.

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

Defaults to Apify residential. Override the group/country here if needed.

## `maxRetries` (type: `integer`):

Fresh-IP retries when a request is x5sec-blocked or throttled.

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

Verbose logs for blocks, rotations and enrichment failures.

## Actor input object example

```json
{
  "mode": "search",
  "searchQueries": [
    "wireless earbuds"
  ],
  "maxProducts": 100,
  "enrichDetails": false,
  "trackHistory": false,
  "sortBy": "relevance",
  "region": "US",
  "currency": "USD",
  "language": "en_US",
  "useApifyProxy": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "maxRetries": 8,
  "debug": false
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `trending` (type: `string`):

No description

## `full_data` (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": [
        "wireless earbuds"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("webdatalabs/aliexpress-product-intelligence").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": ["wireless earbuds"] }

# Run the Actor and wait for it to finish
run = client.actor("webdatalabs/aliexpress-product-intelligence").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": [
    "wireless earbuds"
  ]
}' |
apify call webdatalabs/aliexpress-product-intelligence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,webdatalabs/aliexpress-product-intelligence"
        }
    }
}
```

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/DBsv5gKurUUNdrduo/builds/mJyGkz57C8bacFQSK/openapi.json
