# AliExpress Search Scraper: Products, Prices & Sold Counts (`siteacs/aliexpress-search`) Actor

AliExpress product scraper for dropshipping and price research: search by keyword or URL and get product id, title, price, discount, rating, exact sold count, sponsored flag, Choice, shipping and delivery days. Pick the ship-to country, currency and language; sort, price and free shipping filters.

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

## Pricing

$0.80 / 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.

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

Search AliExpress by keyword or paste a search URL, and get every product card as one row: position on the page,
product id, title, price, original price, discount, star rating, the exact number sold, sponsored flag, Choice and
Local+ marks, shipping text, delivery days, ships-from country, image and link. You pick the ship-to country, the
currency and the language, and the sort, price range and filters AliExpress itself offers.

It reads the same search page a shopper sees, logged out. No AliExpress account, no login, no browser extension.

**Quick start**

- **In:** keywords (`keywords`) or AliExpress search URLs (`searchUrls`), the ship-to `country` (default US), and
  optionally `currency`, `language`, `sort`, `minPrice`/`maxPrice`, `freeShipping`, `choiceOnly`, `shipFrom` and
  `maxPages` (up to 60 products per page).
- **Out:** one row per product card: `productId`, `title`, `price`, `originalPrice`, `discount`, `rating`,
  `soldCount`, `sponsored`, `choice`, `shippingText`, `deliveryDaysMin`, `shipsFrom`, `url`, and one free summary
  row per search.
- **Price:** $0.80 per 1,000 products, no start fee. 10 keywords x 3 pages (about 1,800 products) cost about $1.44.

```json
{ "keywords": ["phone case", "led strip lights"], "country": "US", "sort": "orders", "maxPages": 3 }
```

Three fields of one output row: `{"title": "Dimmable 5V USB COB Led Strip Lights ...", "price": 3.49, "soldCount": 17168}`.

