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

Scrapes AliExpress search results, categories and product links: prices, discounts, ratings, sold counts, store, shipping and images, with optional variants, specifications, descriptions and reviews.

- **URL**: https://apify.com/mina_safwat/aliexpress-scraper.md
- **Developed by:** [Mina](https://apify.com/mina_safwat) (community)
- **Categories:** E-commerce, Marketing, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 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

### What does AliExpress Scraper do?

**AliExpress Scraper** turns [AliExpress](https://www.aliexpress.com) searches, category pages and product links into clean rows: **price, list price, discount, rating, review count, sold count, store, shipping, delivery dates, images and badges** such as Choice. Switch on **product details** to add every variant (SKU) with its own price and stock, the specifications table, the seller's description and the store's scores, and switch on **reviews** to add buyer reviews with stars, text, date, country, variant and photos.

Type a few search words or paste links, press **Start**, and download the results as JSON, CSV or Excel. Running on Apify gives you API access, scheduling, integrations (Make, Zapier, Google Sheets, webhooks), proxy rotation and monitoring without running any servers.

### Why use AliExpress Scraper?

- **Product research and dropshipping**: find best sellers by sold count, compare prices and margins, spot Choice and SuperDeals items.
- **Price monitoring**: schedule a run and track price and discount changes for your products or a competitor's store items.
- **Supplier vetting**: check store positive-feedback rates, store age, review counts and what buyers actually say.
- **Market analysis**: pull whole categories with ranks, ads flagged, ratings and sales to size a niche.
- **Localised data**: prices, shipping costs and delivery dates for the country you ship to, in your currency and language.

### How to scrape AliExpress

1. Open the Actor and go to the **Input** tab.
2. Type search words such as `wireless earbuds`, paste AliExpress links, or both.
3. Choose how many products you want per search, the sort order, and the country, currency and language.
4. Optionally switch on **Add product details** and **Add reviews**.
5. Press **Start**. Rows appear in the **Output** tab as they are saved; download them in JSON, CSV, Excel or HTML, or fetch them through the API.

### Input

| Field | What it does | Default |
|---|---|---|
| `searchQueries` | Search words, one search per line. | `[]` (form prefill: `wireless earbuds`) |
| `startUrls` | Product links (`/item/….html` on aliexpress.com, aliexpress.us, aliexpress.ru and country subdomains, plus a.aliexpress.com share links), search links (`/w/wholesale-…`) or category links (`/category/…`). Filters you chose on the site are kept. | `[]` |
| `maxProducts` | Products per search or search/category link (AliExpress shows at most 60 pages of 60). | `100` |
| `sort` | `default` (best match), `orders`, `price_asc` or `price_desc`, for search words. | `default` |
| `shipToCountry` | Two-letter country code; prices, shipping and availability follow it. | `US` |
| `currency` | Three-letter currency code. | `USD` |
| `language` | Language of titles and details (`en`, `es`, `fr`, `de`, `it`, `pt`, `nl`, `pl`, `tr`, `ru`, `ja`, `ko`, `ar`, `he`, `th`, `vi`, `id`). | `en` |
| `includeDetails` | Opens each product's page for the store, shipping, review count, variants, specifications, description and store scores. | `false` |
| `includeReviews` | Adds reviews to each product. | `false` |
| `maxReviewsPerProduct` | Reviews per product when reviews are on. | `20` |

Fill `searchQueries`, `startUrls`, or both. Example:

```json
{
    "searchQueries": ["wireless earbuds"],
    "startUrls": ["https://www.aliexpress.com/item/1005008583283920.html"],
    "maxProducts": 50,
    "sort": "orders",
    "shipToCountry": "GB",
    "currency": "GBP",
    "includeDetails": true,
    "includeReviews": true,
    "maxReviewsPerProduct": 10
}
```

### Output

One row per product. A search row without details (from a real run):

```json
{
    "id": "1005012594430190",
    "url": "https://www.aliexpress.com/item/1005012594430190.html",
    "title": "HTC NE79 TWS Bluetooth 6.0 Earbuds AI Translation 135 Languages ENC Noise Cancelling HiFi Stereo Headphones with LED Display",
    "price": 7.39,
    "originalPrice": 17.31,
    "currency": "USD",
    "discountPercent": 57,
    "rating": 4.9,
    "reviewCount": null,
    "soldCount": 17595,
    "storeName": null,
    "storeId": null,
    "storeUrl": null,
    "shippingText": null,
    "deliveryText": "Fastest delivery in 6 days",
    "shipFrom": null,
    "imageUrl": "https://ae-pic-a1.aliexpress-media.com/kf/Sff7e4be36c804173b8bf2ad0f4a81b0bA.png",
    "images": ["https://ae-pic-a1.aliexpress-media.com/kf/Sff7e4be36c804173b8bf2ad0f4a81b0bA.png"],
    "badges": ["Choice"],
    "isAd": false,
    "position": 2,
    "input": "wireless earbuds",
    "scrapedAt": "2026-10-24T09:40:18.560355+00:00"
}
```

The same kind of row with **details and reviews** switched on (shortened):

```json
{
    "id": "1005012173047370",
    "title": "360 Rotation Waterproof and Anti-fog Mobile Phone Case for Bathroom Shower Phone Holder ...",
    "price": 10.08,
    "originalPrice": 26.16,
    "currency": "USD",
    "discountPercent": 61,
    "rating": 4.9,
    "reviewCount": 256,
    "storeName": "Shop1105233629 Store",
    "storeId": "1105233629",
    "storeUrl": "https://www.aliexpress.com/store/1105233629",
    "shippingText": "Free shipping",
    "shipFrom": "United States",
    "skus": [{ "skuId": "12000057681507744", "attributes": { "Ships From": "United States", "Color": "Rotatable" }, "price": 10.08, "originalPrice": 26.16, "stock": 19, "available": true, "imageUrl": "https://ae-pic-a1.aliexpress-media.com/kf/Sc29539a0e22d4df3acba7a3be7df5aa0P.jpg" }],
    "specs": [{ "name": "Type", "value": "Wall Holder" }],
    "stock": 59,
    "shippingFee": 0,
    "deliveryDaysMin": 3,
    "deliveryDaysMax": 8,
    "categoryId": "5093004",
    "storeCountry": "China",
    "storeOpenedAt": "2025-11-24",
    "description": "Specification\nProduct Name: 360° Rotatable Waterproof Shower Phone Holder ...",
    "descriptionImages": ["https://ae-pic-a1.aliexpress-media.com/kf/S366e2c97ad9a4db0a47d00feeee67f76Z.jpg"],
    "reviews": [{ "id": "60095624496153195", "rating": 5, "text": "Best purchase i’ve made. great for music and watching shows in the bathroom ...", "textInEnglish": null, "date": "2026-02-19", "country": "US", "sku": "Color:White", "images": ["https://ae-pic-a1.aliexpress-media.com/kf/Ad9fc9d7be0084c868593b0e08443d0d4y.jpg"], "helpfulCount": 0, "additionalReview": null }]
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel. The Output tab has three views: Products, Details and Reviews (one line per review).

### Data fields

| Field | Type | Notes |
|---|---|---|
| `id`, `url` | string | Global product id and its aliexpress.com link (aliexpress.us ids are converted). |
| `title` | string | In the chosen language. |
| `price`, `originalPrice` | number | Lowest price and its list price, in `currency`, as a logged-out visitor sees them. These are often AliExpress's "Welcome deal" new-shopper prices, which can be lower than what a returning, logged-in buyer pays. `originalPrice` is null when there is no discount. |
| `discountPercent` | integer | |
| `rating` | number | Average stars, 0–5. Null when AliExpress shows none. |
| `reviewCount` | integer | From the product page: product links, or search rows with details on. |
| `soldCount` | integer | Exact on search rows; on product links it is AliExpress's rounded label (`4,000+` → 4000). |
| `storeName`, `storeId`, `storeUrl` | string | Product links, or search rows with details on. |
| `shippingText`, `deliveryText`, `shipFrom` | string | Shipping summary, delivery estimate and origin. Search rows carry AliExpress's own labels when it shows them; the product page's shipping summary is written in English (`Free shipping` / `Shipping: 1.99 USD`). |
| `imageUrl`, `images` | string, array | Main image and gallery. |
| `badges` | array | Choice, SuperDeals and AliExpress's selling-point labels (for example "Lowest price in 90 days"). |
| `isAd` | boolean | Sponsored search result. |
| `position` | integer | Rank on the search or category (null for product links). |
| `input` | string | The search words or link the row came from. |
| `skus` | array | Details only: `skuId`, `attributes`, `price`, `originalPrice`, `stock`, `available`, `imageUrl`. |
| `specs` | array | Details only: `{name, value}` pairs. |
| `stock`, `shippingFee`, `deliveryDaysMin`, `deliveryDaysMax`, `categoryId` | | Details only. |
| `storeRating`, `storeScores`, `storePositiveRate`, `storeCountry`, `storeOpenedAt`, `storeIsTopRated` | | Details only. `storeScores` lists the store figures AliExpress shows (positive reviews, communication, …); `storeRating` is the "store rating" among them when shown. |
| `description`, `descriptionImages` | string, array | Details only: the seller's description text and pictures. |
| `reviews` | array | Reviews only: `id`, `rating` (1–5), `text`, `textInEnglish` (when the review is in another language), `date` (YYYY-MM-DD), `country`, `sku`, `images`, `helpfulCount`, `additionalReview`. |
| `scrapedAt` | string | ISO time with timezone. |

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

You pay per product saved; see the **Pricing** tab for the exact price. Inputs that give nothing (removed products, searches without matches, links that aren't AliExpress pages, or pages AliExpress refuses) and products left out because their details were refused are never charged. Platform usage is small: a 20-product search finishes in about 6 seconds, 150 search products in about 8 seconds, and 120 products with details and reviews in under a minute.

### Tips

- Leave **details** off when search data is enough; it is several times faster.
- Use `maxProducts` to limit runs, and paste a search link from the site to keep its filters (price range, free shipping, ratings, …).
- Set `shipToCountry` and `currency` to the market you sell in: AliExpress changes prices, shipping and even which products are available by country.
- Set **Maximum cost per run** in the run options; the Actor stops cleanly when it is reached.

### FAQ, disclaimers and support

**Are these the prices everyone pays?** They are the prices AliExpress shows a visitor who is not logged in, which often include its "Welcome deal" discounts for new shoppers. Returning, logged-in buyers may see higher prices. "{FREE} with any purchase" welcome-gift cards in search results have no price of their own, so they are skipped unless **Add product details** is on (then the product page's price is used).

**Why are store and shipping empty on some rows?** Search pages don't show them. Product links always include them; for searches, switch on **Add product details**.

**What happens to links that don't work?** Removed products, products AliExpress doesn't sell to your ship-to country, searches with no matches and links that aren't AliExpress pages are listed in the **FAILED_INPUTS** record in the run's key-value store, with the reason. They are not charged. The run fails only when every input failed because AliExpress could not be reached.

**What if AliExpress refuses a product's details?** It sometimes refuses to show a product page's data to automated visitors. The Actor retries from many addresses; if it still can't, that product is left out (and not charged), listed in **FAILED_INPUTS** with its link, and counted in the run's status message. Products AliExpress doesn't sell to your ship-to country keep their search data without details.

**Is it legal to scrape AliExpress?** This Actor reads only public product information that anyone can see without logging in. It does not log in or solve CAPTCHAs. Reviews are saved without reviewer names or photos of the reviewer. You are responsible for using the data lawfully, including AliExpress's terms and data-protection rules such as GDPR if you process any personal data.

**Need a feature or found a bug?** Open an issue in the **Issues** tab. Custom solutions are available on request.

# Actor input Schema

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

What you would type into AliExpress's search box, one search per line (for example wireless earbuds). Each search is read page by page, up to "Max products per search or link". Fill this, "AliExpress links", or both.

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

Product links (https://www.aliexpress.com/item/1005008583283920.html, including aliexpress.us, aliexpress.ru, country subdomains and a.aliexpress.com share links), search result links (/w/wholesale-…) or category links (/category/…). Filters and sorting you chose on the site are kept. Links that can't be read are listed in the FAILED_INPUTS record.

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

Stops after this many products for each search or search/category link. AliExpress shows at most 60 pages of 60 products. A product link always gives one product.

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

Order of results for "Search words". Pasted search links keep the sorting chosen on the site.

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

Two-letter country code (US, GB, DE, FR, BR, …). AliExpress shows prices, shipping costs and delivery dates for this country, and hides products it does not sell there.

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

Three-letter currency code for prices (USD, EUR, GBP, …).

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

Language of product titles and details, as AliExpress translates them.

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

Opens each product's page for the store (name, rating, positive feedback, country), review count, shipping cost and delivery dates, every variant (SKU) with its own price and stock, the specifications table and the seller's description. Product links always include the store, shipping and review count; this switch adds the rest.

## `includeReviews` (type: `boolean`):

Adds the product's newest-relevant reviews: stars, text (with an English translation), date, buyer country, the variant bought and photos.

## `maxReviewsPerProduct` (type: `integer`):

How many reviews to add for each product when "Add reviews" is on (50 per request).

## Actor input object example

```json
{
  "searchQueries": [
    "wireless earbuds"
  ],
  "startUrls": [],
  "maxProducts": 20,
  "sort": "default",
  "shipToCountry": "US",
  "currency": "USD",
  "language": "en",
  "includeDetails": false,
  "includeReviews": false,
  "maxReviewsPerProduct": 20
}
```

# Actor output Schema

## `dataset` (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"
    ],
    "maxProducts": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("mina_safwat/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 = {
    "searchQueries": ["wireless earbuds"],
    "maxProducts": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("mina_safwat/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 '{
  "searchQueries": [
    "wireless earbuds"
  ],
  "maxProducts": 20
}' |
apify call mina_safwat/aliexpress-scraper --silent --output-dataset

```

## MCP server setup

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