# AliExpress Search Scraper: Products, Price, Orders, Rank (`arcadium/aliexpress-search`) Actor

AliExpress product search results (price, units sold, rating, rank) for search terms, $2.25 per 1,000 products. zen-studio, kawsar, devcake and thirdwatch input works. Discount, ship-from, ad flag, up to 3,600 per keyword, $0.02 market report. Free error rows.

- **URL**: https://apify.com/arcadium/aliexpress-search.md
- **Developed by:** [Arcadium Data](https://apify.com/arcadium) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% 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.
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, Price, Orders, Rank

Find winning products for dropshipping, track how a keyword's prices and best sellers move, or feed a product research agent. Type keywords and get the AliExpress search results as one JSON row per product: title, price, original price and discount, units sold, rating, ship-from country, delivery estimate, ad flag and the position in the results. $2.25 per 1,000 products on the free plan, and you pay only for the rows you get.

**Why this actor**

- **Drop-in input.** Input written for `kawsar/aliexpress-search-scraper` (`keywords`, `maxItems`, `sort`, `minPrice`, `maxPrice`), `zen-studio/aliexpress-scraper` (`keywords`, `maxResults`, `sort`, `priceMin`, `priceMax`, `shipFrom`), `devcake/aliexpress-products-scraper` or `thirdwatch/aliexpress-product-scraper` (`searchQueries`/`queries`, `maxProducts`/`maxResults`, `sortBy`, `shipFromCountry`, `freeShippingOnly`) works as it is.
- **Runs that finish.** 38 of our 38 runs since 2026-10-21 succeeded (our scheduled and test runs, from the Apify run history). A keyword that cannot be read is a free `error` row with a `code`, and the other keywords still arrive.
- Up to 3,600 products per keyword, with price and shipping filters.
- Optional validation report per keyword ($0.02): price quantiles, sales spread and 12 months of Google Trends interest from the same run.
- Run it weekly with the same keywords and the `position` field gives you a rank history.
- Only product listing data, no buyer or seller personal details. Free error rows with a machine-readable `code` (`not_found`, `blocked`, `unavailable`...), so an agent knows whether to retry.

| Row | Free plan | Starter (Bronze) | Scale (Silver) | Business (Gold) and up |
| --- | --- | --- | --- | --- |
| Product | $2.25 per 1,000 | $2.00 per 1,000 | $1.75 per 1,000 | $1.50 per 1,000 |
| Validation report (optional, per keyword) | $0.02 | $0.02 | $0.02 | $0.02 |

Built by Arcadium Data: public data, dated and agent-ready, never personal data.

### Use with AI agents

Returns AliExpress search results (price, discount, units sold, rating, ship-from country, delivery estimate, ad flag, rank) for keywords. Agents can call it through the Apify MCP server (`https://mcp.apify.com`, open source as `apify/actors-mcp-server`) as `arcadium/aliexpress-search`: the input schema is read from the actor, the result is a dataset of JSON rows.

Input example (minimal):

```json
{
  "searchTerms": [
    "phone case"
  ],
  "maxResultsPerTerm": 30
}
```

What comes back: one `product` row per search result (charged) and a free `error` row for a keyword that could not be read. Filter on the `rowType` field. An input that fails is reported, not hidden (`includeErrorRows`, on by default): the error row carries `rowType: "error"`, a `code` (`invalid_input`, `not_found`, `blocked`, `unavailable`, `filter_unsupported` or `no_match`), a `message` and the `input` it is about. Retry on `blocked` and `unavailable` later; do not retry the other codes with the same input.

Cost of the call above: 30 products at $2.25 per 1,000 plus the $0.001 start fee is about $0.07 on the free plan; paid plans pay less. Free rows are never charged.

Need a verdict on a niche, not a product list? Add `"includeValidationReport": true`: after each keyword's products you get one `validation_report` row (price, sold and rating distributions, ad share, Google Trends direction) for $0.02 per keyword. See [Validation report](#validation-report).

### What you get

| Field | What it holds |
| --- | --- |
| `productId`, `title`, `url` | The product id (the number in the product link), its title and link. |
| `price`, `priceMax`, `currency` | Current regular price. `priceMax` equals `price` unless the listing shows a range. Prices are in US dollars. On listings showing a new-user promo it is the struck-through regular price of the listed variant (empty only when none is shown). |
| `originalPrice`, `discountPercent` | The crossed-out price and the discount. |
| `promoPrice`, `promoType` | The new-user welcome price AliExpress shows first-time visitors (often $1.09), with `promoType: "new_user"`. Kept apart so it never passes for the real price. |
| `soldText`, `soldMin`, `soldCount` | Orders as the site shows them (`10,000+ sold`), that number as a plain figure, and the exact count when the site gives one. |
| `rating` | Average stars. Empty for products without ratings yet. |
| `imageUrl` | Main product image. |
| `shipFrom` | Warehouse country code (`CN`, `US`, ...) when the listing says. |
| `freeShipping`, `deliveryText`, `deliveryMinDays`, `deliveryMaxDays` | Shipping hints from the listing. Empty when it shows none. |
| `isChoice` | The product carries the site's Choice badge. |
| `isAd` | The row is a paid placement. |
| `looseMatch` | `true` when AliExpress found few real matches and listed loosely related products instead. |
| `searchTerm`, `searchRank` | The keyword and the position in the results (paid placements included). |
| `scrapedAt` | When the row was collected. |

Output example:

```json
{
  "rowType": "product",
  "platform": "aliexpress",
  "productId": "1005007097199333",
  "title": "Wireless LED Night Lights Motion Sensor Lights Closet Kitchen",
  "url": "https://www.aliexpress.com/item/1005007097199333.html",
  "price": 0.33,
  "currency": "USD",
  "originalPrice": 5.36,
  "discountPercent": 93,
  "soldText": "100K+ sold",
  "soldMin": 100000,
  "soldCount": 241114,
  "rating": 4.9,
  "shipFrom": "CN",
  "isAd": false,
  "searchTerm": "lamp",
  "searchRank": 1
}
```

### Input

```json
{
  "searchTerms": ["phone case", "usb cable"],
  "maxResultsPerTerm": 180,
  "sort": "orders",
  "minPrice": 2,
  "maxPrice": 10,
  "shipFrom": "US"
}
```

| Field | What it does |
| --- | --- |
| `searchTerms` | One or more keywords. Each is searched on its own. |
| `maxResultsPerTerm` | Default 60, up to 3,600 (60 pages of 60, which is as deep as AliExpress goes). |
| `sort` | `relevance` (the site's best match, default), `orders`, `priceAsc` or `priceDesc`. |
| `minPrice`, `maxPrice` | Price range in US dollars. |
| `shipFrom` | Two-letter warehouse country, for example `CN` or `US`. |
| `freeShipping` | Only products with free shipping. |
| `includeAds` | Keep paid placements (default). Turn off to drop them; they still count for the rank. |
| `includeValidationReport` | Off by default. On: one `validation_report` row per keyword, $0.02 each. |
| `trendsGeo` | Region of the Google Trends part of the report, for example `US`. Empty = worldwide. |
| `includeErrorRows` | A free row for every keyword that returned nothing. On by default. |

These field names are also accepted and read as ours: `keywords`, `searchQueries`, `queries` → `searchTerms`; `maxItems`, `maxResults`, `maxProducts` → `maxResultsPerTerm` (0 = 3,600; zen-studio's `maxResults` is a run total there and caps each keyword here); `sortBy` and the `sort` values `default`, `price_asc`, `price_desc` → our sort; `priceMin`, `priceMax` → `minPrice`, `maxPrice`; `shipFromCountry` → `shipFrom`; `freeShippingOnly` → `freeShipping`. Filters we do not have (`minRating`, `minOrders`, `country`, `currency`, `language`) are not supported and are ignored. kawsar's `sort: "rating"` has no AliExpress equivalent: it is read as `relevance` and the log says so.

### Validation report

One extra row per keyword that answers "is this niche worth entering?" from the products the run already collected, plus 12 months of Google Trends interest. Product rows stay exactly as they are; the report comes after them and is charged as its own event (`validation-report`, $0.02). A keyword that fails or is cut by your cost limit gets no report and no report charge.

```json
{
  "searchTerms": ["pet water fountain", "portable blender"],
  "maxResultsPerTerm": 300,
  "includeValidationReport": true,
  "trendsGeo": "US"
}
```

| Field | What it holds |
| --- | --- |
| `statedResults` | How many results AliExpress says the keyword has (all pages). |
| `sampleSize` | Products of this run the report is computed from. Use 300 or more for a stable picture. |
| `priceBands` | Per currency: `min`, `p10`, `median`, `p90`, `max` of the regular sale price (new-user promo prices left out). |
| `newUserPromoShare` | Share (0-1) of the sample that showed a new-user promo price. |
| `discountStats` | Share of discounted products and the median discount in percent. |
| `soldStats` | Units sold per product: distribution and the share with 100+ and 1,000+ sold (lower bounds, `10,000+ sold` counts as 10,000). |
| `salesConcentration` | Share of the sample's sales held by the top 1, 5 and 10 products, and the HHI. High = a few listings own the demand. The search page shows no seller, so this is per product, not per seller. |
| `adShare`, `choiceShare`, `freeShippingShare` | Share (0-1) of paid placements, Choice badges and free shipping in the sample. `adShare` is null when `includeAds` is off. |
| `ratingStats` | Mean and median stars, and the share of rated products at 4.5+, 4.0-4.5 and below 4.0. |
| `shipFromMix`, `deliveryMaxDaysMedian` | Warehouse countries and the median slowest delivery estimate. |
| `trends` | 12-month Google Trends interest: `monthly` index (0-100), `average`, `slopePerMonth` (index points per month), `lastVsFirstQuarterPct` and `direction` (`rising`, `flat`, `falling`). |
| `trendsStatus` | `ok`, `no_data` (too few searches) or `unavailable` (Google Trends rate-limited us; the rest of the report is complete). |

```json
{
  "rowType": "validation_report",
  "platform": "aliexpress",
  "searchTerm": "pet water fountain",
  "statedResults": 11830,
  "looseMatch": false,
  "sampleSize": 300,
  "sort": "relevance",
  "priceBands": [{ "currency": "USD", "products": 299, "min": 1.09, "p10": 1.96, "median": 17.4, "p90": 45.81, "max": 118.59 }],
  "newUserPromoShare": 0,
  "discountStats": { "shareDiscounted": 0.92, "medianPercent": 57 },
  "soldStats": { "productsWithSold": 267, "totalSoldMin": 138651, "min": 1, "p10": 2, "median": 25, "p90": 1403.2, "max": 14110, "share100Plus": 0.267, "share1000Plus": 0.103 },
  "salesConcentration": { "top1Share": 0.102, "top5Share": 0.365, "top10Share": 0.529, "hhi": 0.041 },
  "adShare": 0.25,
  "choiceShare": 0.783,
  "freeShippingShare": 0.317,
  "ratingStats": { "productsRated": 215, "ratedShare": 0.717, "mean": 4.64, "median": 4.9, "share45Plus": 0.851, "share40To45": 0.084, "shareBelow40": 0.065 },
  "shipFromMix": [{ "country": "CN", "share": 0.956 }, { "country": "US", "share": 0.044 }],
  "deliveryMaxDaysMedian": 11,
  "trends": {
    "geo": "US",
    "timeRange": "today 12-m",
    "monthly": [{ "month": "2025-10", "value": 13 }, { "month": "2026-06", "value": 86 }, { "month": "2026-10", "value": 21 }],
    "average": 34,
    "slopePerMonth": 1.9,
    "lastVsFirstQuarterPct": 41,
    "direction": "rising"
  },
  "trendsStatus": "ok",
  "generatedAt": "2026-10-22T04:20:54.004Z"
}
```

(`monthly` shortened here; a report holds 12-13 months.)

### Use it from an AI assistant

```text
Use the Apify actor "aliexpress-search" to research a niche.
Input: {"searchTerms":["pet water fountain"],"sort":"orders","maxResultsPerTerm":120}
Each dataset row is one product. Key fields: title, price, originalPrice, soldMin, rating, shipFrom, searchRank.
Run it, then show the 10 best sellers with price and rating and say which price band sells the most.
```

### Use it from code

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("arcadium/aliexpress-search").call(run_input={
    "searchTerms": ["phone case"],
    "maxResultsPerTerm": 120,
    "sort": "orders",
})
for p in client.dataset(run["defaultDatasetId"]).iterate_items():
    if p["rowType"] == "product":
        print(p["searchRank"], p["price"], p["soldText"], p["title"])
```

JavaScript:

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('arcadium/aliexpress-search').call({
  searchTerms: ['phone case'],
  maxResultsPerTerm: 120,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length, 'products');
```

### Pricing

You pay per product delivered, at the price of your Apify plan, plus $0.02 per validation report when you switch reports on. Error rows are free.

| Apify plan | Per 1,000 products | Per validation report |
| --- | --- | --- |
| Free | $2.25 | $0.02 |
| Starter (Bronze) | $2.00 | $0.02 |
| Scale (Silver) | $1.75 | $0.02 |
| Business (Gold) | $1.50 | $0.02 |
| Platinum | $1.50 | $0.02 |
| Diamond | $1.50 | $0.02 |

Plus a one-off $0.001 per GB of memory when a run starts.

Example: a validation report on 300 products for one keyword costs 300 x $0.00225 + $0.02 = about $0.70 on the free plan.

Set a maximum cost per run in the Apify run options and the actor stops before it goes over.

### Related actors

- [1688 Products Scraper: Wholesale Prices, MOQ, Suppliers](https://apify.com/arcadium/1688-products)
- [Google Trends Scraper: Interest, Related Queries, Trending](https://apify.com/arcadium/google-trends)

### Use cases

- Product research: sort by orders, then read the reviews of the winners.
- Price tracking: run daily on a fixed keyword list and compare `price` and `searchRank` over time.
- Category sizing: how many products, what price bands, how many sold. The validation report does the maths for you.
- Niche validation for dropshipping: compare 20 candidate keywords by sold median, sales concentration, ad share and Trends direction in one run.
- Supplier hunting: filter by warehouse country to find items that ship from the US.

### Limitations

- Public search results only. Nothing behind a login.
- Prices are in US dollars, in the US storefront. Other currencies and shipping destinations are not available. Every request asks for the US storefront explicitly, so the ship-from filter and the prices do not depend on the country of the proxy IP.
- AliExpress shows anonymous visitors a new-user welcome price (often $1.09) on many listings, up to most of a page. Those rows carry it in `promoPrice` with `promoType: "new_user"`; `price` holds the struck-through regular price of the listed variant, which can differ from the cheapest variant on the product page. When a promo listing shows no struck-through price, `price` is empty and the report's price bands skip it. AliExpress's own price filter (`minPrice`/`maxPrice`) matches the promo price, so in a filtered search promo rows can show a regular `price` above your maximum; filter on `price` afterwards if you need the regular price in range.
- The search page does not show the store, so there is no store name or id. Delivery and ship-from are missing on some listings; those fields are empty, never guessed.
- A price filter makes AliExpress return fewer products per page, so a filtered run reads more pages for the same number of rows, and the site may run out of matches before your limit.
- The results shown for a keyword are what the site decides to show at that moment: rank and ads change from run to run.
- The same product found by two keywords is returned once per keyword (its rank is different). Within one keyword it appears once.
- A keyword AliExpress cannot match gets loosely related products; those rows have `looseMatch: true`.
- The validation report describes the products of this run, so it follows your `sort`, filters and `maxResultsPerTerm`. Sold counts are the rounded bands the site shows. Google Trends is best effort: when Google rate-limits the request the report comes with `trendsStatus: "unavailable"` and is charged the same.

### Privacy

Only product listing data is collected: no buyers, no sellers' personal details.

### FAQ

**How fresh is the data?**
It is read when you run the actor, so it matches what the site shows at that moment.

**Why does `soldCount` differ from `soldMin`?**
The site shows rounded bands like `10,000+ sold`. `soldMin` is that number. `soldCount` is the exact counter, when the listing carries it.

**Why are some rows marked `isAd`?**
AliExpress mixes paid placements into its results. They are real products, so they are included by default and flagged. Set `includeAds` to false to leave them out.

**Something looks wrong in the output. Who do I tell?**
Open an issue on the actor page with the run link. We read them all.

# Actor input Schema

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

Keywords to search AliExpress for, for example "phone case". Each term is searched on its own and every product keeps the term and its position in the results. Also read from keywords, searchQueries or queries.

## `maxResultsPerTerm` (type: `integer`):

How many products to return per search term, for example 120. Default: 60. A results page holds about 60 products and AliExpress shows at most 60 pages, so 3,600 is the ceiling. Also read from maxItems, maxResults or maxProducts (other AliExpress actors' names; 0 = the ceiling).

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

Best match (the site's default), most orders, or price, for example orders. Default: relevance. The other AliExpress actors' values default, price_asc and price_desc are accepted too, and rating is read as relevance (also under the name sortBy).

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

Only products priced at or above this amount (in the shop currency, US dollars). Filtered result pages hold fewer products, so a run may need more pages to reach the maximum. Example: 2. Also read from priceMin.

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

Only products priced at or below this amount (US dollars), for example 10. Also read from priceMax.

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

Two-letter code of the warehouse country, for example CN or US. Leave empty for all. Also read from shipFromCountry.

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

Only products that ship for free. Default: false. Also read from freeShippingOnly.

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

Sponsored products are part of the search results. Each row has an isAd flag; turn this off to drop them (they still count towards the position).

## `includeValidationReport` (type: `boolean`):

Default off. On: one extra `validation_report` row per term, charged as its own event ($0.02 per report), computed from that term's product rows: stated result count, price p10/median/p90 per currency, sold-count distribution, sales concentration in the top products, ad, Choice and free-shipping shares, rating bands, and 12-month Google Trends interest with its slope. Use 300+ results per term for a stable picture.

## `trendsGeo` (type: `string`):

Example: `US`. Two-letter country code for the Trends part of the validation report; empty = worldwide. Ignored when the report is off.

## `includeErrorRows` (type: `boolean`):

Adds a free row for every term that returned nothing or could not be read, so a failure is never silent.

## `maxRetries` (type: `integer`):

How often a request is retried after a temporary error.

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

Leave empty. The actor picks the cheapest proxy that works.

## Actor input object example

```json
{
  "searchTerms": [
    "phone case"
  ],
  "maxResultsPerTerm": 30,
  "sort": "relevance",
  "freeShipping": false,
  "includeAds": true,
  "includeValidationReport": false,
  "trendsGeo": "",
  "includeErrorRows": true,
  "maxRetries": 3
}
```

# Actor output Schema

## `results` (type: `string`):

All rows of this run in the default dataset.

## `view_overview` (type: `string`):

No description

## `view_validation` (type: `string`):

No description

## `view_errors` (type: `string`):

No description

## `record_stats` (type: `string`):

Requests, data volume, retries and cost per result for this run.

# 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"
    ],
    "maxResultsPerTerm": 30,
    "sort": "relevance",
    "freeShipping": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("arcadium/aliexpress-search").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"],
    "maxResultsPerTerm": 30,
    "sort": "relevance",
    "freeShipping": False,
}

# Run the Actor and wait for it to finish
run = client.actor("arcadium/aliexpress-search").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"
  ],
  "maxResultsPerTerm": 30,
  "sort": "relevance",
  "freeShipping": false
}' |
apify call arcadium/aliexpress-search --silent --output-dataset

```

## MCP server setup

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

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/9OByOhW9L9CdZl95v/builds/HhFmJAzvNuQGUEUoW/openapi.json
