# AliExpress Search Scraper: Products, Prices & Orders (`wyle/aliexpress-search-scraper`) Actor

Search AliExpress product listings by keyword or search URL across configurable countries and currencies. Retrieve live sale prices, discounts, order counts, ratings, and store details cleanly.

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

## Pricing

from $1.20 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 Search Scraper: Products, Prices & Orders

Extract AliExpress search results with live sale and original prices, discount percentages, order counts, star ratings, shipping origin countries, delivery estimates, Choice/Free Shipping badges, and full image galleries. Built to run fast without browser overhead, with no login required and configurable shipping country, currency, and language.

### Modes

| Mode | Input | What you get |
|---|---|---|
| Keyword Search | `queries`, `country`, `currency`, `language` | Up to ~60 deduplicated products per page with localized pricing, order counts, ratings, badges, and galleries. |
| Direct Search URLs | `queries` (AliExpress `/w/wholesale-...` or `/wholesale?...` URLs) | Paginated product records matching your pre-filtered AliExpress search URL, with optional price, sort, and shipping overrides. |

### Supported Countries

Supports the global `www.aliexpress.com` storefront for any 2-letter ISO shipping destination `country`, 3-letter `currency`, and `language` locale—including these common regions:

| Code | Domain |
|---|---|
| `US` | `www.aliexpress.com` (`USD` / `en_US`) |
| `GB` | `www.aliexpress.com` (`GBP` / `en_US`) |
| `DE` | `www.aliexpress.com` (`EUR` / `de_DE`) |
| `FR` | `www.aliexpress.com` (`EUR` / `fr_FR`) |
| `ES` | `www.aliexpress.com` (`EUR` / `es_ES`) |
| `CA` | `www.aliexpress.com` (`CAD` / `en_US`) |
| `AU` | `www.aliexpress.com` (`AUD` / `en_US`) |
| `BR` | `www.aliexpress.com` (`BRL` / `pt_BR`) |
| `ID` | `www.aliexpress.com` (`IDR` / `id_ID`) |
| `SG` | `www.aliexpress.com` (`SGD` / `en_US`) |

### Data Modes & Proxy Tips

- **No Login Required**: Extracts public AliExpress search listings with zero account credentials or cookies.
- **Fast Page Yield & Filtering**: Returns ~55–60 unique products per page (up to `1,200` per query via `maxItems`), with `minPrice`, `maxPrice`, `freeShippingOnly`, `sortBy`, and `includeSponsored` controls.
- **Proxy Recommendations**: Works without proxies on light runs; for large multi-page or cloud runs, Apify Residential Proxies are recommended so the Actor can automatically recover if AliExpress presents a verification challenge.

### Use Cases

- **Dropshipping & Winning Product Research**: Sort by `total_tranpro_desc` (orders) and filter by `freeShippingOnly` to find proven high-volume products and local `shipFrom` warehouses.
- **Cross-Border Pricing & Margin Analysis**: Compare localized sale prices, original prices, and discount percentages across `USD`, `EUR`, `GBP`, `BRL`, and `IDR`.
- **Supplier & Delivery Benchmarking**: Track `shipFrom` origin (`CN`, `US`, etc.), `deliverySummary`, and `isChoice` badges across competing listings.
- **AI Product Discovery & Catalog Pipelines**: Feed clean product titles, specs badges, ratings, and multi-image galleries into merchandising or recommendation workflows.

### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `queries` | `Array` | `["wireless earbuds", "mechanical keyboard"]` | Search keywords or direct `www.aliexpress.com` search URLs. |
| `sortBy` | `String` | `"total_tranpro_desc"` | Sort order: `"default"`, `"total_tranpro_desc"`, `"price_asc"`, `"price_desc"`, or `"create_desc"`. |
| `minPrice` | `Number` | `0` | Optional minimum price filter in the selected currency (`0` = no minimum). |
| `maxPrice` | `Number` | `0` | Optional maximum price filter in the selected currency (`0` = no maximum). |
| `freeShippingOnly` | `Boolean` | `false` | Filter results to products offering free shipping. |
| `country` | `String` | `"US"` | 2-letter ISO shipping destination country code. |
| `currency` | `String` | `"USD"` | 3-letter currency code (`USD`, `EUR`, `GBP`, `IDR`, etc.). |
| `language` | `String` | `"en_US"` | AliExpress locale code (`en_US`, `de_DE`, `fr_FR`, `es_ES`, `pt_BR`, `id_ID`). |
| `includeSponsored` | `Boolean` | `true` | Include promoted/ad search cards in output (deduplicated by `productId`). |
| `maxItems` | `Integer` | `60` | Maximum unique products to collect per query (`1`–`1200`). |
| `proxyConfiguration` | `Object` | `{"useApifyProxy": false}` | Optional Apify Proxy configuration (residential proxies recommended for high-volume runs). |

