# AliExpress Scraper & API - Products, Prices & Reviews (`alom/aliexpress-scraper`) Actor

AliExpress scraper and API: products by keyword with price, original price, discount, rating, sold count and images, sorted by orders or price, for any ship-to country and currency. Buyer reviews with photos and English translation. No login, no browser.

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

## Pricing

from $1.25 / 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: Products, Prices & Reviews

This **AliExpress scraper** searches **AliExpress by keyword** and returns the products as a table: title, price,
original price, discount, rating, how many sold, images and labels, plus **buyer reviews** for product links you add.
No login, no browser. It is for dropshipping product research, price monitoring and review analysis. The Free plan's
$5 monthly credit covers about 2,500 products.

- **About 60 products per results page**, up to the 60 pages AliExpress shows per search.
- **Sort by most orders or by price**, with a price range.
- **Sponsored products left out** unless you want them (`isAd` says which is which).
- **Buyer reviews** per product: stars, text, its English translation, date, buyer country, variant bought and photos.
- **Any country and currency:** AliExpress shows each ship-to country its own prices, so you pick the country (and
  currency, e.g. EUR or GBP); the run sets them the way the site itself does.
- **$2.00 per 1,000 products on the Free plan, $1.25 on Business; reviews $0.75 per 1,000, $0.40 on Business.** Plus
  $0.005 per run. Platform usage is included.

Need every variant's stock and shipping cost? Those are on product pages, which this version doesn't read yet.

### How to scrape AliExpress in 3 steps

1. Enter **keywords** (e.g. `coffee grinder`) or paste AliExpress search links.
2. Optional: add **product links** to collect their reviews.
3. Press **Start**, then open the **Output** tab or export to CSV, Excel or JSON. The table has a Products view and a
   Reviews view.

### What can you use it for?

- **Product research for dropshipping:** what sells (sold counts), at what price, with which discounts.
- **Price monitoring:** schedule a keyword and watch prices and discounts change.
- **Review analysis:** what buyers like or complain about, with photos, by country.
- **Feeding AI agents:** clean product and review data for Claude, ChatGPT or Cursor through MCP.

### Input

| Field | What it does |
|---|---|
| `searchQueries` | Keywords, or AliExpress search links (`/w/wholesale-...html`). |
| `maxItems` | Max products per keyword. Default 100. |
| `sort` | `relevance` (default), `orders` (most orders), `priceAsc`, `priceDesc`. |
| `minPrice` / `maxPrice` | Price range, in the chosen country's currency. |
| `includeAds` | Also return sponsored products. Default off. |
| `productUrls` | Product links or IDs whose reviews you want. |
| `maxReviews` | Max reviews per product. Default 100. |
| `reviewFilter` | `all` (default), `withPhotos`, `additional` (follow-up reviews). |
| `country` | Two-letter ship-to country for prices (e.g. `US`, `DE`, `GB`). Default `US`. |
| `currency` | Three-letter currency (e.g. `EUR`). Default: the country's own currency. |

```json
{ "searchQueries": ["coffee grinder", "phone case"], "maxItems": 120, "sort": "orders" }
```

```json
{ "productUrls": ["https://www.aliexpress.com/item/1005008582757896.html"], "maxReviews": 200, "reviewFilter": "withPhotos" }
```

**Switching from another AliExpress scraper?** These field names work too: `keywords`, `startUrls` (search or
product links), `productIds`, `maxProducts` / `maxResults`, `sortBy`, `maxReviewsPerProduct`, `shipTo`.

### Output

One row per product:

| Field | Example / meaning |
|---|---|
| `productId`, `url` | AliExpress product ID and link |
| `title` | Product title |
| `price`, `originalPrice`, `discountPercent`, `currency`, `formattedPrice` | Current price, price before the discount, discount and currency |
| `rating` | Average stars (0-5) |
| `soldCount`, `soldText` | Number sold (from "10,000+ sold") and the text as shown |
| `image`, `images` | Main image and the other images shown on the card |
| `isChoice` | AliExpress "Choice" product |
| `isAd` | Sponsored result |
| `tags` | Labels on the card (e.g. free shipping, top selling) |
| `categoryId` | AliExpress category ID |
| `searchKeyword`, `searchPage`, `position` | Where it was found |