To see what the same products sell for on Amazon, run the same keywords through
[Amazon Search Scraper](https://apify.com/siteacs/amazon-search).

### What you can use it for

- **Dropshipping product research.** Sort by orders and read the exact sold count of each product (17,168 where the
  card says "10K+ sold"), its price, rating and delivery time, for the country you sell to.
- **AliExpress price monitoring.** Run the same keywords on a schedule and follow price, original price and discount
  over time. Rows join on `productId`, which is the same on every country and language site.
- **Market and competitor research.** Compare what AliExpress offers in the US, Germany, Brazil or Japan for the same
  term, in each market's currency and language.
- **Keyword rank tracking.** `position` counts every card in page order, `organicPosition` skips the sponsored ones.

### Example row

Keyword "led strip lights", ship to the US:

```json
{
  "type": "result",
  "keyword": "led strip lights",
  "position": 2,
  "organicPosition": 2,
  "page": 1,
  "productId": "1005008830633821",
  "title": "Dimmable 5V USB COB Led Strip Lights With 3key Switch Flexible Diode Tape For Room TV Mirror Backlight Cabinet Light",
  "price": 3.49,
  "originalPrice": 7.76,
  "currency": "USD",
  "discount": 55,
  "priceText": "US $3.49",
  "newShopperPrice": false,
  "rating": 4.9,
  "soldCount": 17168,
  "soldText": "10K+ sold",
  "storeName": null,
  "sponsored": false,
  "choice": true,
  "freeShipping": true,
  "shippingText": "Fastest delivery in 7 days · Free shipping",
  "deliveryDaysMin": 7,
  "deliveryDaysMax": 12,
  "shipsFrom": "CN",
  "badges": ["Save $4.27", "Extra 2% off with coins"],
  "image": "https://ae-pic-a1.aliexpress-media.com/kf/S4dff556785a8447f822e90ae8eae83284.jpg",
  "launchDate": "2025-04-30",
  "matchQuality": "matched",
  "url": "https://www.aliexpress.com/item/1005008830633821.html",
  "country": "US"
}
```

Some fields are left out above: `isWelcomeGift` (false here), `positionOnPage`, `plus`, `localPlus`, `attributes`, `skuId`, `categoryId`,
`searchUrl`, `language` and `scrapedAt`; the Output tab lists them all.

Each search ends with one free summary row: status (`ok`, `no_results`, `partial`, `blocked`, `invalid_url`,
`filter_ignored`...), pages read, products saved (welcome gifts are saved free), organic and sponsored counts, and the currency AliExpress answered
in.

### Input

| Field | What it does |
| --- | --- |
| `keywords` | Search terms, one per line, in any language: "phone case", "handyhülle", "capinha celular". |
| `searchUrls` | Search pages copied from your browser (`https://www.aliexpress.com/w/wholesale-....html?...`), with the sort, price range, free shipping, Choice and ships-from filters you set there. m.aliexpress.com links work too. A product or category page gets a free `invalid_url` row saying why, and the run goes on. |
| `country` | The "Ship to" country (49 to choose from). It decides which products show, their prices, shipping and delivery estimates. Default US. |
| `currency` | Price currency. Empty: the country's usual one (USD, EUR, GBP, BRL, JPY...). |
| `language` | The site to read: English, German, French, Spanish, Portuguese, Italian, Dutch, Polish, Turkish, Japanese, Korean, Arabic, Hebrew, Thai or Vietnamese. Default English. |
| `sort` | Best match, orders (best sellers first), price low to high, price high to low. |
| `minPrice`, `maxPrice` | The AliExpress price filter, in the chosen currency. |
| `freeShipping`, `choiceOnly` | The AliExpress filters of the same name. |
| `shipFrom` | The "Ships from" filter: a two-letter warehouse country such as CN, US, DE or ES. Only cards that ship from there (or name no warehouse) are saved. |
| `maxPages` | Result pages per search, 1 to 60. A page holds up to 60 products. Default 1. |
| `maxResultsPerKeyword` | Stop each search after this many rows. Replaces `maxPages` when set. |
| `includeSponsored` | Keep sponsored cards (default) or drop them. |
| `skipWelcomeGifts` | Leave welcome-gift cards ("FREE with any purchase") out of the results. Default off: they are kept, flagged `isWelcomeGift: true`, and not charged. |

### Price

**$0.80 per 1,000 products** (pay per event: $0.0008 per product row). Summary rows are free: a search AliExpress
answers with no products, a page that could not be read, a URL that is not a search page, a keyword with nothing to
search and a search whose filters AliExpress ignored (`filter_ignored`) cost nothing. A search
AliExpress answers with "few results" is charged for the cards on its one page (see below). No start fee. The maximum cost per run you set in Apify
is respected: the run stops when it is reached.

| Products | Cost |
| --- | --- |
| 1 keyword, 1 page (about 60) | about $0.05 |
| 100 keywords x 5 pages (about 25,000) | about $20 |

### Good to know

- **Prices are the ones a new, logged-out shopper sees.** On the US site many cards carry a new-shopper offer
  ("New shoppers save $3.07", first-order prices such as US $1.09) or are a welcome gift ("FREE with any purchase", no
  price). Such rows have `newShopperPrice: true`; welcome gifts have `isWelcomeGift: true`, `price: null`, the gift line in
  `priceText` and the regular price in `originalPrice`. Welcome-gift rows are free: only the other rows are charged. A signed-in returning customer usually pays more.
- **The exact sold count.** `soldCount` is the figure AliExpress counts behind the rounded label; `soldText` is the
  label as shown.
- **Store names only where the search page names them**: on sponsored cards and some others (about 40% of rows in
  our test). AliExpress shows the store on the product page, which this actor does not open.
- **Few results.** When AliExpress reports few matches for a keyword, only that first page is read, and its rows
  carry `matchQuality: "few_results"`. They are charged like any other row: they are full product cards, often real
  matches for a rare part, but a misspelled or nonsense keyword gets a handful of unrelated products (8 in our test).
  Other rows carry `matchQuality: "matched"`.
- **Deep pages drift.** AliExpress serves up to 60 pages for any search and fills later pages with loosely related
  products once the real matches run out. The result count it reports moves between loads of the same search, so
  it is given in the summary as an estimate only. A product that shows on two pages is saved once.
- **Reduced pages are reloaded.** Now and then AliExpress serves a page of reduced recommendation cards (id, title
  and price only, no sold count, rating or shipping). Such a page is treated as refused and loaded again from another
  IP; it is never saved or charged. In our second test (40 searches x 3 pages) 28% of page loads were such pages:
  none in the US, 30% in Germany, 37% in Brazil and 47% in Japan. Every one of them was read on a later load.
- **Price ranges show fewer products per page.** With `minPrice`/`maxPrice` AliExpress often shows far fewer than
  60 cards per page to a logged-out visitor (6 to 38 in our checks, in a browser as well). The actor saves what
  the page shows.
- **No rating, sold-count or category filter.** Logged out, AliExpress ignores its "4 stars & up" and category
  filters (a browser too gets a fixed set of 60 unrelated products), and it has no minimum-sold filter. Sort by
  orders, or filter the rows on `rating`, `soldCount` and `categoryId` afterwards. A search whose results do not
  match its filters gets a free `filter_ignored` summary row and nothing is charged.
- **Ships from.** With `shipFrom`, AliExpress shows offers from that warehouse country. When a keyword has none
  there, it falls back to other warehouses: such cards are not saved or charged, and a search with none at all ends
  as `filter_ignored`.
- **Order varies.** AliExpress personalises results per visit; two visits a minute apart do not show identical
  pages. Track ranks over several runs rather than one.
- **Blocked pages are retried, never solved.** When AliExpress answers with its slider CAPTCHA (5% of page loads in
  our first test, 1% in the second), the page is loaded again from another IP. Every page was read in both tests:
  494 of 494 (100 searches x 5 pages, US and Germany) and 118 of 118 (40 searches x 3 pages: US, Germany, Brazil,
  Japan and 4 filtered search links).
- **One proxy session per search**, so its pages are read in order, as one shopper would page through them.

### FAQ

**Do I need an AliExpress account or proxies?** No. The default Apify proxy is enough; pages AliExpress refuses go
to Apify residential proxy within a budget per run, at no extra charge to you.

**Can I search in German, Portuguese or Japanese?** Yes. Pick the language, and type keywords as shoppers there do.
Titles and labels come back in that language.

**Why is `price` empty on some rows, and are they charged?** Those are welcome-gift cards that show "FREE with any
purchase" instead of a price; see `priceText` and `originalPrice`. They are kept, flagged `isWelcomeGift: true` (every
row has the field), and **not charged**: in the US about a quarter of the rows of a search can be gift cards. To leave
them out of the results, switch on `skipWelcomeGifts`.

