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

Returns AliExpress search results for any keyword: title, price, original price, discount, rating, orders sold, images and product URL, up to thousands per keyword. Sort by orders or price. $1 per 1,000 results. No login.

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

## Pricing

$1.00 / 1,000 search results

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

Scrape **AliExpress search results** for any keyword: title, price, original price, promo, rating, orders sold,
images and product URL. Sort by best match, best sellers or price. **$1 per 1,000 results.**

- Several search terms in one run, up to 3,600 results per term (60 pages of 60).
- Prices in your currency, for your ship-to country.
- Fast: about 260 results in 15 seconds. No login, no browser.
- **Pay per result**: you pay only for results returned. Failed pages are free.

Need full product data (all variants with stock, shipping options, seller)? Use
[AliExpress Product Details Scraper](https://apify.com/improved_knot_vyk/aliexpress-product-details-scraper)
on the URLs this Actor returns.

### Use cases

- **Product research and dropshipping**: find best sellers for a keyword and compare prices.
- **Price and promo monitoring**: run on a schedule and track price changes over time.
- **Market and trend analysis**: what sells, at which price, which listings are new.
- **AI agents and automations**: stable JSON fields, easy to use from the API, Make, Zapier or n8n.

### Input

| Field | Description |
|---|---|
| `searchTerms` | Keywords, one per line. |
| `maxItems` | Results per term (default 100). |
| `sort` | `best_match`, `orders`, `price_low` or `price_high`. |
| `shipTo`, `currency` | Country and currency for prices, e.g. `US` and `USD`. |

```json
{
  "searchTerms": ["usb c cable", "phone case"],
  "maxItems": 200,
  "sort": "orders",
  "shipTo": "US",
  "currency": "USD"
}
```

### Example output

```json
{
  "productId": "3256813084047511",
  "title": "NNBILI 240W USB A to Type-C Mobile Phone Fast Charging Data Cable for Samsung Huawei Xiaomi Super Fast Charging Data USB C Cable",
  "price": 0.33,
  "currency": "USD",
  "rating": 4.9,
  "orders": "100K+ sold",
  "image": "https://ae-pic-a1.aliexpress-media.com/kf/S4bf3b790974d42a79334267d18eefa74D.jpg",
  "url": "https://www.aliexpress.com/item/3256813084047511.html",
  "originalPrice": 6.08,
  "promo": "Dollar Express",
  "skuId": "12000060835997685",
  "listedAt": "2026-09-22 00:00:00",
  "tags": [
    "Delivery: Oct 19 - 24"
  ],
  "images": [
    "https://ae-pic-a1.aliexpress-media.com/kf/S4bf3b790974d42a79334267d18eefa74D.jpg",
    "https://ae-pic-a1.aliexpress-media.com/kf/Se606bded93524ded8ffb3d4e466a9b5ar.jpg"
  ],
  "searchTerm": "usb c cable",
  "position": 1,
  "page": 1,
  "shipTo": "US",
  "fetchedAt": "2026-10-13T00:22:29Z"
}
```

### Output fields

| Field | Description |
|---|---|
| `searchTerm`, `position`, `page` | Which search produced the result, and its rank. |
| `productId`, `url` | Product id and link. |
| `title` | Product title. |
| `price`, `currency` | Price shown in the search results. |
| `originalPrice` | Price before discount, when AliExpress shows one. |
| `promo` | Promotion on the card, e.g. "Dollar Express" or "{FREE} with any purchase". |
| `rating`, `orders` | Star rating and sales, as shown ("100K+ sold"). |
| `image`, `images` | Main image and gallery. |
| `tags` | Labels on the card, e.g. free shipping or delivery dates. |
| `listedAt` | Date the product was listed. |
| `sponsored` | `true` for ads; absent for organic results. |
| `skuId` | SKU shown on the card. |

### Pricing

**$1 per 1,000 results** (one `search-result` event per result). Proxy and compute are included: you pay only
for results returned. Set a maximum total charge on the run to cap your spend.

### FAQ

**Why are some prices so low?** AliExpress shows promotional prices in search (welcome deals, "Dollar
Express"). `promo` and `originalPrice` tell you when a price is a promotion.

**Do I need proxies?** Residential proxies are the default and are included in the price. The Actor changes IPs
by itself when AliExpress shows a bot check.

**How do I get variants, stock and shipping?** Pass the result URLs to
[AliExpress Product Details Scraper](https://apify.com/improved_knot_vyk/aliexpress-product-details-scraper).

### Issues

Open an issue in the Issues tab; I reply within 24 hours. If the Actor helped you, a review on the Store helps a
lot.

# Actor input Schema

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

Keywords to search on AliExpress, one per line. Each term is searched separately.

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

Stop after this many results for each term. AliExpress shows 60 results per page. You are charged only for results returned.

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

Order of the results, as on the AliExpress search page.

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

Results and prices are computed for this country, e.g. US, DE, BR.

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

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

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

Residential proxies (default) work best; the Actor switches IPs automatically when AliExpress shows a bot check.

## Actor input object example

```json
{
  "searchTerms": [
    "usb c cable"
  ],
  "maxItems": 100,
  "sort": "best_match",
  "shipTo": "US",
  "currency": "USD",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Table view of the results in the default dataset.

## `resultsFull` (type: `string`):

Every field, including images, tags, SKU id and listing date.

# 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": [
        "usb c cable"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("improved_knot_vyk/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 = {
    "searchTerms": ["usb c cable"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("improved_knot_vyk/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 '{
  "searchTerms": [
    "usb c cable"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call improved_knot_vyk/aliexpress-search-scraper --silent --output-dataset

```

## MCP server setup

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