One row per review (`type: "review"`): `reviewId`, `productId`, `rating` (1-5), `text`, `translatedText`, `date`,
`buyerName` (as AliExpress shows it, usually shortened), `buyerCountry`, `variant`, `images`, `helpfulCount`,
`logistics`, `isAdditional`.

### Limits

- Product detail pages (full description, all variants, stock, store details) are not read yet: AliExpress loads them
  in the browser. Search cards and reviews are read directly.
- Prices are what a visitor from the chosen country sees at the time of the run.
- If AliExpress shows its check page (a slider) for a page, the run tries once more from another IP, then reports
  that keyword or product as blocked in the run's final message. It never tries to get around the check.

### FAQ

**Do I need an AliExpress account or cookies?** No. The run reads what a logged-out visitor sees.

**Why do I get fewer than 60 new products per page?** AliExpress repeats some products on the next page (16 of 60
between pages 1 and 2 in our test). The run skips products it already returned for the same keyword, so `maxItems`
counts unique products.

**Can I schedule it?** Yes, with Apify schedules, e.g. a daily run per keyword for price monitoring.

### More scrapers from the same developer

- [Google Trends API & Scraper](https://apify.com/alom/google-trends-scraper): how demand for a product changes over time and by country
- [Google Ads Transparency Scraper](https://apify.com/alom/google-ads-transparency-scraper): every Google ad a competitor store runs, with the ad copy
- [Instagram Scraper](https://apify.com/alom/instagram-scraper): Instagram posts, reels and profiles with likes, comments and views, no login
- [TikTok Video Downloader](https://apify.com/alom/tiktok-video-downloader): public TikTok videos as MP4 files from post and short links

### Feedback

Missing a field, found a bug, or need a feature? Open an issue in the **Issues** tab and I'll take a look. If this
Actor saved you time, a short review on the Store page helps other people find it.

# Actor input Schema

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

Products for each keyword, as AliExpress search shows them (about 60 per page). You can also paste search page links.

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

Stop each keyword after this many products. AliExpress shows up to 60 pages of results.

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

Best match is AliExpress's own order. Most orders puts the best sellers first.

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

Only products from this price (in the currency of the chosen country).

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

Only products up to this price (in the currency of the chosen country).

## `includeAds` (type: `boolean`):

AliExpress mixes ads into the results. They are left out unless you switch this on (rows say isAd).

## `productUrls` (type: `array`):

Product links or product IDs. Each gets its buyer reviews (20 per page), one row per review.

## `maxReviews` (type: `integer`):

Stop each product after this many reviews (20 per page).

## `reviewFilter` (type: `string`):

All reviews, only those with buyer photos, or only follow-up reviews written after use.

## `country` (type: `string`):

Two-letter ship-to country (e.g. US, DE, GB). AliExpress shows prices for it. The run sets it the way the site does (its preference cookie), so any country works.

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

Three-letter currency for prices (e.g. USD, EUR). Empty = the country's own currency.

## `maxConcurrency` (type: `integer`):

Keywords and products processed in parallel.

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

The included datacenter proxy works for AliExpress search and reviews (US IPs; prices follow the Country field).

## Actor input object example

```json
{
  "searchQueries": [
    "coffee grinder"
  ],
  "maxItems": 100,
  "sort": "relevance",
  "includeAds": false,
  "maxReviews": 100,
  "reviewFilter": "all",
  "country": "US",
  "maxConcurrency": 4,
  "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 = {
    "searchQueries": [
        "coffee grinder"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("alom/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": ["coffee grinder"] }

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

```

## MCP server setup

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