### Sample Output

```json
{
  "productId": "3256812550576374",
  "globalItemId": "1005012736891126",
  "skuId": "12000059227208138",
  "title": "TWS Wireless Bluetooth Headset LED Display Gamer Earbuds with Mic Wireless Headphones Noise Cancelling Bluetooth Earphones X15",
  "url": "https://www.aliexpress.com/item/3256812550576374.html",
  "productType": "natural",
  "isSponsored": false,
  "salePrice": 1.09,
  "salePriceFormatted": "US $1.09",
  "originalPrice": 25.18,
  "originalPriceFormatted": "USD 25.18",
  "discountPercent": 95,
  "currency": "USD",
  "starRating": 4.9,
  "ordersCount": 100556,
  "soldText": "100K+ sold",
  "shipFrom": "US",
  "deliverySummary": "Fastest delivery in 5 days",
  "isChoice": false,
  "isFreeShipping": true,
  "badges": [
    "Fastest delivery in 5 days",
    "Free shipping",
    "Wireless | PC | Dynamic | In-Ear | Bluetooth"
  ],
  "primaryImageUrl": "https://ae-pic-a1.aliexpress-media.com/kf/S623d5c89b35e423e8575ff54bbfcf345r.jpg",
  "imageCount": 7,
  "images": [
    "https://ae-pic-a1.aliexpress-media.com/kf/S623d5c89b35e423e8575ff54bbfcf345r.jpg",
    "https://ae-pic-a1.aliexpress-media.com/kf/S6c6a768122e49a1b10829f305007677M.jpg"
  ],
  "searchQuery": "wireless earbuds",
  "country": "US",
  "pageNumber": 1,
  "scrapedAt": "2026-11-11T17:50:20Z"
}
```

# Actor input Schema

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

Enter search keywords (e.g., 'wireless earbuds', 'mechanical keyboard', 'smart watch') or direct AliExpress search URLs ('https://www.aliexpress.com/w/wholesale-...html').

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

Sort order for AliExpress product search.

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

Optional minimum price filter in the selected currency (0 = no minimum).

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

Optional maximum price filter in the selected currency (0 = no maximum).

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

When enabled, filters results to items offering free shipping.

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

2-letter ISO country code for localized pricing & shipping (e.g., US, GB, DE, FR, ES, CA, AU, BR, ID, SG).

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

3-letter currency code (e.g., USD, EUR, GBP, CAD, AUD, BRL, IDR).

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

AliExpress locale code (e.g., en_US, de_DE, fr_FR, es_ES, pt_BR, id_ID).

## `includeSponsored` (type: `boolean`):

Include promoted/ad search cards in output (deduplicated by productId).

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

Maximum number of unique products to extract per query (~55-60 products per page).

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

Optional Apify Proxy configuration. Works without proxies for light runs; residential proxies are recommended for large-scale extraction.

## Actor input object example

```json
{
  "queries": [
    "wireless earbuds",
    "mechanical keyboard"
  ],
  "sortBy": "total_tranpro_desc",
  "minPrice": 0,
  "maxPrice": 0,
  "freeShippingOnly": false,
  "country": "US",
  "currency": "USD",
  "language": "en_US",
  "includeSponsored": true,
  "maxItems": 60,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {
    "queries": [
        "wireless earbuds",
        "mechanical keyboard"
    ],
    "sortBy": "total_tranpro_desc",
    "country": "US",
    "currency": "USD",
    "maxItems": 60
};

// Run the Actor and wait for it to finish
const run = await client.actor("wyle/aliexpress-search-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": [
        "wireless earbuds",
        "mechanical keyboard",
    ],
    "sortBy": "total_tranpro_desc",
    "country": "US",
    "currency": "USD",
    "maxItems": 60,
}

# Run the Actor and wait for it to finish
run = client.actor("wyle/aliexpress-search-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": [
    "wireless earbuds",
    "mechanical keyboard"
  ],
  "sortBy": "total_tranpro_desc",
  "country": "US",
  "currency": "USD",
  "maxItems": 60
}' |
apify call wyle/aliexpress-search-scraper --silent --output-dataset

```

## MCP server setup

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