# AliExpress Search Scraper: Prices, Units Sold, Welcome Deals (`keremingo/aliexpress-search-scraper`) Actor

Scrape AliExpress search results: price, unrounded units sold, sold per day, rating, listing date. Flags welcome-deal (new user) prices and, where possible, estimates the price without the deal. Daily sales and price tracking per search, optional review summary. No variants, stock or shipping cost.

- **URL**: https://apify.com/keremingo/aliexpress-search-scraper.md
- **Developed by:** [Hasan YILMAZ](https://apify.com/keremingo) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 4 total users, 1 monthly users, 81.8% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 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

### What does AliExpress Search Scraper do?

It scrapes **AliExpress search results** by keyword or search page URL into a row for each product found: price, product URL and, where AliExpress sends them, **unrounded units sold**, sold per day, the crossed-out price and discount, star rating, listing date, ships-from country and all card images. It also tells you which prices are **welcome deals** for new shoppers and, where the card shows an ordinary price, estimates the **price without the deal**.

**Try it:** start a run with the prefilled input, 60 products for "phone case". It costs $0.15 on the Free tier and took well under a minute in our tests.

It reads search results only: no variants, stock, shipping cost, seller ratings or specifications, and no product-page URLs as input.

What you get on top of the usual fields:

- **The price without the welcome deal.** A scraper reads AliExpress without logging in, and for many products AliExpress shows such a visitor the price a first-time shopper gets, printed on many cards as "New shoppers save …" or "New shoppers - …". In a test run with ship-to United States, 453 of 600 rows carried a new-shopper price. For the 299 of them that showed an ordinary price, `priceWithoutNewShopperDeal` estimates what the product costs without the deal: at the median 3.3 times the price shown. The other 154 were "FREE with any purchase" offers and bundle deals, which are flagged and get no estimate. With ship-to Germany or France, no row carried a new-shopper price.
- **Units sold, unrounded.** The site rounds its sold count to "5K+ sold"; the row has 5069. `soldPerDay` divides it by the age of the listing. With a tracking ID and a daily schedule the Actor works as a sales tracker and price tracker for the products of a search: later runs add the change in the sold figure since the previous run and, for rows that have `priceWithoutNewShopperDeal` in both runs, the change in price.
- **A run that tells you whether it worked.** Every keyword gets a status. By default a run that returns no products because AliExpress could not be read fails instead of ending as an empty success; when AliExpress itself says that nothing matches, or no product passed your filters, the run succeeds and its status message says so.

Optionally, a row also gets a review summary with up to 20 customer reviews. The Actor is built for product research, best-seller lists, price monitoring and automations (Make, n8n, Zapier, AI agents), where a run that returns nothing without saying why is worse than a run that fails.

### What data do you get?

Fields in every row. A field is empty when AliExpress does not send the value.

| Group | Fields |
| --- | --- |
| Identity | `productId`, `canonicalProductId`, `skuId`, `url`, `title`, `imageUrl`, `imageUrls`, `storeName` |
| Price | `price` (number), `priceWithoutNewShopperDeal`, `originalPrice`, `discountPct`, `currency`, `priceText`, `priceSource`, `newShopperDeal`, `bundleDeal`, `promoLabel` |
| Demand | `soldCount` (number), `soldCountIsMinimum`, `soldText`, `rating` |
| Listing age | `listedAt`, `daysListed`, `soldPerDay` |
| Labels | `isSponsored`, `isChoice`, `freeShipping`, `localWarehouse`, `shipsFrom`, `deliveryDays`, `deliveryDaysMax`, `lowestPriceDays`, `tags` |
| Context | `keyword`, `searchUrl`, `sort`, `page`, `position`, `looseMatch`, `shipTo`, `scrapedAt` |
| Review insights (optional) | `reviewInsightsStatus`, `reviewCount`, `ratingCount`, `averageStar`, `positiveRate`, `stars5` … `stars1`, `photoReviewCount`, `latestReviewDate`, `reviewKeywords`, `reviewsFromSimilarItems`, `reviews` |
| Tracking (optional) | `trend`, `soldDelta`, `soldPerDaySincePrevious`, `priceDelta`, `reviewDelta`, `reviewsPerDaySincePrevious`, `previousScrapedAt`, `previousSoldCount`, `previousPrice`, `previousPriceWithoutNewShopperDeal`, `previousReviewCount`, `firstSeenAt` |

Some fields depend on the country and on the card layout AliExpress uses. In our tests `storeName` came with about half of best-match cards and with none of the cards sorted by most orders; delivery estimates and "lowest price" labels were rare outside the United States.

### Why use this AliExpress scraper?

- **The price without the welcome deal, not the crossed-out price.** `newShopperDeal` flags prices AliExpress marks as new-shopper prices, and `priceWithoutNewShopperDeal` estimates the price without that deal from the promotions AliExpress lists for the card. The crossed-out price (`originalPrice`) is a poor stand-in: across the 299 rows of the test run above it was at the median 12% above the estimate, equal to it on 36 rows, higher on 263 and at least twice as high on 119. `bundleDeal` flags prices that hold only when several items are bought together, and `priceSource` tells you when a card showed an offer instead of a price.
- **It does not fake success.** Every keyword gets a status in the run summary. By default a run that returns no products because AliExpress could not be read (blocked requests, pages or product cards that could not be read, only recommendation cards) ends as FAILED, with the reason in the status message. A run whose answer is empty, because AliExpress reports that nothing matches or because no product passed your filters, ends as SUCCEEDED with a status message that begins "No products matched". Switch on **Also fail when nothing matched** (`failOnNoMatch`) if any empty run should fail. When AliExpress has no real match and shows loosely related items instead, those rows are flagged with `looseMatch: true`.
- **Charged per row you receive.** You are charged per returned row, plus per successful review look-up if you ask for reviews; the only other charge is Apify's start event, from $0.00005 per run. Pages that fail or are blocked are not charged by this Actor. It stops before a row that your maximum charge cannot fully cover, and after a platform restart it continues from the last saved page without delivering rows twice.
- **Unrounded sold counts.** AliExpress sends the unrounded figure along with most cards, and the Actor uses it when it agrees with the card. Otherwise you get the figure on the card, and `soldCountIsMinimum: true` tells you when that figure is rounded. The text on the card stays in `soldText`.
- **It reports what AliExpress applied.** Each row states the currency of its price. The run summary states the sort order AliExpress applied and warns when the sort order or the currency differs from your request.

### How to scrape AliExpress search results

1. Enter one or more **search keywords**, or paste the address of an AliExpress search or category results page (with any filters you set on the site) into **Search page URLs**. Entries that lead to the same search, such as "t-shirt" and "t shirt" or a keyword and the address of its own search page, are run once; a warning in the run summary names them.
2. Choose how many products you want per keyword (60 products is one AliExpress page) and the sort order. "Most orders" is the usual choice for best sellers.
3. Set the **ship-to country** and currency. Prices and promotions on AliExpress depend on the country.
4. Optional: switch on **review insights**, ask for a few **reviews per product**, add filters, or give the run a **tracking ID**.
5. Run the Actor and export the dataset as JSON, CSV or Excel, or read it through the API. For a spreadsheet, choose the Overview view (17 columns); the full export has 69 fields, and lists such as the images take a column per entry.

### Input example

```json
{
    "keywords": ["phone case", "led strip lights"],
    "maxProductsPerKeyword": 120,
    "sort": "orders",
    "shipTo": "US",
    "currency": "USD",
    "minSold": 500,
    "minRating": 4.5,
    "includeReviewInsights": true,
    "trackingId": "phone-accessories-us"
}
```

### Output example

Illustrative values, shortened: a real row has every field from the table above.

```json
{
    "productId": "3256812407941674",
    "canonicalProductId": "1005012594256426",
    "url": "https://www.aliexpress.com/item/3256812407941674.html",
    "title": "Shockproof Matte Phone Case ...",
    "price": 1.09,
    "priceWithoutNewShopperDeal": 2.07,
    "originalPrice": 4.14,
    "discountPct": 73,
    "currency": "USD",
    "priceText": "US $1.09",
    "priceSource": "card",
    "newShopperDeal": true,
    "bundleDeal": false,
    "promoLabel": null,
    "soldCount": 5069,
    "soldCountIsMinimum": false,
    "soldText": "5K+ sold",
    "rating": 4.8,
    "listedAt": "2026-06-20",
    "daysListed": 144,
    "soldPerDay": 35.2,
    "isSponsored": false,
    "isChoice": true,
    "freeShipping": true,
    "shipsFrom": "CN",
    "deliveryDays": 7,
    "deliveryDaysMax": 12,
    "tags": ["Fastest delivery in 7 days", "Free shipping"],
    "keyword": "phone case",
    "sort": "orders",
    "page": 1,
    "position": 1,
    "shipTo": "US",
    "scrapedAt": "2026-11-11T12:00:00+00:00",
    "reviewInsightsStatus": "ok",
    "reviewCount": 1126,
    "averageStar": 4.7,
    "photoReviewCount": 85,
    "reviewKeywords": ["good quality (47)", "as described (37)"],
    "trend": "rising",
    "previousScrapedAt": "2026-11-09T12:00:00+00:00",
    "previousSoldCount": 4957,
    "soldDelta": 112,
    "soldPerDaySincePrevious": 56.0,
    "priceDelta": 0.0
}
```

### Price without the AliExpress welcome deal

AliExpress gives first-time shoppers a lower price, its welcome deal, and often shows such prices to visitors who are not logged in, which is how a scraper reads the site. Many cards print it as "New shoppers save …" or "New shoppers - …". On a card whose price includes such a new-shopper allowance, the data AliExpress sends with the card lists the promotions behind that price and names the allowance among them. `priceWithoutNewShopperDeal` is the shown price plus that allowance, assuming the other promotions stay. For a row that shows an ordinary price without a new-shopper deal it equals `price`.

It is an estimate on the high side. In a test on 27 products that one visitor saw with a new-shopper price and another visitor without, the price shown to the second visitor was never more than 2 cents above this figure and at most 16% below it. For those 27 products the new-shopper price was at the median 2.5 times lower than the price the second visitor was shown, and up to 11 times.

How often it applies depends on the country and the keyword. In a test run of 600 rows with ship-to United States (two keywords, best match, 11 November 2026), 453 rows carried a new-shopper price: 299 on an ordinary price, all of them with an estimate, 128 as "FREE with any purchase" offers and 26 as bundle deals, both without one. On the 299 rows the estimate was at the median 3.3 times the price shown, which was US $1.09 on 242 of them. In 14 other runs of the same two hours the median was between 2.0 and 5.5 times, depending on keyword, sort order and country. In runs of 120 rows for "phone case" in the same hour (most orders for the United Kingdom, Germany and France, best match for Japan), 108 rows carried a new-shopper price with ship-to United Kingdom (80 with an estimate, at the median 2.0 times the price shown) and 85 with ship-to Japan (44 with an estimate, 2.2 times); with ship-to Germany or France, none did.

It is not the crossed-out price. Across those 299 rows the crossed-out price (`originalPrice`) was at the median 12% above the estimate: equal to it on 36 rows, higher on 263 and at least twice as high on 119. It is not below the estimate, because the estimate is capped at the crossed-out price.

The new-shopper price itself is not one price. In two runs less than two hours apart, the same product and variant was shown at US $3.60 and at US $1.09, both marked as new-shopper prices; the price without the deal was US $3.70 both times. Across 199 products that two or more runs within two hours returned with a new-shopper price on an ordinary card, the shown price differed between runs for 13 and the price without the deal for 1; for those 13, the price without the deal was the same in every run. Compare products, and the same product over time, on `priceWithoutNewShopperDeal`.

The field is empty when the allowance cannot be pinned down: bundle-deal cards, cards that show an offer instead of a price, cards whose data does not name the allowance or would put the figure more than about a cent above the crossed-out price (within that margin the figure is set to the crossed-out price), and pages where the amounts cannot be checked. Switch on **Price filters ignore new-shopper deals** to make Min price and Max price use this figure.

### How many units does an AliExpress product sell per day?

AliExpress prints one sold figure on a card ("5K+ sold") and does not say which period it covers. The Actor returns the unrounded figure in `soldCount` and turns it into a daily pace in two ways:

- `soldPerDay` is `soldCount` divided by the days since the listing date. It needs one run and is an average over the whole life of the listing, so for an old listing it says little about what the product sells today.
- `soldPerDaySincePrevious` is the change in the sold figure between two runs with the same tracking ID, divided by the days between them. It needs two runs at least 12 hours apart and shows the pace now.

How to read that change depends on the age of the listing. We compared 261 products that three searches returned both on the evening of 11 November 2026 and 14 hours later. Of the 105 listings younger than 450 days, the sold figure went up for 58, stayed the same for 45 and went down for 2, by 3 and by 30 units. Of the 156 older listings it went up for 41, stayed the same for 57 and went down for 58, by up to 290 units. A figure that only counted up would not go down, so for older listings it loses sales as well as gaining them. It may cover a recent period only, or orders may be taken out of it later; AliExpress does not say, and we could not tell which.

A day apart, with two other searches, young listings behaved the same and old ones fell less often. Two best-match searches were run again 25 to 27 hours later, and 214 products could be compared. Of the 155 listings younger than 450 days, the figure went up for 71, stayed the same for 79 and went down for 5, by at most 18 units. Of the 59 older ones it went up for 26, stayed the same for 25 and went down for 8, by up to 82. The most-orders search of the first test, run again a day later, still had 32 of 86 older listings down. Both tests ran on 11 and 12 November, around AliExpress's 11.11 sale, so an ordinary day may look different; the amounts are probably smaller.

- For a listing younger than about 15 months, a daily `soldDelta` is our best estimate of the units sold since the previous run. A single run can still show 0, or a small fall, for a product that sells every day: in the first test, a 51-day-old listing with 7,384 units sold did not move in 14 hours and was 7 lower a day later; in the second, 4 of 38 young listings with a lifetime pace of five or more a day did not move in a day and 3 fell.
- For an older listing, read it as a direction: a rising figure probably understates the units sold, and a falling figure does not mean that nothing was sold.

`daysListed` tells you which of the two a row is.

AliExpress seems to update the figure about once a day. On our first test day the figure was the same for all 549 products seen twice between 11:48 and 13:12 UTC. Between 16:33 and 17:15 UTC, which is after midnight in China, it changed for 23 of 101 tracked products; and of 116 products seen at 17:12, at 18:55 and at 07:04 the next morning, it changed for 12 before 18:55, for 62 after it, and for none twice. So run tracked searches once a day, at the same hour; around noon UTC is a safe choice, because the figures were not moving then in our tests. Runs a few hours apart show no change for most products.

### Track AliExpress prices and sales between runs

With a tracking ID and a schedule, the Actor works as a daily price tracker and sales tracker for the products of a search, for example the best sellers of a niche. It follows the products that your searches return; it does not take a list of product URLs to watch.

1. **Save your input as a task**: keywords or search page URLs, the sort order ("Most orders" for best sellers), 120 or more products per keyword, and a **tracking ID** such as `phone-cases-us`.
2. **Schedule the task once a day**, at the same hour. Around noon UTC is a safe choice: in our tests the sold figures were changing from the late afternoon into the night (UTC). The first run only records. A daily run of 120 products for one keyword costs $0.30 on the Free tier, about $9 a month, which is more than the $5 monthly credit of Apify's free plan.
3. **Open the "Trends and reviews" view** of the results from the second run on. It shows `trend`, `soldDelta`, `soldPerDaySincePrevious`, `priceDelta`, `reviewDelta` and `daysListed`; the prices of the previous run are in the full table and the API. Each product is compared with the last run that returned it:

- `soldDelta` and `soldPerDaySincePrevious`: the change in AliExpress's sold figure since that run, in total and per day. Filled when both runs have the unrounded sold figure. The figure can also go down; the section above says how to read it;
- `priceDelta`: change in `priceWithoutNewShopperDeal`, so a different new-shopper deal on the next visit does not count as a price change. Like is compared with like: two figures worked out from new-shopper prices, or two prices shown without a deal. It is empty when one run saw a new-shopper price and the other did not, because the worked-out figure can sit above the plain price, and when either run has no such price, as with bundle deals. `previousPrice` and `previousPriceWithoutNewShopperDeal` hold the two prices of the previous run;
- `reviewDelta` and `reviewsPerDaySincePrevious`: change in the number of written reviews. Filled when both runs fetched **review insights**;
- `trend`: `new` (first time seen), `rising`, `flat` or `falling`. It follows `soldDelta`. When the sold figures could not be compared it follows `reviewDelta`, where more reviews mean `rising` and anything else `flat`: in our tests the review count of some products went down by a few between runs, and fewer reviews do not mean fewer sales. It stays empty when neither could be compared.

Things to keep in mind. A results page does not hold the same products on every visit: of the top 20 for one keyword, 6 were different two minutes later. Track more products than you need, 120 or more per keyword, so that enough of them are found again. Two runs of 60 best sellers half a minute apart had 33 products in common, 28 of them in the first 30 positions: AliExpress served one of them a half-filled first page, so its other 30 rows came from page 2. A day apart, a most-orders search returned 94 of its 120 products again and two best-match searches 205 of their 480: a most-orders list usually changes less, though a half-filled page can still change much of it. A price change needs `priceWithoutNewShopperDeal` in both runs, which a bundle-deal row never has: in one tracked run of 120 best sellers, 119 had been seen before and 63 of them got a `priceDelta`; 44 of the other 56 were bundle deals. A product is only ever compared with the last run that returned it: if that run had no sold figure or no review insights for it, the fields stay empty instead of reaching back to an older run. Tracking data is updated when a run finishes; a run that is aborted or times out does not update it, unless it is resurrected and then finishes. Use one tracking ID per schedule, and do not run two runs with the same ID at the same time. The data is kept in a key-value store named after the tracking ID; products that no tracked run has seen for 120 days are forgotten.

### Run summary and statuses

Besides the dataset, a run writes a `RUN_SUMMARY` record to the key-value store. Read it in automations to decide whether to trust the run. Its keys are `startedAt`, `finishedAt`, `stoppedEarly`, `error`, `totals`, `keywords` (one entry per keyword or URL), `keywordsNotProcessed`, `emptyResult` and `settings`. Each entry in `keywords` has a `status`, the number of `products` returned, page counts, the sort order AliExpress applied, counts of skipped cards and a list of `warnings`.

| Status | Meaning |
| --- | --- |
| `ok` | Rows were returned and every page that was read loaded. It can be fewer rows than you asked for: compare `products` with your request and read `warnings`. |
| `partial` | Rows were returned, but at least one page failed or was blocked. |
| `loose_match` | AliExpress had no real match and showed loosely related items; the rows are flagged with `looseMatch`. |
| `no_results`, `all_filtered_out` | Pages were read and nothing was returned: nothing was found, or nothing passed your filters. When AliExpress reports results but shows only recommendation cards, the status is `no_results` and a warning says so. |
| `blocked`, `failed` | No usable page: AliExpress blocked the request, or the page could not be loaded or read. |
| `stopped` | The maximum charge you set was reached. |
| `interrupted` | The run was aborted or crashed while this keyword was in progress. Rows delivered until then are in the dataset. After an abort, the page that was being read is not delivered and not charged. |

When a run returns no products, `emptyResult` says why, and the run status follows it. `nothing_matches`: AliExpress itself reported that nothing matches (a page of type `zero_result`, or a count of 0 on a page that names no type). `filtered_out`: every page and product card was read, the filters checked at least one product on its real values, and none passed (for **Free shipping only** and **AliExpress Choice only**, a label that was not read cannot be told from a product without it). `nothing_matches_or_filtered_out`: one or the other for every keyword. These three end as SUCCEEDED, with a status message that begins "No products matched". `not_read`: anything else, for example blocked requests, pages or cards that could not be read, pages with only recommendation cards, a `no_results` on a page that does not say that nothing matches, or a run that was stopped early or cut short; with **Fail a run with no products unless nothing matched** (`failOnEmpty`, on by default) it ends as FAILED (an aborted run stays ABORTED). With **Also fail when nothing matched** (`failOnNoMatch`) every run without products fails. `emptyResult` is `null` when the run returned products.

### How much does it cost to scrape AliExpress?

This Actor uses pay-per-event pricing: you pay for the rows and review look-ups that are delivered, plus Apify's start event for each run. Platform usage (compute and proxy) is included.

| Event | Charged for | Free tier | Gold tier and higher |
| --- | --- | --- | --- |
| `product` | each product row in the dataset | $0.0025 ($2.50 per 1,000) | $0.002 ($2.00 per 1,000) |
| `review-insight` | each successful review look-up, only when you switch on review insights or ask for reviews per product | $0.002 ($2.00 per 1,000) | $0.0016 ($1.60 per 1,000) |
| Actor start | each run, Apify's standard start event; once more for every GB of memory above the first, and again when a run is resurrected | $0.00005 | $0.00005 |

The tiers are Apify's Store discount tiers, which follow your Apify plan; the prices for Bronze and Silver lie in between. If this table and the Pricing tab ever differ, the Pricing tab is what you are charged.

Examples on the Free tier: the prefilled run of 60 products costs $0.15. 1,000 best sellers cost $2.50, or up to $4.50 with a review look-up for each (a look-up that fails is not charged). The $5 of monthly credit on Apify's free plan is enough for about 2,000 product rows.

Not charged: pages that fail or are blocked, recommendation cards, products that your filters remove and review look-ups that fail. A run that delivers nothing costs the start event only. A product that turns up under two keywords is a row, and a charge, under each. Set a maximum cost per run and the Actor stops before a row that the limit cannot fully cover.

### Use with AI agents and automations

The input and output are described field by field, so the Actor can be called as a tool by AI agents through the Apify MCP server and from Make, n8n and Zapier through the standard Apify modules. Useful defaults for agents: keep `failOnEmpty` on, and read `RUN_SUMMARY` before using the rows.

### Limits you should know

- **Search data only.** Product-page details such as the list of variants, stock, shipping cost, seller ratings, specifications and descriptions are not included, and product URLs cannot be used as input: AliExpress puts product pages behind a visitor check that this Actor does not try to get around. A product or store address, or a web address typed as a keyword, is refused before the run starts, so it costs nothing.
- **`price` is what AliExpress shows in search**, for the lowest-priced variant and after its promotions. The Actor reads AliExpress without logging in, so it sees the prices AliExpress shows to such visitors, and a new-shopper price can differ from one visit to the next. Use `newShopperDeal`, `bundleDeal` and `priceWithoutNewShopperDeal` to judge it.
- **Some cards show an offer instead of a price**, for example "FREE with any purchase". For those rows `price` and `originalPrice` come from the listing data sent with the card (`priceSource: listing_data`); the card shows nothing to check them against.
- **`position` is the place in AliExpress's list, not a rank.** With "most orders", AliExpress puts each page in order separately, so later pages contain products with more orders than earlier ones. Sort the rows by `soldCount` for a ranking.
- **`soldPerDay` is `soldCount` divided by the age of the listing**, and it relies on the launch date AliExpress reports. Because the sold figure is not a running total (see "How many units does an AliExpress product sell per day?"), it can understate the pace of a listing that has been on sale for long.
- **The sold figure is AliExpress's own number.** AliExpress does not publish how it counts it or which period it covers; in our tests it went down from one day to the next for some older listings. The Actor passes it on unchanged.
- **Unrounded sold counts, crossed-out prices and store names are not printed on the card.** They come from the listing data AliExpress attaches to a card for its own use, which AliExpress can change or remove at any time. Where the card shows the same thing, the listing figure is used only if it agrees with the card; when it is missing or disagrees, the row carries the card's figure or leaves the field empty.
- **Labels are what the card prints.** `freeShipping`, `lowestPriceDays` and `tags` reflect the labels on the card, and AliExpress does not print every label on every card layout. `shipsFrom` is where the offer on the card ships from; a product can have other warehouses.
- **Reviews are a sample, not the full list.** "Reviews per product" adds up to 20 reviews per product, the first ones AliExpress shows. Reviewer names are left out. When AliExpress pools reviews from similar items, the row says so in `reviewsFromSimilarItems`.
- **Filters run after download.** With filters the Actor reads up to three times as many pages to reach your target, stops after 5 pages if nothing has passed by then, and still charges only for returned products. To let AliExpress filter instead, set the filters on the site and paste the search page URL.
- **Recommendation cards are skipped.** AliExpress fills some result pages up with "you may also like" cards. They are not returned and not charged; the run summary counts them. Sometimes AliExpress serves one visitor a short list and then only such cards, while the next visitor gets the full list. A page of nothing but recommendation cards is therefore requested once more through a new connection, at most twice per keyword plus once for every four pages the request needs (`pagesRequestedAgain` in the run summary). If the results still do not come, the keyword ends early with a warning that says so.
- **At most 60 result pages per keyword and 100 keywords or URLs per run.** Sixty pages are 3,600 cards on paper, but pages repeat products and carry recommendation cards: a test run that asked for 3,600 products of one keyword returned 2,641 different ones. In some countries and sort orders AliExpress serves half-filled pages; a test for 600 best sellers in Germany returned between 481 and 600. The run summary says how many came back and why.
- **Blocks are reported, not bypassed.** If AliExpress shows a CAPTCHA or block page, that page is marked `blocked` and the keyword stops there. Nothing is solved or retried, and two blocked keywords in a row stop the run.

### FAQ

**Is it legal to scrape AliExpress?** The Actor reads only publicly visible search results and reviews, without logging in. Reviewer names are left out; review texts may still count as personal data where you live. You are responsible for how you use the data and for following the laws and terms that apply to you; if in doubt, ask a lawyer.

**What is an AliExpress welcome deal, and why does it matter for scraped prices?** It is the lower price AliExpress gives a shopper on a first order. Visitors who are not logged in are shown such prices on many products, so a scraped price is often one that a returning customer does not get. `newShopperDeal` tells you when that is the case and `priceWithoutNewShopperDeal` estimates the price without it; see the section on the price without the welcome deal for how close the estimate was in our tests and when it is empty.

**Can I get the regular price instead of the new user price?** A search card has no field called regular price. The closest figure the Actor has is `priceWithoutNewShopperDeal`: an estimate of the price shown without the welcome deal for new users, with the other promotions on the card left in. `originalPrice` is the crossed-out price, which was higher than that figure on most rows we tested. Neither is the price at checkout.

**Is `priceWithoutNewShopperDeal` the price I will pay?** No. It is an estimate of the price shown in search without the new-shopper allowance, for the lowest-priced variant. Shipping, tax, coupons and the variant you choose change what you pay at checkout, and the Actor does not read product or checkout pages.

**Is this an AliExpress price tracker or sales tracker?** For the products of a search: give daily runs the same tracking ID, and a row shows the change in its sold figure and, where both runs have `priceWithoutNewShopperDeal` for it, the change in its price (63 of 119 best sellers in one test; bundle-deal rows never have it). It does not watch a list of product URLs: a product is followed for as long as your searches return it. See "Track AliExpress prices and sales between runs".

**How do I find AliExpress best sellers?** Set **Sort by** to "Most orders". The rows come in the order AliExpress gives them, each with its `soldCount`. `soldPerDay` and, with a tracking ID, `soldPerDaySincePrevious` and `trend` help to tell which of them are selling now. Many best sellers are old listings, for which these fields give a direction only; **Max listing age** narrows a search to recent ones.

**What does the sold count on AliExpress mean?** It is AliExpress's own figure for units sold, and AliExpress does not say which period it covers. In our test it went down within 14 hours for 58 of 156 listings older than 450 days, so for old listings it is not a running total. See "How many units does an AliExpress product sell per day?".

**Do I need proxies?** Residential proxies are the default and recommended; the Actor was tested with them.

**Why do some rows have no price, rating or sold count?** AliExpress does not send them with every card, for example on sponsored placements or brand-new listings. A value AliExpress did not send is `null`; the Actor does not fill it in.

**The site says "5K+ sold" but the row says 5069. Which is right?** Both: the site rounds down, and the row carries the unrounded figure AliExpress sent with the same card. `soldText` keeps what the site showed.

**Why is the currency different from what I asked for?** AliExpress decides the currency from the country and its own rules. The `currency` field states the currency AliExpress gave for the price.

**Something broke. What now?** Open an issue on the Issues tab and include the run ID. If you can, run once more with "Keep raw pages for troubleshooting" set to 1, so the page AliExpress sent can be looked at.

# Actor input Schema

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

What to search for on AliExpress, one keyword or phrase per line, for example "phone case". Words only: a web address is refused before the run starts. Each keyword is searched separately and gets its own status in the run summary. Keywords that lead to the same search ("Phone Case" and "phone case", "t-shirt" and "t shirt") are run once, and the run summary names them. Invisible characters that come with copy and paste are removed. A product that turns up under two different keywords is returned, and charged, once for each. Up to 100 keywords and URLs per run, 200 characters per keyword.

## `startUrls` (type: `array`):

Instead of (or besides) keywords, paste the address of an AliExpress search or category results page, for example after you set filters on the site. The address must contain aliexpress.com/ or aliexpress.us/ followed by w/, wholesale or category/; any other address, such as a product or store page, is refused before the run starts. The filters in the address are kept. The Actor walks through the pages itself, so a page number in the address is ignored. An address that leads to the same search as another entry (a keyword above, or the same address with another page number or a click-tracking parameter) is run once. Product pages and store pages are not supported.

## `maxProductsPerKeyword` (type: `integer`):

How many products to return for each keyword or search page URL, from 1 to 3,600. AliExpress shows 60 products per page, so 60 means one page, and it serves at most 60 pages per search; because pages repeat products, a very large request can come back with fewer (2,641 in a test that asked for 3,600). You are charged only for products that are returned. With filters switched on, at most three pages are read for every 60 products requested.

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

Order of results, same choices as on the AliExpress site: default = best match, orders = most orders, price_asc = cheapest first, price_desc = most expensive first. "Most orders" is the usual choice for finding best sellers. A sort order inside a pasted search page URL wins over this setting. The run summary reports the order AliExpress applied.

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

Two-letter country code of the shopper, for example US, GB (United Kingdom), DE or TR. Prices, promotions and availability on AliExpress depend on it. The proxy country follows this setting unless you choose one yourself.

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

Three-letter currency code to request, for example USD or EUR. Every row reports the currency AliExpress actually used, which can differ.

## `includeReviewInsights` (type: `boolean`):

For every returned product, also fetch its review summary: number of reviews, average star, star distribution, number of photo reviews, date of the latest review and the most frequent review keywords. One extra request per product, charged as a separate event (review-insight) only when it succeeds.

## `maxReviewsPerProduct` (type: `integer`):

Also add up to this many customer reviews to every product row (date, stars, text, country, variant, number of photos), in the order AliExpress shows them. Any value above 0 switches review insights on, so each product is charged one review look-up; the review texts add no further charge. 0 means no review texts, 20 is the maximum. Reviewer names are never included.

## `trackingId` (type: `string`):

Give repeated runs the same ID (for example "phone-cases-us") to compare each product with the previous run: the change in its sold figure, in total and per day, the price change and a new / rising / flat / falling label. The first run only records; changes appear from the second run. Schedule such runs daily or weekly. Use one ID per schedule and do not run two runs with the same ID at the same time. The letters a-z and digits make the ID: capitals are read as small letters, accented letters without the accent ("çanta" is "canta"), and spaces and punctuation as a hyphen, so "my niche" and "my_niche" are the same ID. Letters of other alphabets are not accepted. At most 40 characters. Leave empty to switch tracking off.

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

Keep only products with at least this many units sold. Products without a sold figure are dropped when this is set.

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

Keep only products rated at least this many stars, from 0 to 5, for example 4.5. Products without a rating are dropped when this is set.

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

Keep only products that cost at least this much, in the currency of the results, for example 5 or 4.99. Compares with price, which is often a new-shopper price; set priceFiltersIgnoreNewShopperDeals to true to compare with the price without the deal.

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

Keep only products that cost at most this much, in the currency of the results, for example 5 or 4.99. Compares with price, which is often a new-shopper price; set priceFiltersIgnoreNewShopperDeals to true to compare with the price without the deal.

## `priceFiltersIgnoreNewShopperDeals` (type: `boolean`):

When true, Min price and Max price compare with priceWithoutNewShopperDeal instead of the price shown, so a $1.09 welcome price does not let a $12 product through. Products for which that figure is unknown (bundle deals, cards without a price) are dropped when a price filter is set.

## `maxDaysListed` (type: `integer`):

Keep only products listed within this many days, for example 90 to find recent listings.

## `shipsFrom` (type: `string`):

Keep only products whose offer on the card ships from this country, as a two-letter code, for example US or CN. Applied after download, so with a rare country few products pass; to let AliExpress filter instead, set the filter on the site and paste the search page URL. Products for which AliExpress does not state the country are dropped when this is set.

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

Keep only products whose card prints a plain "Free shipping" label. AliExpress does not print the label on every card, so this can drop products that do ship free.

## `choiceOnly` (type: `boolean`):

Keep only products that carry the AliExpress Choice label.

## `excludeSponsored` (type: `boolean`):

Drop paid ad placements from the results. Sponsored rows are otherwise kept and flagged with isSponsored.

## `failOnEmpty` (type: `boolean`):

When true, a run that returns no products because AliExpress could not be read (requests blocked, pages or product cards that could not be read, or pages with only recommendation cards) ends as FAILED with the reason in the status message, instead of looking successful with an empty dataset. A run whose answer is empty, because AliExpress itself reports that nothing matches or because every product read was checked by your filters and none passed, ends as SUCCEEDED with a status message that begins "No products matched"; RUN_SUMMARY says which in emptyResult. When false, a run is never failed for returning no products, unless "Also fail when nothing matched" is on. Recommended for schedules and automations.

## `failOnNoMatch` (type: `boolean`):

When true, every run that returns no products ends as FAILED, also when AliExpress reports that nothing matches or no product passed your filters. Use it when an empty result must stop your automation.

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

How many pages are requested at the same time. Our test runs used the default of 2; higher values are faster but were not tested.

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

Residential proxies are the default and recommended: the Actor was tested with them only.

## `extraUrlParams` (type: `string`):

Raw query string appended to every search URL, for example a filter parameter copied from the AliExpress address bar. Leave empty unless you know you need it.

## `debugRawPages` (type: `integer`):

Saves the first responses of the run to the key-value store exactly as AliExpress sent them (records RAW_PAGE_1, RAW_PAGE_2, ...), so a problem can be looked into. A page that was blocked by a redirect has no body and is not saved. Leave at 0 for normal runs.

## Actor input object example

```json
{
  "keywords": [
    "phone case"
  ],
  "maxProductsPerKeyword": 60,
  "sort": "default",
  "shipTo": "US",
  "currency": "USD",
  "includeReviewInsights": false,
  "maxReviewsPerProduct": 0,
  "priceFiltersIgnoreNewShopperDeals": false,
  "freeShippingOnly": false,
  "choiceOnly": false,
  "excludeSponsored": false,
  "failOnEmpty": true,
  "failOnNoMatch": false,
  "maxConcurrency": 2,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "debugRawPages": 0
}
```

# Actor output Schema

## `products` (type: `string`):

One row per product: price, original price, discount, units sold, rating, listing date, sales per day, promotion flags, tags, optional review insights and tracking fields.

## `runSummary` (type: `string`):

Status of every keyword or URL (ok, partial, loose_match, no_results, all_filtered_out, blocked, failed, stopped, interrupted), products returned, page counts, skipped cards, warnings and the sort order AliExpress applied.

# 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": [
        "phone case"
    ],
    "maxProductsPerKeyword": 60,
    "shipTo": "US",
    "currency": "USD",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("keremingo/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 = {
    "keywords": ["phone case"],
    "maxProductsPerKeyword": 60,
    "shipTo": "US",
    "currency": "USD",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("keremingo/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 '{
  "keywords": [
    "phone case"
  ],
  "maxProductsPerKeyword": 60,
  "shipTo": "US",
  "currency": "USD",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call keremingo/aliexpress-search-scraper --silent --output-dataset

```

## MCP server setup

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