# AliExpress Scraper: Winning Products, Niche Research & Variants (`pikoulas/aliexpress`) Actor

AliExpress product research: each search summed up as a niche (price bands, orders, Choice share) with its rising products, new listings selling fastest by orders a month. Plus every variant's price and stock, shipping to your country, store and reviews, with price alerts. No browser.

- **URL**: https://apify.com/pikoulas/aliexpress.md
- **Developed by:** [Spyridon Pikoulas](https://apify.com/pikoulas) (community)
- **Categories:** E-commerce, Lead generation, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 92.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 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

## AliExpress Scraper: Winning Products, Niche Research & Variants

Which AliExpress products are selling now, and every product down to its variants' price and
stock, for dropshippers choosing what to sell, sourcing teams comparing suppliers and price
monitoring, without an account or a browser:

- **Winning products and niches:** each search ends with a free **niche summary**: its price range
  and price bands with the orders each holds, total and median orders, how much of it is AliExpress
  Choice and free shipping, how many products are new, and its **rising products**: the ones listed
  in the last 6 months selling the most orders a month since. Every product also comes with its
  `ordersPerMonth` and `listedDaysAgo`.
- **Search:** keywords, with AliExpress's sort orders (best match, orders, price) and filters
  (price range, ships from, free shipping), and a minimum rating.
- **Search and category URLs:** paste a search from the site, and the sort and filters you set
  there come with it. A category URL gives its products.
- **Products:** any product by its URL (`/item/...html`, from any country's site or aliexpress.us)
  or id.
- **Reviews:** as many of each product's reviews as you want, with photos and translations.
- **Any country:** prices, shipping costs and delivery times for the ship-to country you give, in
  its currency or yours, and titles in 14 languages.
- **Price alerts:** with **New and repriced only**, a run gives just the products it hasn't given
  before and those whose price moved, with the earlier price; the rest cost nothing.

Every product from a search comes with its id, title, price, original price and discount,
currency, orders, rating, images, the sponsored flag, the AliExpress Choice and free shipping
flags, the selling points ("Top selling on AliExpress", "30-day lowest price") and its position in
the results. With details on, each also comes with its page data: the reviews count, the store
(name, id, positive rate, followers, country, open since), all images and the video, the shipping
options with cost and delivery days, stock, wishlist count, the specifications, every variant with
its price and stock, and the description.

It is fast: 330 search products from 3 searches took 7 seconds, and 30 products with details 36
seconds. It costs **$1.50 per 1,000 products**, **$3.40 per 1,000 with details**, and **$0.30 per
1,000 reviews**.

### What people use it for

- **Finding winning products:** the new products in a niche already selling thousands a month,
  and what price band holds the orders, before a competitor lists them.
- **Dropshipping and product research:** what sells, from the orders, ratings and "Top selling"
  flags, and what it costs to ship to your customers.
- **Price monitoring:** your products and your suppliers', with every variant's price and stock,
  and an alert when a price moves.
- **Supplier vetting:** stores' positive rates, followers and age, and what buyers say in the
  reviews.
- **AI and LLM data:** titles, specifications, descriptions and reviews for catalogues,
  comparisons and sentiment.

### How to scrape AliExpress

1. Click **Try for free**; Apify's free plan covers a first run.
2. Enter **Search terms**, **AliExpress URLs** or **Product ids**, the country to ship to, and how many products you want.
3. Click **Start**, then download the results as JSON, CSV, Excel or HTML, or read them through
   the API.

An input with more options:

```json
{
  "searchTerms": ["phone case", "led strip lights"],
  "maxItemsPerSearch": 300,
  "shipTo": "FR",
  "currency": "EUR",
  "sort": "orders",
  "maxPrice": 20,
  "minRating": "4.5",
  "includeDetails": false,
  "urls": [
    "https://www.aliexpress.com/w/wholesale-yoga-mat.html?sortType=total_tranpro_desc",
    "https://www.aliexpress.com/item/1005009463232289.html"
  ],
  "productIds": ["1005008908983422"],
  "maxReviewsPerProduct": 0
}
```

Each search term runs with the sort and filters given; a search URL keeps its own. Products asked
for by URL or id always come with their details. Turn on `includeDetails` to get the details of
every product found by a search too, and set `maxReviewsPerProduct` for reviews of every product
the run gives.

#### Price alerts

Turn on **New and repriced only** (`trackChanges`) and schedule the run, daily for instance. The
first run gives every product, and remembers each one's price under the **Memory name**
(`memory`). Each later run gives, and charges for, only the products that run hasn't seen before
(`"change": "new"`) and those whose price changed (`"price drop"` or `"price rise"`, with
`previousPrice` and `priceChangedOn`). The unchanged ones are only noted as seen, so they cost
nothing and get no details or reviews. Connect the run to email, Slack or a webhook in Apify's
integrations, and a supplier's price drop reaches you the morning after.

Give each alert its own memory name, so two schedules don't share one. A product is remembered
per ship-to country and currency, in your own account's key-value store `aliexpress-memory`; one
not seen for 30 days is forgotten.

### Output

`magnetic phone holder` by orders, 120 products, summed up as a niche row
(shipping to the US):

```json
{
  "type": "niche",
  "searchQuery": "magnetic phone holder",
  "products": 120,
  "currency": "USD",
  "minPrice": 0.33,
  "medianPrice": 2.33,
  "maxPrice": 16.3,
  "orders": 1294000,
  "medianOrders": 7000.0,
  "averageRating": 4.74,
  "choiceShare": 0.95,
  "freeShippingShare": 0.07,
  "newProducts": 6,
  "newProductsOrders": 160000,
  "priceBands": [
    {"from": 0.33, "to": 1.09, "products": 17, "orders": 218000},
    {"from": 1.09, "to": 2.33, "products": 30, "orders": 359000},
    {"from": 2.33, "to": 3.79, "products": 24, "orders": 251000},
    {"from": 3.79, "to": 16.3, "products": 24, "orders": 262000}
  ],
  "risingProducts": [
    {"title": "Metal Magnetic Phone Holder Mini Round Car Magnet Mount Universal Stick on Dashboard Magnetic Stand for Smartphone Navigation", "url": "https://www.aliexpress.com/item/1005013255399957.html", "price": 1.09, "orders": 100000, "ordersPerMonth": 50847, "listedOn": "2026-09-23", "rating": 4.9},
    {"title": "Magnetic car mobile phone holder, vacuum adsorption center console, anti-shake suction cup, special folding portable shelf for navigation", "url": "https://www.aliexpress.com/item/1005012438784074.html", "price": 1.89, "orders": 40000, "ordersPerMonth": 7018, "listedOn": "2026-06-03", "rating": 4.9},
    "..."
  ],
  "bestSellers": ["..."]
}
```

A product (the fields from `video` down, and `reviewsCount` and most of `store`, come with details):

```json
{
  "type": "product",
  "id": "1005008908983422",
  "url": "https://www.aliexpress.com/item/1005008908983422.html",
  "title": "Luxury Magnetic Matte Translucent Armor Shockproof Case For iPhone 11 12 13 14 15 16 For Magsafe Wireless Charge Cover",
  "price": 3.19,
  "originalPrice": null,
  "currency": "EUR",
  "discount": null,
  "orders": 100000,
  "ordersText": "100K+ sold",
  "rating": 4.9,
  "reviewsCount": 15882,
  "store": {
    "id": "1103573332",
    "name": "Stone's Store",
    "url": "https://www.aliexpress.com/store/1103573332",
    "rating": null,
    "positiveRate": 100.0,
    "followers": 29163,
    "country": "China",
    "openSince": "2024-03-01",
    "topRated": false,
    "sellerId": "2678280160"
  },
  "image": "https://ae-pic-a1.aliexpress-media.com/kf/S6f0638ad548548fb92bb7f3a1d486687g.jpg",
  "images": [
    "https://ae-pic-a1.aliexpress-media.com/kf/S6f0638ad548548fb92bb7f3a1d486687g.jpg",
    "https://ae-pic-a1.aliexpress-media.com/kf/S55b1b4d0bbd748cba9662c3badb052f7v.jpg"
  ],
  "freeShipping": false,
  "choice": true,
  "sponsored": false,
  "tags": [],
  "listedOn": "2025-04-25",
  "shipTo": "FR",
  "position": 1,
  "page": 1,
  "searchQuery": "phone case",
  "video": "https://video.aliexpress-media.com/play/u/ae_sg_item/3000004200160/p/1/e/6/t/10301/5000493944477.mp4",
  "shipping": [
    {"method": "AliExpress Selection Standard Shipping", "cost": 1.99, "currency": "EUR", "free": false, "daysMin": 4, "daysMax": 9, "from": "CN", "to": "FR"}
  ],
  "stock": 10993,
  "wishlistCount": 787,
  "categoryId": "380230",
  "specs": {"High-concerned chemical": "none", "Features": "Shock Proof,Dustproof", "Main Material": "Others", "Design": "Plain"},
  "variants": [
    {
      "skuId": "12000047159359808",
      "attributes": {"Color": "Wine Red", "Ships From": "China Mainland", "Compatible-Phone Models": "For iPhone 14"},
      "price": 3.49,
      "originalPrice": null,
      "stock": 988,
      "available": true,
      "image": "https://ae-pic-a1.aliexpress-media.com/kf/S4ee4c534e66247309feb3b9751b7b8b87.jpg"
    }
  ],
  "description": "Luxury Magnetic Matte Translucent Armor Shockproof Case For iPhone 11 12 13 14 15 16 For Magsafe Wireless Charge Cover",
  "descriptionImages": ["https://ae-pic-a1.aliexpress-media.com/kf/S6f0638ad548548fb92bb7f3a1d486687g.jpg"]
}
```

A review:

```json
{
  "type": "review",
  "productId": "1005009463232289",
  "id": "30094014645803420",
  "rating": 5.0,
  "text": "Coque très résistante, ce n’est pas la première fois que je les prends, je recommande lorsqu’elle jaunie, comme toutes les coques 😄",
  "translation": "Very durable case, this is not the first time I've bought them, I recommend them when they yellow, like all cases 😄",
  "followUp": null,
  "date": "2025-10-01",
  "author": "l***a",
  "country": "FR",
  "variant": "Color:Clear Material:For iPhone 11",
  "images": [],
  "helpfulVotes": 0,
  "shipping": "Aliexpress Selection Standard"
}
```

A product without details has `reviewsCount` null, and `store` only where AliExpress names it on
the card (on ads). A product by URL or id has no `position`, `page` or `searchQuery`.

### Use it as an API

One call runs it and returns the results as JSON (for runs under 5 minutes; longer ones start a
run and read its dataset). Apify's Python and JavaScript clients, and its Make, Zapier and n8n
integrations, work the same way.

```bash
curl -X POST "https://api.apify.com/v2/acts/pikoulas~aliexpress/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchTerms": ["phone case"], "maxItemsPerSearch": 10}'
```

AI agents can call it as a tool through Apify's MCP server: `https://mcp.apify.com?tools=pikoulas/aliexpress`.

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

You pay **$0.0015 per product**, which is $1.50 per 1,000, **$0.0034 per product with details**,
$3.40 per 1,000, and **$0.0003 per review**, $0.30 per 1,000. Runs that go through Apify's
residential proxy also pay its traffic, $0.0012 per 100 KB: a search product is about 3 KB, so
about $0.04 per 1,000, and a product's details about 40 KB with the refused tries, so about $0.50
per 1,000. There are no monthly fees.

### Good to know

- Orders are AliExpress's own rounded counts ("5,000+ sold"), so `ordersPerMonth` (orders since
  listed, a product under a month old taken as a month) is a floor, and best for comparing products.
  The niche row sums up the products the run read: sort by orders and read a few hundred for a
  niche's best sellers; products without a price stay out of the price bands.
- AliExpress shows at most 60 pages of a search, 3,600 products. For more, split a search by price
  range or category.
- Search results have stars and orders only for a visitor in (or near) the ship-to country. On the
  Apify platform, a run shipping outside the US switches to residential proxy in that country by
  itself when they come without; Denmark and Sweden get none from anywhere, and details have them.
- AliExpress answers product details to few IPs: on the platform the run takes residential IP
  after IP until one answers, which costs little traffic (a refusal is 1.4 KB) but makes details
  several times slower than search.
- The price is the one a new, signed-out visitor sees, which is often a "welcome deal" price for a
  first order.
- The United Kingdom is `GB` (or `UK`).
- A product found by several search terms is given once per run.

### FAQ

#### Is it legal to scrape AliExpress?

It collects only what AliExpress shows publicly, without logging in. [AliExpress's terms](https://terms.alicdn.com/legal-agreement/terms/suit_bu1_aliexpress/suit_bu1_aliexpress202204182115_66077.html) prohibit this, and your use of it is your own responsibility. Personal data is also protected by laws such as the GDPR and the CCPA. If you're unsure, ask a lawyer;
Apify's [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/) is a good start.

#### Something missing or not working?

Open an issue on the **Issues** tab with the input you used, or ask there for a field you need.

If it does what you need, a review on the **Reviews** tab helps others find it.

# Actor input Schema

## `searchTerms` (type: `array`):

Keywords, as you would type them into AliExpress's search box. Each is searched with the sort and filters below.

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

Search URLs (aliexpress.com/w/wholesale-...html) with any sort and filters set on the site, category URLs (aliexpress.com/category/...), or product URLs (aliexpress.com/item/...html, any country's site, aliexpress.us too). Products by URL always come with their details.

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

AliExpress product ids, like 1005009463232289. Always with their details.

## `maxItemsPerSearch` (type: `integer`):

Per search term or URL. AliExpress shows at most 60 pages of 60 results, 3,600 products, of a search.

## `includeNicheSummary` (type: `boolean`):

A row per search after its products, free: its price range and price bands with their orders, total and median orders, Choice and free-shipping shares, how many products are new (listed in the last 180 days) and the rising ones, selling the most orders a month since listed, and the best sellers. Not given with New and repriced only.

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

Get each product's page data too: reviews count, store (name, id, positive rate, followers, country), all images and video, shipping options with cost and delivery days, stock, specifications, variants with their prices and stock, and the description. Charged as a product with details; off gives the search cards only, cheaper and many times faster.

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

Reviews of every product the run gives, in AliExpress's own order: stars, text and its translation, photos, date, buyer's country and variant. 0 for none.

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

The country to ship to, as its two-letter code: US, GB, DE, FR, ES, IT, NL, PL, BR, CA, AU, JP, KR... Prices, shipping costs and delivery times are those for it.

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

Three letters: USD, EUR, GBP, CAD, AUD, BRL, PLN, JPY, KRW... Empty for the ship-to country's own.

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

The language of titles, specifications and review translations.

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

The order of the search results, for search terms.

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

In the run's currency, for search terms.

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

In the run's currency, for search terms.

## `shipFrom` (type: `string`):

Only products shipped from this country, as its two-letter code (CN, US, FR, ES, DE...), for search terms. Empty for any.

## `freeShipping` (type: `boolean`):

AliExpress's free shipping filter, for search terms. It keeps products with free shipping over an order amount too.

## `minRating` (type: `string`):

Only products rated at least this many stars. Products without a rating are left out.

## `trackChanges` (type: `boolean`):

Give, and charge for, only the products no earlier run with the same memory gave, and those whose price changed since, marked as a price drop or rise with the earlier price. The unchanged ones get no details or reviews either. Schedule it daily for price alerts.

## `memory` (type: `string`):

One per alert, so two schedules don't share a memory. Kept in your account's key-value store aliexpress-memory; a product not seen for 30 days is forgotten.

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

Not needed to start. AliExpress refuses an IP after a few dozen pages, and product details to most IPs: on the Apify platform the run then switches to Apify's residential proxy in the ship-to country by itself, adding its traffic to the cost. Search cards have stars and orders only for an IP in the ship-to country (or near it).

## Actor input object example

```json
{
  "searchTerms": [
    "phone case"
  ],
  "maxItemsPerSearch": 20,
  "includeNicheSummary": true,
  "includeDetails": false,
  "maxReviewsPerProduct": 0,
  "shipTo": "US",
  "currency": "",
  "language": "en_US",
  "sort": "best-match",
  "shipFrom": "",
  "freeShipping": false,
  "minRating": "0",
  "trackChanges": false,
  "memory": "default",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `niche` (type: `string`):

No description

## `products` (type: `string`):

No description

## `reviews` (type: `string`):

No description

## `changes` (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 = {
    "searchTerms": [
        "phone case"
    ],
    "maxItemsPerSearch": 20
};

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

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

```

## MCP server setup

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

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/nYgqT3HKGg1ZYAh80/builds/fsBxMI5qZDO1z2AMS/openapi.json
