# AliExpress Scraper - Products, Prices, Orders & Ratings (`pink_comic/aliexpress-scraper`) Actor

Scrape AliExpress search results: product title, price, original price, discount, orders sold, rating, image and URL. Keyword or search URL. No login.

- **URL**: https://apify.com/pink_comic/aliexpress-scraper.md
- **Developed by:** [Ava Torres](https://apify.com/pink_comic) (community)
- **Categories:** E-commerce, Marketing, Lead generation
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 83.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.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 Scraper - Products, Prices, Orders & Ratings

Scrape **AliExpress** search results without logging in: product ID and URL, title, **sale price, original price and the seller's regular price**, discount, **orders sold**, star rating, main image, Choice and sponsored flags, estimated delivery dates and category. Search by keyword (with sort and price filters) or paste any AliExpress search URL.

### What you get

- **Keyword search** with sort (best match, most orders, price) and min/max price filters.
- **Your own search URLs**: paste any AliExpress result page with filters and it is paged automatically.
- **Price intelligence**: displayed sale price, list price and the seller's regular offer price (without new-user deals).
- **Demand signals**: orders sold (text and number) and star rating for every product.
- **Up to 60 products per page, 60 pages per search**, deduplicated across searches.
- **Fast HTTP only**: 1,000 products in a couple of minutes.
- **Fair pricing**: $0.001 per product + $0.002 per run (1,000 products = about $1). No monthly rental, no subscription.

### Use cases

- **Dropshipping product research**: find best-selling products by orders and rating in your niche.
- **Price monitoring**: track prices and discounts for products or categories over time.
- **Competitor and market analysis**: compare listings, price points and sales volume.
- **Supplier sourcing**: shortlist products to source for Shopify, Amazon or TikTok Shop.
- **Datasets for AI agents**: feed structured product data into pricing or catalog agents.

### Input examples

Default (wireless earbuds):

```json
{"searchQueries": ["wireless earbuds"], "maxResults": 100}
```

Best sellers between $5 and $30:

```json
{"searchQueries": ["led strip lights", "phone holder"], "sortBy": "orders", "minPrice": 5, "maxPrice": 30, "maxItemsPerSearch": 120, "maxResults": 240}
```

Your own search URL:

```json
{"startUrls": ["https://www.aliexpress.com/w/wholesale-desk-lamp.html?SortType=total_tranpro_desc"], "maxResults": 120}
```

### Sample output

```json
{
  "productId": "1005012917073945",
  "url": "https://www.aliexpress.com/item/1005012917073945.html",
  "title": "2026 New Air 3【 Pro3 】 Bluetooth Wireless Earbuds With Heart Rate Monitoring, Active Noise Cancellation Headphones, Waterproof for Daily Use, For IPhone IOS Smartphone, Gaming /Sports /Fitness Earphones.",
  "price": 13.12,
  "originalPrice": 57.47,
  "sellerPrice": 57.47,
  "discountPercent": 77,
  "currency": "USD",
  "formattedPrice": "US $13.12",
  "rating": 4.9,
  "soldText": "4,000+ sold",
  "soldCount": 4246,
  "storeName": "Shop1105233629 Store",
  "imageUrl": "https://ae-pic-a1.aliexpress-media.com/kf/Sa57a4580c1274b01988d5df3fa8e76cbx.jpg",
  "isAd": false,
  "isChoice": false,
  "deliveryFrom": "2026-11-24",
  "deliveryTo": "2026-11-30",
  "listedSince": "2026-03-09 00:00:00",
  "categoryId": "63705",
  "searchQuery": "wireless earbuds",
  "page": 1,
  "position": 1,
  "scrapedAt": "2026-11-20T17:40:26Z"
}
```

### How to use

1. Click **Try for free**, keep the prefilled input or type your own searches.
2. Click **Start**. Results stream into the dataset; the **Overview** tab shows the key fields.
3. Download as JSON, CSV, Excel or HTML, or pull results with the Apify API, schedules, webhooks, Make, Zapier or n8n.

### FAQ

**Which currency are prices in?**\
US dollars (the AliExpress US storefront).

**What is sellerPrice?**\
AliExpress often shows a special first-order price. sellerPrice is the seller's regular offer price, which is what most repeat buyers pay.

**Does it scrape product detail pages or reviews?**\
This actor focuses on fast search-result data (title, price, orders, rating, image). Open the product URL for full details.

**How much does it cost?**\
$0.001 per product + $0.002 per run. 1,000 products cost about $1.00.

**Can I run it on a schedule?**\
Yes. Create a task with your input and add a schedule (hourly, daily...). Combine with webhooks or integrations to push new rows to Google Sheets, Slack or your database.

**What if a search fails?**\
Failed searches are listed in the run's key-value store under `FAILED_SOURCES`; the rest of the run continues. You only pay for rows actually delivered.

**Is it legal?**\
The actor collects publicly available data without logging in. You are responsible for using it in line with the site's terms and data-protection laws (GDPR, CCPA) in your jurisdiction.

# Actor input Schema

## `searchQueries` (type: `array`):

Product searches, e.g. 'wireless earbuds', 'phone case', 'led strip lights'. One search per entry.

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

Optional AliExpress search or category result URLs with your own filters, e.g. https://www.aliexpress.com/w/wholesale-desk-lamp.html?SortType=total_tranpro_desc.

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

Result order for keyword searches.

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

Optional minimum price.

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

Optional maximum price.

## `skipAds` (type: `boolean`):

Leave out ad placements.

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

About 60 products per page; AliExpress shows up to 60 pages.

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

Cap per keyword / URL. 0 = share Max results.

## `maxResults` (type: `integer`):

Maximum products in total. Default 100 = about $0.10.

## Actor input object example

```json
{
  "searchQueries": [
    "wireless earbuds"
  ],
  "sortBy": "best_match",
  "skipAds": false,
  "maxPagesPerSearch": 60,
  "maxItemsPerSearch": 0,
  "maxResults": 100
}
```

# Actor output Schema

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

All records from this run in the default dataset, shown with the Overview table view.

# 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 = {
    "searchQueries": [
        "wireless earbuds"
    ],
    "maxResults": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("pink_comic/aliexpress-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 = {
    "searchQueries": ["wireless earbuds"],
    "maxResults": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("pink_comic/aliexpress-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 '{
  "searchQueries": [
    "wireless earbuds"
  ],
  "maxResults": 100
}' |
apify call pink_comic/aliexpress-scraper --silent --output-dataset

```

## MCP server setup

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