# AliExpress Scraper: Products, Prices, Sales & Ratings (`mastertools/aliexpress-scraper`) Actor

Scrape AliExpress products by keyword or category: price, discount, exact sales, rating, shipping, Choice badge, store and images — one clean row per product for dropshipping, price tracking and AI agents.

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

## Pricing

from $1.10 / 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.
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, Sales & Ratings

**Find winning AliExpress products in seconds: price, discount, exact sales, rating and shipping for any keyword or category — one clean row per product.**

AliExpress Scraper is a fast AliExpress product search scraper and API for dropshippers, Shopify and WooCommerce store owners, e-commerce analysts, price trackers and AI agents. Type a keyword or paste an AliExpress search or category link, pick the delivery country and currency, and press Start. You get every product card from the search results as a flat row — ready for Google Sheets, Excel, your product research workflow or an AI shopping assistant.

### What you get

- **Exact sales, not just "1,000+ sold"** — `soldCount` holds the real number of orders wherever AliExpress has it, so you can rank products by what actually sells.
- **Prices for your market** — choose the ship-to country and currency: price, discount and the price before discount follow, exactly as shoppers there see them.
- **Everything the product card shows** — star rating, free shipping, delivery time, AliExpress Choice badge, store name, category, listing date, main image and the full image gallery.
- **Keywords and links in one run** — several keywords, search result pages with your own filters, or category pages, with up to thousands of products each.
- **Sorted your way** — best match, most orders, lowest or highest price, plus min and max price.
- **Each product once** — repeats across pages and keywords are removed, so every row is a new product.
- **Fast and light** — plain HTTP, no browser: 20 products in about 4 seconds, 1,500 products from five keywords in about half a minute.
- **Nothing to set up** — no login, no cookies, no API key, no proxy settings.

### How to use

1. Type what you are looking for into **Search keywords** — for example `wireless earbuds` — or paste AliExpress search or category links into **AliExpress search or category links**.
2. Choose how many products you want per keyword, the sort order, the delivery country and the currency. Or keep the defaults: the example runs as is.
3. Press **Start** and download the products as Excel, CSV or JSON, send them to Google Sheets, or pull them through the API.

### Input

| Field | What it does | Default |
|---|---|---|
| `queries` — Search keywords | What to search on AliExpress, one keyword or phrase per line. | `phone case` |
| `urls` — AliExpress search or category links | Search result pages (with any filters you set on the site) and category pages, from any AliExpress country domain. | — |
| `maxItems` — Products per keyword or link | How many products to collect for each keyword or link. One results page holds 60 products. | 20 (up to 5,000) |
| `sort` — Sort by | `relevance` (best match), `orders` (most orders), `price_asc`, `price_desc`. | best match |
| `shipTo` — Ship to (country) | Delivery country: prices, shipping and the product range follow it. | `US` |
| `currency` — Currency | Currency of all prices. | `USD` |
| `minPrice`, `maxPrice` | Only products in this price range, in the chosen currency. | — |

```json
{
  "queries": ["yoga mat", "resistance bands"],
  "urls": ["https://www.aliexpress.com/category/100003109/women-clothing.html"],
  "maxItems": 100,
  "sort": "orders",
  "shipTo": "GB",
  "currency": "GBP"
}
```

### Output

One row per product. A real result for the keyword `yoga mat`:

```json
{
  "position": 7,
  "productId": "1005010439385412",
  "title": "Pink Foldable Yoga Mat Eco Friendly EVA Folding Travel Fitness Exercise Mat 3/4/6mm Thicknesses for Yoga Pilates Workouts",
  "url": "https://www.aliexpress.com/item/1005010439385412.html",
  "price": 6.09,
  "originalPrice": 15.04,
  "discountPercent": 59,
  "currency": "USD",
  "rating": 4.9,
  "soldCount": 1057,
  "freeShipping": true,
  "shipping": "Free shipping",
  "deliveryDays": 6,
  "choice": true,
  "sponsored": false,
  "storeName": "Stone's Store",
  "categoryId": "200001928",
  "listedDate": "2025-11-25",
  "imageUrl": "https://ae-pic-a1.aliexpress-media.com/kf/S90f533dd144f465fa8f774e87edeb0e8z.jpg",
  "images": [
    "https://ae-pic-a1.aliexpress-media.com/kf/S90f533dd144f465fa8f774e87edeb0e8z.jpg",
    "https://ae-pic-a1.aliexpress-media.com/kf/S098ef04cfd1c4366b55c986374788dfaS.jpg",
    "https://ae-pic-a1.aliexpress-media.com/kf/S74bfa06a6cec4a108c82e6bf36524967a.jpg"
  ],
  "source": "yoga mat",
  "page": 1,
  "scrapedAt": "2026-11-09T18:14:47.441Z"
}
```