**Can I scrape product details or reviews?** This actor reads search result pages only. For the reviews of the
products you find, use [AliExpress Reviews Scraper](https://apify.com/siteacs/aliexpress-reviews).

The data comes from public search pages. You are responsible for using it in line with the AliExpress terms and the
law where you work.

### Related actors

- [AliExpress Reviews Scraper](https://apify.com/siteacs/aliexpress-reviews) reads the reviews of the products you
  find here, by product id or URL, with star rating, date, text and its translation, buyer country, variant bought and
  photos.

### In other languages

- **Português:** Scraper de produtos do AliExpress: pesquise por palavra-chave e receba preço, desconto, avaliação
  e quantidade vendida de cada produto, com país de entrega Brasil, moeda BRL e o site pt.aliexpress.com. Serve para
  dropshipping e para achar os produtos mais vendidos.
- **Español:** Scraper de productos de AliExpress: busca productos por palabra clave y obtén precio, descuento,
  valoración y unidades vendidas de cada uno, con país de envío, moneda e idioma (es.aliexpress.com). Sirve para
  dropshipping y para encontrar los productos más vendidos.
- **Deutsch:** AliExpress-Suche als Tabelle: Produkte, Preise, Rabatt, Bewertung und verkaufte Stückzahl je
  Suchbegriff, mit Lieferland, Währung (EUR) und Sprache (de.aliexpress.com).
- **Français :** Scraper de recherche AliExpress : produits, prix, remise, note et nombre de ventes par mot-clé,
  avec pays de livraison, devise et langue.

# Changelog

This Actor's version history is a separate document: https://apify.com/siteacs/aliexpress-search/changelog.md

# Actor input Schema

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

Search terms, one per line, as a shopper types them into the AliExpress search box, in any language ("phone case", "handyhülle", "capinha celular"). Use Bulk edit to paste a long list. Duplicates are searched once.

## `searchUrls` (type: `array`):

Optional. AliExpress search result pages copied from the browser (https://www.aliexpress.com/w/wholesale-phone-case.html?...), with the sort, price range, free shipping, Choice and ships-from filters you set there. m.aliexpress.com links are read on www. AliExpress ignores the category and "4 stars & up" filters for a visitor who is not signed in: a search whose results do not match its filters gets a free filter_ignored row. A URL keeps its own sort and filters; the ones below are added only where the URL has none. Its site (de., fr., pt....) sets the language unless you pick one below. A URL that is not a search page (a product or category page) gets a free summary row saying why, and the rest of the run goes on.

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

The country in the "Ship to" box of AliExpress. It decides which products are offered, the prices (VAT, local deals), shipping and delivery estimates, as a shopper there sees them.

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

Optional. The currency of the prices. Empty: the usual currency of the ship-to country (USD for the US, EUR for Germany, BRL for Brazil...). Each summary row says which currency AliExpress answered in.

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

Optional. The language of titles and labels, i.e. the AliExpress site that is read. Empty: English, or the site of a pasted search URL.

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

The Sort by menu of AliExpress. It no longer offers a newest-first sort; each row carries its launchDate instead.

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

Optional. The AliExpress price filter, in the currency above (whole units).

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

Optional. The AliExpress price filter, in the currency above (whole units).

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

The AliExpress "Free shipping" filter, for the ship-to country.

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

The AliExpress "Choice" filter: products in its Choice program.

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

Optional. The AliExpress "Ships from" filter: a two-letter country code such as CN, US, DE, ES or FR (the warehouse country). Cards that ship from another country (AliExpress falls back to them when a keyword has no offers there) are not saved or charged.

## `maxPages` (type: `integer`):

How many result pages to read for each search, in order. A page holds up to 60 products. A search stops earlier at the last page AliExpress has.

## `maxResultsPerKeyword` (type: `integer`):

Optional: stop each search after this many product rows (sponsored ones included when kept). When set, it replaces "Pages per search": pages are read until the limit or the last page. 0 or empty: no limit. At most 3,600 (60 pages of 60).

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

On: sponsored (ad) cards are saved too, with sponsored: true, in the place they hold on the page. Off: only organic products are saved (and charged); positions still count the sponsored places.

## `skipWelcomeGifts` (type: `boolean`):

AliExpress shows first-time buyers some cards with no price: a free gift with any purchase ("FREE with any purchase"). Off (default): they are saved with isWelcomeGift: true and are not charged. On: they are left out of the results entirely. Positions still count their places on the page.

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

How many searches run in parallel. The pages of one search are read in order, on one proxy session.

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

Apify datacenter proxy (the default). A page AliExpress refuses is retried on another IP.

## `residentialFallback` (type: `boolean`):

On (default): a page AliExpress still refuses after 6 datacenter IPs is tried through Apify residential proxy, within a traffic budget per run. No extra charge to you.

## Actor input object example

```json
{
  "keywords": [
    "phone case",
    "led strip lights"
  ],
  "country": "US",
  "sort": "best-match",
  "freeShipping": false,
  "choiceOnly": false,
  "maxPages": 1,
  "includeSponsored": true,
  "skipWelcomeGifts": false,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "residentialFallback": true
}
```

# Actor output Schema

## `overview` (type: `string`):

One item per product card in AliExpress's order: keyword, position, page, product id, title, price, original price, discount, rating, sold count, sponsored, Choice, shipping and link, plus one summary item per search.

## `searches` (type: `string`):

Status, pages read, product counts, currency and AliExpress's result count of each search (the summary items).

# 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",
        "led strip lights"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("siteacs/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 = { "keywords": [
        "phone case",
        "led strip lights",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("siteacs/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 '{
  "keywords": [
    "phone case",
    "led strip lights"
  ]
}' |
apify call siteacs/aliexpress-search --silent --output-dataset

```

## MCP server setup

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