# AliExpress Scraper & API: Search Products, Prices & Sales (`s_actors/aliexpress-scraper`) Actor

Scrape AliExpress product search by keyword or link: price, price before discount, orders sold, rating, free shipping, Choice and sponsored flags, categories. Any currency and ship-to country, price / sales / rating filters, new products alerts. No login, no proxy needed.

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

## Pricing

from $1.99 / 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 & API: Search Products, Prices & Sales

Export **AliExpress search results** as clean data: **price, price before discount, discount %, exact orders sold, rating, free shipping, Choice and sponsored flags, categories and image** for every product. Search by **keyword** or paste an **AliExpress search link**, pick the **currency** and the **ship-to country**, and get up to **~1,000 products per query**. No AliExpress account, no browser, no proxy to set up.

```json
{ "searchQueries": ["led strip lights", "usb c cable"], "maxItemsPerQuery": 500, "minRating": 4.5, "sortBy": "sold" }
```

Filter by **price, orders sold, rating, Choice and free shipping**; products you filter out are free. Schedule it with **Only new products** to get every new listing of a keyword as an alert.

#### What you get

Real example, 1 November 2026: search **"usb c cable"**, sorted by orders sold:

| title | price | before discount | discount | orders sold | rating | shipping | Choice |
|---|---|---|---|---|---|---|---|
| 0.25/1/1.5/2M 240W Nylon USB C PD Super Fast Charging Data Cable | $2.27 | $4.54 | 50% | 339,478 | 4.9 | Free shipping | yes |
| NNBILI 120W A-C and C-C Phone Super Fast Charging Cable | $1.09 | $6.83 | 84% | 206,899 | 4.9 | Free shipping | yes |
| Baseus USB Type C To USB C Cable For iPhone 18 17 100W | $1.09 | $7.83 | 85% | 160,012 | 4.9 | Free shipping | yes |
| 120W USB Type C Cable Type C to Type C Fast Charging | $1.09 | $3.66 | 70% | 158,521 | 4.9 | Free shipping | yes |

| Field | Description |
|---|---|
| `id`, `title`, `url`, `imageUrl` | The product, its AliExpress link (`/item/<id>.html`) and main image |
| `price`, `currency`, `priceText` | Current price for your ship-to country (number, currency code, as AliExpress shows it) |
| `originalPrice`, `discountPercent` | Price before the discount and the discount in % (empty when there is none) |
| `sold`, `soldText` | Exact number of orders, and the text AliExpress shows ("10,000+ sold") |
| `rating` | Average stars (AliExpress shows it on products with reviews) |
| `freeShipping`, `shippingNote` | A free shipping offer and its text ("Free shipping", "Free shipping over 10€") |
| `isChoice`, `isSponsored`, `badges` | Choice badge, paid placement, and the deal labels ("Early bird deal, only 4 left", "Sale · -81% now") |
| `categoryIds` | AliExpress category ids from the top level down |
| `query`, `page`, `rank` | The search the row came from, the result page and the place in the output |

#### How it works

1. Add **Search queries** (`phone case`, `led strip lights`) or paste **Search links** (`aliexpress.com/w/wholesale-led-lights.html`). Only the keywords of a link are used
2. Choose the **Currency** and the **Ship to country** (`US`, `DE`, `GB`, `BR`...): prices and free shipping offers follow it
3. Optionally set **Minimum / maximum price**, **Minimum orders sold**, **Minimum rating**, **Choice only**, **Free shipping only**, **Hide sponsored**
4. Pick **Sort results**: *Relevance* is the AliExpress order and saves rows as they come; *Most orders sold*, *Price* and *Rating* sort the products of each query after reading them
5. Set **Max products per query** and run. Download as CSV, Excel, JSON or HTML. Three tabs: **Products**, **Deals**, **Categories**

#### Why this Actor

| | |
|---|---|
| 💰 **$2.49 per 1,000 products** | No subscription, no start-up fee per product; the filters cost nothing |
| 🔢 **Exact orders sold** | Not just "10,000+": the real count, so you can sort and filter bestsellers |
| 🌍 **Any currency and country** | USD, EUR, GBP, CAD, AUD, BRL, PLN, SEK, CHF, JPY, KRW, MXN; shipping offers for your country |
| 🏷️ **Deals data** | Price before discount, discount %, Choice flag, early-bird labels, sponsored placements |
| 🔔 **New-product alerts** | **Only new products** returns just what appeared since the previous run of the same query |
| ⚡ **Fast** | About 1,000 products in 45 seconds; no browser, no proxy settings |

#### What you do not get

AliExpress hides product pages, variants, seller names and reviews from automated access (anti-bot checks that only a real browser passes), so this Actor reads the **search results** only. Use it to find, rank and monitor products; open the `url` for the details. AliExpress shows about 60 result pages per search (~1,000 unique products): use several related queries or price filters to go wider.

#### Get new AliExpress listings every day