| Field | Meaning |
|---|---|
| `position` | Rank of the product in the AliExpress results for this keyword or link |
| `productId`, `url` | AliExpress product ID and link (opens the right country site for every shopper) |
| `price`, `originalPrice`, `discountPercent`, `currency` | Current price, price before discount and the discount, in your currency |
| `rating` | Average star rating, 1–5 |
| `soldCount` | Number of orders |
| `freeShipping`, `shipping`, `deliveryDays` | Free shipping for this item, the shipping line from the product card and the fastest delivery time in days |
| `choice` | The product carries the AliExpress Choice badge |
| `sponsored` | Promoted product (ad) in the results |
| `storeName`, `categoryId`, `listedDate` | Store, AliExpress category and the date the product was listed |
| `imageUrl`, `images` | Main image and the image gallery in full size |
| `source`, `page`, `scrapedAt` | Keyword or link the product came from, results page and time of collection |

The table view in Apify Console has two tabs: **Products** with pictures and **All fields**.

### What people use it for

- **Dropshipping product research** — find winning products with the most orders and the best ratings, then add them to your Shopify or WooCommerce store.
- **Price monitoring** — run it on a schedule and follow prices and discounts of a niche or a competitor's category over time.
- **Trend and market research** — compare sales across keywords, spot newly listed products that already sell, see which stores lead a category.
- **Catalog and listing data** — titles, images and categories for product feeds, comparison sites and marketplaces.
- **AI shopping agents** — give an assistant live AliExpress search with prices and sales in one call.

### Use it with AI agents

Add AliExpress Scraper as a tool to Claude, ChatGPT, Cursor or any MCP client through the Apify MCP server (`https://mcp.apify.com`). One keyword in, a flat list of products out in seconds: *"Find the 30 best-selling phone stands under $10 on AliExpress"* — and the agent gets prices, ratings and exact sales it can compare right away.

### Integrations

- **Google Sheets, Airtable, Shopify tools, Slack** — through Make, Zapier or n8n, or with the Apify integrations for Google Sheets and webhooks.
- **Apify API** — run it and get the products back in one call:

```bash
curl -X POST "https://api.apify.com/v2/acts/mastertools~aliexpress-scraper/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"queries": ["wireless earbuds"], "maxItems": 60, "sort": "orders"}'
```

- **Schedules** — collect a fresh product list every day or every week and keep your sheet up to date.

### FAQ

**Which links can I paste?** AliExpress search result pages — with any filters you set on the site — and category pages, from aliexpress.com, aliexpress.us or any country domain such as es.aliexpress.com or de.aliexpress.com. Keywords work just as well.

**How many products can I get?** Up to 5,000 per keyword or link. AliExpress shows 60 products per results page and up to 60 pages per search; very narrow searches simply end sooner.

**Which prices do I get?** The prices a shopper in your chosen delivery country sees on AliExpress at that moment, in your currency, including the current deals. `originalPrice` is the price before the discount.

**What is `soldCount`?** The number of orders of the product, the exact figure wherever AliExpress has it.

**Can I track the same products over time?** Yes — schedule the same keywords or links and match rows by `productId`.

**How fresh is the data?** Every run reads AliExpress live.

### Need data at scale?

Daily product feeds for millions of rows, a pipeline straight into your database, BI tool or spreadsheets, or a scraper for a marketplace that is not in the Store — we build it for you. Open an issue on this page and tell us what you need.

# Actor input Schema

## `queries` (type: `array`):

What to search on AliExpress, one keyword or phrase per line — for example "phone case" or "wireless earbuds". Each keyword gets its own top results.

## `urls` (type: `array`):

Optional. Paste links of AliExpress search results or category pages — with any filters you set on the site. Links from any AliExpress country domain work.

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

How many products to collect for each keyword or link. One results page holds 60 products.

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

Order of the search results, the same as the sort buttons on AliExpress.

## `shipTo` (type: `string`):

Prices, shipping and the product range follow this delivery country, just like on the site.

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

Currency of all prices.

## `minPrice` (type: `integer`):

Optional. Only products at this price or higher, in the chosen currency.

## `maxPrice` (type: `integer`):

Optional. Only products at this price or lower, in the chosen currency.

## Actor input object example

```json
{
  "queries": [
    "phone case"
  ],
  "maxItems": 20,
  "sort": "relevance",
  "shipTo": "US",
  "currency": "USD"
}
```

# Actor output Schema

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

All rows of this run in the default dataset.

# 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 = {
    "queries": [
        "phone case"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("mastertools/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 = {
    "queries": ["phone case"],
    "maxItems": 20,
}

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

```

## MCP server setup

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