# AliExpress Search Scraper: Prices, Sold Counts, Ratings (`abtaal2003/aliexpress-search-scraper`) Actor

Scrape AliExpress search results by keyword. Get price, original price, discount, exact sold count, rating, Choice badge, delivery dates, images and category IDs. Filter by price, rating and sales. Fast, no browser, $2 per 1,000 products.

- **URL**: https://apify.com/abtaal2003/aliexpress-search-scraper.md
- **Developed by:** [Abtaal Aatif](https://apify.com/abtaal2003) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% 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.

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: Prices, Sold Counts, Ratings

Type a keyword and get AliExpress search results as clean rows. Each row has the price, original price, discount, **exact sold count**, star rating, Choice badge, delivery window, images and category IDs. It reads the data AliExpress embeds in the page, so there is no browser, runs are fast and the cost is low.

### What you get per product

| Field | Example |
|:--|:--|
| `title` | Magnetic Clear Case For iPhone 17 |
| `price` / `originalPrice` / `discountPercent` | 0.33 / 3.19 / 89 |
| `sellerPrice` | 2.67 (seller's normal price, before new-shopper deals) |
| `soldCount` | 73302 (exact, not "70K+") |
| `soldText` | 70K+ sold |
| `rating` | 4.9 |
| `isChoice` | true |
| `deliveryDaysMin` / `deliveryDaysMax` | 9 / 14 |
| `deliveryDateMin` / `deliveryDateMax` | 2026-11-30 / 2026-12-05 |
| `imageUrl`, `images` | main image plus up to 10 more |
| `categoryIds` | \["202192403", "202228401"] |
| `sellingPoints` | badges like "Free shipping" |
| `listedSince` | 2025-11-25 |
| `searchTerm`, `position`, `page` | where it ranked for your keyword |
| `url`, `productId` | product link |

### Use cases

- **Dropshipping research**: find products with high sales, good ratings and short delivery times.
- **Price tracking**: schedule a daily run and compare prices over time.
- **Market sizing**: `soldCount` across a keyword shows how big a niche really is.
- **Rank tracking**: `position` shows where a product ranks for a keyword.

### Input

```json
{
  "searchTerms": ["phone case", "led strip lights"],
  "maxItemsPerSearch": 120,
  "sortBy": "orders",
  "minRating": 4.5,
  "minSold": 1000,
  "choiceOnly": false,
  "skipSponsored": true
}
```

Filters: min/max price, min rating, min sold count, Choice only, and skip sponsored. Sort: best match, most orders, or price in either direction.

### Pricing

**$2 per 1,000 products** ($0.002 each), plus a tiny start fee. You pay only for products that end up in your dataset; filtered-out rows are free. Set a max charge in the run options and the scraper stops there.

### Notes

- Prices are in USD and shipping is to the US (the default for the Apify proxy).
- AliExpress shows 60 products per page and caps deep pagination, so very high limits may return fewer rows.
- If you see blocks, switch the proxy to residential.

### Feedback

Open an issue on the Issues tab. I fix reported problems quickly.

# Actor input Schema

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

Keywords to search on AliExpress, one per line, e.g. 'phone case', 'led strip lights'.

## `maxItemsPerSearch` (type: `integer`):

AliExpress shows 60 products per page. You pay only for products returned.

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

Order of results, as on AliExpress.

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

Only products priced at or above this.

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

Only products priced at or below this.

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

Only products rated at least this (0 to 5). Unrated products are dropped when set.

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

Only products with at least this many sales.

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

Only products with the Choice badge (faster shipping, vetted sellers).

## `skipSponsored` (type: `boolean`):

Drop paid ad placements so you get organic results only.

## `maxPagesPerSearch` (type: `integer`):

Safety cap on pages read per term. Leave empty to work it out from the product limit.

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

Pages fetched at the same time.

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

Apify datacenter proxy works well. Switch to residential if you see blocks.

## Actor input object example

```json
{
  "searchTerms": [
    "phone case"
  ],
  "maxItemsPerSearch": 60,
  "sortBy": "relevance",
  "choiceOnly": false,
  "skipSponsored": true,
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Products with price, seller price, discount, sold count, rating, Choice badge, delivery window, images and category IDs.

## `summary` (type: `string`):

Products and pages per search term and the total results AliExpress reports.

# 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"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("abtaal2003/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": ["phone case"],
    "proxyConfiguration": { "useApifyProxy": True },
}

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

```

## MCP server setup

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