1. Add your keywords and turn on **Only new products**
2. Save as a task and add a schedule, e.g. every morning
3. The **first run** returns the current results as a baseline. **Every later run** returns only products not seen before: send them to [Google Sheets](https://apify.com/s_actors/google-sheets-import-export), Slack or email with an integration

The memory is kept in your account (key-value store `aliexpress-scraper-state`). Use a different **Monitor name** for each task.

#### Pricing

Pay per product in the results, no subscription needed. Apify Scale and Business plans pay less:

| Event | Free and Starter plans | Scale plan | Business plan |
|---|---|---|---|
| Run start | $0.001 | $0.001 | $0.001 |
| Product (one row) | $0.00249 | $0.00224 | $0.00199 |

| Task | Cost |
|---|---|
| 40 products of one keyword | ~$0.10 |
| 1,000 bestsellers of one keyword | ~$2.50 |
| Daily alert of new products for 5 keywords (~10 new a day) | ~$4 per month |

Products left out by your filters or by **Only new products** are not charged.

#### Ready-made tasks

Open it, change the keyword, and run:

| Task | What you get |
|---|---|
| [AliExpress Bestsellers by Keyword](https://apify.com/s_actors/aliexpress-scraper/examples/aliexpress-bestsellers-by-keyword) | The best-selling products of a keyword with exact orders, discount, rating and shipping |

#### FAQ

**Where does the data come from?** From the public AliExpress search pages, the same list any visitor sees. Prices, discounts and orders are AliExpress' own numbers at the time of the run.

**Why are there no product details or reviews?** AliExpress opens product data only to real browsers behind its bot protection. A scraper that still returns details has to load a full browser page for every product, which is slow and expensive. This Actor stays fast and cheap by reading the search results only.

**How many products can I get?** About 1,000 unique products per query (AliExpress stops after ~60 pages). Different keywords and the price filters give more.

**Does it work as an AliExpress API?** Yes: run it via the [Apify API](https://docs.apify.com/api/v2) and get JSON, or call it from Python, Node.js, Make or n8n.

**Can I paste a product link or a store link?** No, only keywords and search links.

**Why do prices differ from what I see in my browser?** AliExpress prices depend on the country, currency and account (new-user coupons are not applied here). Set **Ship to country** and **Currency** to your market.

#### Use with the API and AI agents

Run it via the [Apify API](https://docs.apify.com/api/v2) from Python, Node.js or any HTTP client, or connect it to Claude, ChatGPT and other AI agents through the [Apify MCP server](https://mcp.apify.com): "Find the best-selling USB-C cables on AliExpress under $3 with free shipping to Germany and rank them by orders."

#### Other e-commerce tools

| Tool | What it does |
|---|---|
| [Costco Stock Checker](https://apify.com/s_actors/costco-scraper) | Warehouse stock and prices at Costco in the US and Canada |
| [Google Shopping Price Tracker](https://apify.com/s_actors/google-shopping-price-tracker) | Prices of a product across shops in Google Shopping |
| [Google Sheets Import & Export](https://apify.com/s_actors/google-sheets-import-export) | Send the products to a Google Sheet |

#### Is it legal?

The Actor reads only public search pages that AliExpress shows to any visitor, without logging in. Product titles and images belong to their sellers: respect copyright and trademark rules when you reuse them.

# Actor input Schema

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

Keywords like in the AliExpress search box: "phone case", "led strip lights". AliExpress search links (aliexpress.com/w/wholesale-...html) work too. Up to ~1 000 products per query, in the order of AliExpress search (most relevant first).

## `searchUrls` (type: `array`):

AliExpress search links (https://www.aliexpress.com/w/wholesale-led-lights.html or ...?SearchText=led+lights). Only the keywords of the link are used. Product and store links are not supported.

## `maxItemsPerQuery` (type: `integer`):

Products kept for each query (after the filters below).

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

The run stops at this many products.

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

Prices are shown in this currency.

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

Two-letter country code (US, GB, DE, FR, ES, BR, PL, AU...). It decides the free shipping offers and some prices.

## `minPrice` (type: `number`):

In the currency above.

## `maxPrice` (type: `number`):

In the currency above.

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

Only products with at least this many orders (AliExpress shows exact counts up to 100, then steps like 1 000+, 10 000+).

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

Stars from 0 to 5. Products without a rating are left out.

## `onlyChoice` (type: `boolean`):

Only products with the AliExpress Choice badge.

## `freeShippingOnly` (type: `boolean`):

Only products with a free shipping offer (also "free over X").

## `hideSponsored` (type: `boolean`):

Leave out paid placements.

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

Relevance = the AliExpress order, rows are saved as they come. The other orders sort the products of each query after reading them (AliExpress itself gives no sort here).

## `onlyNew` (type: `boolean`):

Output only products not seen in the previous runs of the same query, currency and country. Schedule it to get new listings.

## `monitorName` (type: `string`):

Keeps the memory of seen products apart for different schedules.

## `debugLog` (type: `boolean`):

Log every refused request.

## Actor input object example

```json
{
  "searchQueries": [
    "phone case"
  ],
  "maxItemsPerQuery": 40,
  "maxItems": 1000,
  "currency": "USD",
  "shipTo": "US",
  "onlyChoice": false,
  "freeShippingOnly": false,
  "hideSponsored": false,
  "sortBy": "relevance",
  "onlyNew": false,
  "debugLog": false
}
```

# Actor output Schema

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

Every product: title, link, price, discount, orders sold, rating, shipping.

## `all` (type: `string`):

Every field of every product.

# 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": [
        "phone case"
    ],
    "maxItemsPerQuery": 40
};

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

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

```

## MCP server setup

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