# AliExpress Scraper (`logical_scrapers/aliexpress-scraper`) Actor

AliExpress scraper for search, category and product pages. Scrape AliExpress products with price, discount, rating, sales count, variants with per-SKU price and stock, shipping and store. AliExpress product scraper returning AliExpress product data in your currency and ship-to country.

- **URL**: https://apify.com/logical_scrapers/aliexpress-scraper.md
- **Developed by:** [Goldmine](https://apify.com/logical_scrapers) (community)
- **Categories:** E-commerce, Business, Automation
- **Security:** Limited permissions
- **Stats:** 568 total users, 52 monthly users, 99.7% runs succeeded, 7 bookmarks
- **User rating**: 4.98 out of 5 stars

## Pricing

from $2.99 / 1,000 results

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 Product Scraper — e-commerce data extraction from AliExpress search, category and product pages

![AliExpress Product Scraper](https://i.ibb.co/Tqh9k7Yr/Screenshot-2026-03-23-at-9-13-12-PM.png)

This **AliExpress scraper** turns [AliExpress](https://www.aliexpress.com/) search, category and
product pages into a clean, structured dataset. Paste the URL of a search like "smartphone" or a
category like Women's Clothing and it returns the products listed there: product ID, title, price,
original price, discount, rating, sales count, thumbnail and product URL. Paste a product URL, or
switch on product details, and each product also comes with its variants (per-SKU price, stock and
image), shipping options, store, review count, image gallery and specifications.

Teams use this AliExpress product data to research products before sourcing them, track prices in
a niche over time, and build product catalogues for dropshipping stores. No account, cookies or API
key are needed. Results export as JSON, CSV or Excel.

***

### 🚀 Key Features

- 🔎 **Search, category and product pages** — paste any mix of `/w/wholesale-…`, `/category/…` and `/item/…` URLs, or product IDs
- 🧾 **Listing data** — product ID, title, price, original price, discount, rating, sales count, thumbnail and product URL
- 🧩 **Full product details** — variants with per-SKU price, stock and image; shipping options with cost and delivery days; store; review count; image gallery; specifications; category path
- 🌍 **Localization** — choose the currency, ship-to country and language of the results
- 🎯 **Filters** — keep only products sold at least N times or rated at least N stars
- 📑 **Per-URL limits** — `maxItems` applies **per start URL**, so every search gets its own budget
- 📄 **Automatic pagination** — fetches result pages until your `maxItems` is met
- 📤 **Multiple export formats** — JSON, CSV, Excel, XML via the Apify dataset

***

### 👥 Who Is This Actor For?

- **Dropshippers and store owners** — pull products with their variants, stock and shipping cost, ready to import
- **Product researchers** — find proven sellers in a niche from sales counts and ratings
- **Pricing analysts** — track price and discount movement across a search, a category or a list of products
- **E-commerce agencies** — build product feeds for clients without copying them by hand
- 🤖 **AI builders** — feed live AliExpress product data into an agent, RAG pipeline or price-comparison tool

### 💡 Common Use Cases

- Scrape AliExpress products for a keyword, keep those sold 1,000+ times and rated 4.5+, and sort by price
- Monitor the price and stock of a list of products on a daily schedule
- Export a whole AliExpress category, with variants and shipping cost, to CSV for a store import
- Compare prices for the same search in USD, EUR and GBP
- Check shipping cost and delivery time of products to a specific country

***

### 📥 Input

| Field | Type | Description | Default |
| ----- | ---- | ----------- | ------- |
| `startUrls` | Array | AliExpress search URLs (`/w/wholesale-smartphone.html`), category URLs (`/category/100003109/women-clothing.html`) or product URLs (`/item/1005006789883056.html`) | — |
| `productIds` | Array | Numeric AliExpress product IDs, as an alternative to product URLs | — |
| `maxItems` | Integer | Maximum number of products **per search or category URL**. Product URLs and IDs always return one product each. | `10` |
| `includeDetails` | Boolean | Add variants, shipping, store, review count, images and specifications to search and category results. One extra request per product, so runs take longer. Product URLs and IDs always include details. | `false` |
| `includeDescription` | Boolean | Also return the product description HTML for products with details | `false` |
| `minSold` | Integer | Keep only search and category results sold at least this many times | Unset |
| `minRating` | Number | Keep only search and category results rated at least this many stars (0–5) | Unset |
| `currency` | String | Currency of all prices: USD, EUR, GBP, PLN, SEK, DKK, NOK, CHF, CAD, AUD, BRL, AED, SAR | `USD` |
| `shipToCountry` | String | Country that shipping options are quoted for | `US` |
| `language` | String | Language of titles and option names | `en` |
| `proxyConfiguration` | Object | Proxy settings. The default works; see the FAQ. | Apify Proxy |

Provide at least one start URL or product ID.

#### Example Input

```json
{
    "startUrls": [
        { "url": "https://www.aliexpress.com/w/wholesale-smartphone.html" },
        { "url": "https://www.aliexpress.com/item/1005006789883056.html" }
    ],
    "maxItems": 100,
    "includeDetails": false,
    "minSold": 100,
    "currency": "USD",
    "proxyConfiguration": {
        "useApifyProxy": true
    }
}
```

This input returns up to 100 smartphones sold at least 100 times, plus the full record of the one
product URL.

***

### 📤 Output

Each product is one item in the default dataset. Every item has the listing fields; products
with details (product URLs and IDs, or `includeDetails`) also have the detail fields.

#### Listing output fields

| Field | Type | Description |
| ----- | ---- | ----------- |
| `id` | String | AliExpress product ID |
| `url` | String | Link to the product page |
| `type` | String | Listing type as AliExpress reports it, e.g. `natural` for an organic result; `null` for a product requested by URL or ID |
| `title` | String | Product title |
| `price` | Number | Current sale price (lowest price when the product has several variants) |
| `currency` | String | Price currency |
| `trade` | String | Sales count as AliExpress shows it, e.g. `1,000+ sold` |
| `thumbnail` | String | URL of the product's main image |
| `sourceUrl` | String | The start URL this product was found on |
| `originalPrice` | Number | Price before discount |
| `discount` | Integer | Discount in percent |
| `rating` | Number | Average star rating |
| `soldCount` | Integer | Sales count as a number |

#### Detail output fields

| Field | Type | Description |
| ----- | ---- | ----------- |
| `reviews` | Integer | Number of reviews |
| `images` | Array | Image gallery URLs |
| `variants` | Array | One entry per SKU: `skuId`, `options` (e.g. `{"Color": "Red"}`), `price`, `originalPrice`, `currency`, `stock`, `available`, `image` |
| `shipping` | Object | Lowest-cost shipping option to `shipToCountry` (free options first): `provider`, `price`, `currency`, `free`, `deliveryDaysMin`, `deliveryDaysMax`, `shipFrom`, `shipTo`, `shipToCode`, `tracking` |
| `shippingOptions` | Array | Every shipping option, same shape as `shipping` |
| `store` | Object | Seller store: `id`, `name`, `url`, `country`, `openedYears` |
| `specs` | Array | Specifications as `{name, value}` pairs |
| `categoryId` | String | AliExpress category ID |
| `categoryPathIds` | Array | Category IDs from the top level down |
| `description` | String | Description HTML, with `includeDescription` |

#### Example Output

A real search result:

```json
{
    "id": "3256807814987349",
    "url": "https://www.aliexpress.com/item/3256807814987349.html",
    "type": "natural",
    "title": "SOYES XS18 Pro Mini Smart Phone Android 8.1 Face ID 2GB RAM 16GB ROM Facial Recognition 3.0\" Screen Dual SIM 3G Small Phone",
    "price": 18.31,
    "currency": "USD",
    "trade": "1,000+ sold",
    "thumbnail": "https://ae-pic-a1.aliexpress-media.com/kf/Sd015f96e637a4a99b91c25d5366446019.jpg",
    "sourceUrl": "https://www.aliexpress.com/w/wholesale-smartphone.html",
    "originalPrice": 71.28,
    "discount": 74,
    "rating": 4.9,
    "soldCount": 1000
}
```

A real product URL result (variants, images and specifications shortened):

```json
{
    "id": "1005006789883056",
    "url": "https://www.aliexpress.com/item/1005006789883056.html",
    "type": null,
    "title": "New Fashion Colorful Cartoon Unicorn Student and Children's Watch Quartz Watch Electronic Watch",
    "price": 1.09,
    "currency": "USD",
    "trade": null,
    "thumbnail": "https://ae-pic-a1.aliexpress-media.com/kf/S2071572687b243f8acfd1642616c8f829.jpg?has_lang=1&ver=2",
    "sourceUrl": "https://www.aliexpress.com/item/1005006789883056.html",
    "originalPrice": 8.65,
    "discount": 87,
    "rating": 4.8,
    "soldCount": 10000,
    "reviews": 1270,
    "images": [
        "https://ae-pic-a1.aliexpress-media.com/kf/S2071572687b243f8acfd1642616c8f829.jpg?has_lang=1&ver=2"
    ],
    "variants": [
        {
            "skuId": "12000047828219796",
            "options": { "Color": "RoseRed(3 Watches)" },
            "price": 1.09,
            "originalPrice": 8.65,
            "currency": "USD",
            "stock": 57,
            "available": true,
            "image": "https://ae-pic-a1.aliexpress-media.com/kf/S9ed208ee571d48e08db7e744374f1feaa.jpg"
        }
    ],
    "shipping": {
        "provider": "AliExpress Selection Standard Shipping",
        "price": 1.99,
        "currency": "USD",
        "free": false,
        "deliveryDaysMin": 6,
        "deliveryDaysMax": 12,
        "shipFrom": "China",
        "shipTo": "United States",
        "shipToCode": "US",
        "tracking": "visible"
    },
    "shippingOptions": [],
    "store": {
        "id": "1102994505",
        "name": "Dobroa Fashion Store",
        "url": "https://www.aliexpress.com/store/1102994505",
        "country": "China",
        "openedYears": 3
    },
    "specs": [
        { "name": "Display Type", "value": "Arabic Numeral Markers" },
        { "name": "Case Shape", "value": "Round" }
    ],
    "categoryId": "200362144",
    "categoryPathIds": ["1511", "200362144"],
    "description": null
}
```

***

### 💰 Pricing

This Actor is **pay per event** (you pay per result): $0.00399 per product on the Apify Free plan,
so **1,000 products cost $3.99**, down to $0.00299 per product ($2.99 per 1,000) on the Gold plan and
above, plus Apify platform usage. The price per product is the same with or without details. A free
Apify account is enough to try it.

***

### ❓ FAQ

#### What is the AliExpress Product Scraper?

It is an AliExpress scraper that takes search, category and product URLs and returns AliExpress
product data — title, price, discount, rating, sales count and image, plus variants, shipping and
store when you want them — ready to export or feed into another tool.

#### Do I need an AliExpress account, cookies or an API key?

No. It reads only what AliExpress shows to any visitor, so there is nothing to log into.

#### How do I scrape AliExpress products for a keyword?

Search for the keyword on AliExpress, copy the URL of the results page (it looks like
`https://www.aliexpress.com/w/wholesale-smartphone.html`) and paste it into `startUrls`. Filters
and sorting you apply on AliExpress before copying the URL are kept.

#### Can I scrape a single AliExpress product page?

Yes. Paste product URLs (`https://www.aliexpress.com/item/1005006789883056.html`) into
`startUrls`, or put the numeric IDs in `productIds`. Each returns the full product with variants,
shipping, store and specifications.

#### How many products can I get per run?

`maxItems` applies **per search or category URL**, not across the whole run, so five URLs with
`maxItems: 100` return up to 500 products. AliExpress shows up to 60 products per results page and
up to 100 pages per search. Product URLs and IDs return one product each.

#### Should I switch on product details?

Switch on `includeDetails` when you need variants, stock, shipping cost or the store for search and
category results. It takes one extra request per product, so a run of 100 products takes about a
minute and a half instead of seconds. The price per product does not change.

#### Why do some results come back without details?

AliExpress sometimes refuses product details to an IP address. The Actor retries each product from
several addresses; a product it still cannot load keeps its listing fields and has its detail
fields empty. Running again later usually loads it.

#### Do I need a proxy?

No setup is needed: leave the default Apify Proxy setting. Product details are loaded through
residential proxies in your ship-to country automatically. If you choose a proxy group yourself,
it is used as you set it.

#### Can I get prices in my currency and shipping to my country?

Yes. Set `currency`, `shipToCountry` and `language`. Prices come back in the chosen currency and
shipping options are quoted for the chosen country. A product that is not sold to that country is
reported in the run log and left out.

#### Is there an AliExpress API I could use instead?

AliExpress offers APIs to approved affiliates and sellers through its open platform. They require an approved developer account and cover the affiliate catalogue, not any search or category page. This AliExpress scraper takes any search, category or product URL and returns product data, and with `includeDetails` the variants, shipping options and store, with no developer account.

#### Can I schedule it or integrate it with my app?

Yes. Every Apify Actor has a REST API, webhooks, and integrations with Zapier, Make, Google Sheets
and Slack, and can be called from an AI agent via the Apify MCP server.

#### Is it legal to scrape AliExpress?

This Actor accesses only publicly available pages. You are responsible for making sure your use
complies with AliExpress's terms of service and the laws in your jurisdiction.

#### What if the site changes and the Actor breaks?

Open an issue on the Actor's **Issues** tab. The Actor is tested against live AliExpress pages and
fixed when the site changes.

***

### 🧩 Part of the E-commerce Scrapers suite

Goldmine's E-commerce Scrapers cover product, search and catalogue data across online retail.
Also try:

- [Amazon Product Scraper](https://apify.com/logical_scrapers/amazon-product-scraper) — full product detail from Amazon product URLs, including specs, variants and images
- [Amazon Search Scraper](https://apify.com/logical_scrapers/amazon-search-scraper) — organic Amazon search results by keyword, with price, rating and badges
- [SSENSE Scraper](https://apify.com/logical_scrapers/ssense-scraper) — designer fashion product data from SSENSE
- [FWRD Scraper](https://apify.com/logical_scrapers/fwrd-scraper) — luxury fashion product data from FWRD
- [Revolve Scraper](https://apify.com/logical_scrapers/revolve-scraper) — fashion product data from Revolve

See every Goldmine Actor at [apify.com/logical_scrapers](https://apify.com/logical_scrapers).

***

### 📷 Image Credit

Image credit: [aliexpress.com](https://www.aliexpress.com/)

***

### 📬 Contact & Support

- **Issues & feature requests**: use the Issues tab on this Actor's page, which is the most direct route to a fix.
- **Email**: `coredev.dan@gmail.com`
- **If this Actor saved you time, please leave a ⭐ rating on the Apify Store.** It helps other
  users find it and keeps it maintained.

# Actor input Schema

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

AliExpress search, category or product URLs. Search URLs (e.g. /w/wholesale-smartphone.html) and category URLs (e.g. /category/100003109/women-clothing.html) return the products listed on them; product URLs (e.g. /item/1005006789883056.html) return that product with its variants, shipping and store.

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

Numeric AliExpress product IDs (e.g. 1005006789883056) to scrape, as an alternative to pasting product URLs. Each returns the full product record.

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

Maximum number of product items to scrape per URL

## `includeDetails` (type: `boolean`):

Add variants (per-SKU price, stock and image), shipping options, store, review count, image gallery and specifications to every search and category result. Takes one extra request per product, so runs are slower. Product URLs and IDs always include details.

## `includeDescription` (type: `boolean`):

Also return each product's full HTML description. Applies to products with details (product URLs and IDs, or Include product details). Adds a large field to each item.

## `minSold` (type: `integer`):

Keep only search and category results sold at least this many times. Leave empty for no limit. Results that show no sales count are left out when this is set.

## `minRating` (type: `number`):

Keep only search and category results rated at least this many stars (0–5, e.g. 4.5). Leave empty for no limit. Unrated results are left out when this is set.

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

Currency for all prices.

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

Country that shipping options are quoted for. For shipping outside the US, also set the proxy country to this country.

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

Language for product titles and option names. Option values come from the seller and may stay in their original language.

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

Select proxies to be used by the scraper

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.aliexpress.com/w/wholesale-smartphone.html"
    },
    {
      "url": "https://www.aliexpress.com/category/100003109/women-clothing.html"
    }
  ],
  "maxItems": 10,
  "includeDetails": false,
  "includeDescription": false,
  "currency": "USD",
  "shipToCountry": "US",
  "language": "en",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (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 = {
    "startUrls": [
        {
            "url": "https://www.aliexpress.com/w/wholesale-smartphone.html"
        },
        {
            "url": "https://www.aliexpress.com/category/100003109/women-clothing.html"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("logical_scrapers/aliexpress-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 = { "startUrls": [
        { "url": "https://www.aliexpress.com/w/wholesale-smartphone.html" },
        { "url": "https://www.aliexpress.com/category/100003109/women-clothing.html" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("logical_scrapers/aliexpress-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 '{
  "startUrls": [
    {
      "url": "https://www.aliexpress.com/w/wholesale-smartphone.html"
    },
    {
      "url": "https://www.aliexpress.com/category/100003109/women-clothing.html"
    }
  ]
}' |
apify call logical_scrapers/aliexpress-scraper --silent --output-dataset

```

## MCP server setup

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