# AliExpress Product Scraper — Prices, Sales, Ratings & Stores (`maged120/aliexpress-scraper`) Actor

Scrape AliExpress search results: product title, price, original price, discount, units sold, rating, store name, ship-from country and image for any keyword.

- **URL**: https://apify.com/maged120/aliexpress-scraper.md
- **Developed by:** [Maged](https://apify.com/maged120) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 92.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.00 / 1,000 results

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

**Scrape AliExpress search results at scale** — product titles, **prices and discounts, units sold, ratings, store names**, ship-from country and images for any keyword, in any currency and ship-to country.

### What does AliExpress Product Scraper do?

AliExpress Product Scraper searches [AliExpress](https://www.aliexpress.com) for your keywords and returns every product in the results with its **title, current price, original price, discount %, currency, star rating, units sold, store name, ship-from country, listing date, badges** (e.g. "Top selling", "Choice") and product **image and URL**. Choose the ship-to country and currency to see local pricing, sort by orders or price, and filter by price range.

Running on Apify gives you an API, scheduling, monitoring and integrations with Google Sheets, Shopify tools, Zapier, Make and webhooks.

### Why use AliExpress Product Scraper?

- **Dropshipping product research** — find winning products by units sold and rating.
- **Price monitoring** — track prices and discounts for your niche every day.
- **Supplier discovery** — identify the stores selling the most in a category.
- **Market research** — measure category size, price ranges and competition.
- **Catalog building** — import structured product data into your store or spreadsheet.

### How to scrape AliExpress products

1. Click **Try for free**.
2. Enter one or more **Search keywords** (e.g. `wireless earbuds`).
3. Optionally pick **Sort by**, a **price range**, the **ship-to country** and **currency**.
4. Set **Max products per keyword** and click **Start**.
5. Download the results as CSV, Excel or JSON.

### Input

| Field | Description |
|---|---|
| `keywords` | Products to search for. |
| `maxProducts` | Max products per keyword (60 per results page). |
| `sortBy` | Best match, most orders, price low→high, price high→low. |
| `minPrice`, `maxPrice` | Price range filter. |
| `shipToCountry`, `currency` | Local pricing, e.g. `US` + `USD`, `DE` + `EUR`. |

### Output

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

```json
{
    "keyword": "wireless earbuds",
    "rank": 4,
    "productId": "1005009970168305",
    "title": "Baseus Eli 2i Fit Open-Ear Earphones True Wireless Bluetooth",
    "url": "https://www.aliexpress.com/item/1005009970168305.html",
    "price": 26.19,
    "originalPrice": 59.08,
    "discountPercent": 55,
    "currency": "USD",
    "rating": 4.7,
    "soldCount": 5000,
    "soldText": "5,000+ sold",
    "storeName": "BASEUS Co.,Ltd. Store",
    "shipFrom": "CN",
    "listedSince": "2025-09-16 00:00:00",
    "badges": ["Top selling on AliExpress"],
    "imageUrl": "https://ae-pic-a1.aliexpress-media.com/kf/…jpg"
}
```

### Data fields

| Field | Meaning |
|---|---|
| `title`, `url`, `imageUrl`, `productId` | Product |
| `price`, `originalPrice`, `discountPercent`, `currency` | Pricing |
| `soldCount`, `soldText`, `rating` | Demand and reviews |
| `storeName`, `shipFrom` | Seller and origin |
| `rank`, `keyword`, `badges`, `listedSince` | Search context |

Views: **Products** and **Details**.

### How many results will I get?

One row per unique product, up to `maxProducts` per keyword. AliExpress shows 60 products per results page and up to 60 pages per search.

### Tips

- Use **Sort by: Most orders** to surface proven best sellers first.
- Narrow with a price range to focus on your target margin.
- Schedule daily runs to build a price and sales history.

### FAQ

**Are store names always available?** Store names are included whenever AliExpress shows them in search results.

**Is it legal?** The Actor collects publicly visible product listings. Use the data in line with AliExpress terms and applicable laws.

**Need product details or reviews?** Open an issue in the **Issues** tab.

# Actor input Schema

## `keywords` (type: `array`):

Products to search for, one per line.

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

Maximum products saved per keyword (60 per results page). 0 = all available.

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

Order of results.

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

Only products at or above this price.

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

Only products at or below this price.

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

Two-letter country code that prices and availability are shown for, e.g. US, GB, DE, FR, BR.

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

Currency code for prices, e.g. USD, EUR, GBP, BRL.

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

The default works well. Switch to residential proxies if you see many failed pages.

## Actor input object example

```json
{
  "keywords": [
    "wireless earbuds"
  ],
  "maxProducts": 120,
  "sortBy": "best_match",
  "shipToCountry": "US",
  "currency": "USD",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "keywords": [
        "wireless earbuds"
    ],
    "maxProducts": 120,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

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

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

```

## MCP server setup

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