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

Paste AliExpress search URLs or keywords, get every product: title, price in USD, original price, discount, rating, orders sold, ship-from country, image, ad or not. No login, no browser. Pay per product, plus a small start fee per run.

- **URL**: https://apify.com/plainrows/aliexpress-scraper.md
- **Developed by:** [PlainRows](https://apify.com/plainrows) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% 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.
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

## AliExpress Scraper

Get **AliExpress products** from any search: **title, price in USD, original price, discount, star rating, number of orders, ship-from country (CN, US…), main image, sponsored or not, badges** ("Free shipping", "Top selling", "Lowest price in 90 days") and the date the product was listed. Paste search URLs copied from aliexpress.com with your filters and sort order, or plain keywords.

Plain HTTP requests, no browser: **no login, no account, no session cookies**. The Actor reads only the public search pages, one page at a time per search with a pause between pages, and respects aliexpress.com's robots.txt.

### Typical uses

- **Product research and dropshipping**: what sells (orders, rating) at what price in your niche, sorted by orders.
- **Price monitoring**: track prices and discounts of a product type every day (schedule a run).
- **Supplier sourcing**: compare offers shipping from China and from US warehouses.
- **Competitor and trend watch**: new products listed in a category, ads shown on a keyword.
- **Spreadsheets, BI and AI agents**: clean rows for Google Sheets, n8n, Make, Zapier or an MCP client.

### What you get

One row per product:

| Field | Description |
|---|---|
| `search`, `searchUrl` | Your search and the page read |
| `productId`, `url` | AliExpress product ID and link |
| `title` | Product title |
| `price`, `originalPrice`, `discountPercent`, `currency` | Lowest sale price, price before discount, discount in %, `USD` |
| `rating` | Average star rating (out of 5) |
| `orders`, `ordersText` | Number of orders when AliExpress gives it, and sales as shown (`"5,000+ sold"`) |
| `shipFrom` | Country the offer ships from (`CN`, `US`…) |
| `imageUrl` | Main image |
| `isAd` | `true` for a sponsored result |
| `badges` | Labels shown on the card |
| `promotion` | `"FREE with any purchase"` on welcome-gift cards, which show no price (`price` is then `null`) |
| `listedSince` | Date the product was listed |
| `page`, `position`, `totalResults` | Where the product was, and how many results AliExpress reports |
| `observedAt` | When the page was read (UTC) |

Missing values are always `null`, never guessed: AliExpress shows lighter cards for some searches and sort orders (no rating, orders or ship-from on those cards). A search without products (or blocked, or unreadable) gets one free row with `found: false`, a `status` and a `message`.

### Input

```json
{
  "searches": ["wireless earbuds", "https://www.aliexpress.com/w/wholesale-phone-case.html?SortType=total_tranpro_desc"],
  "maxResultsPerSearch": 120
}
```

- **searches**: one per line, up to 100 per run: a keyword or a search URL from aliexpress.com. To use filters or a sort order, search on the site, set them, and copy the address bar.
- **maxResultsPerSearch**: 1 to 1,200 (default 120). AliExpress shows 60 products per page; the Actor reads up to 20 pages per search.

Prices are read in US dollars for the US region. Products found by two of your searches are returned and billed once.

### Pricing

Pay per event: **one event per product returned**, plus a small start fee per run.

| Plan | Per product | Per 1,000 products |
|---|---|---|
| Free | $0.0015 | $1.50 |
| Bronze | $0.0013 | $1.30 |
| Silver | $0.0011 | $1.10 |
| Gold | $0.001 | $1.00 |

Free: searches without products, pages that are blocked or cannot be read, duplicates and input mistakes. On the free Apify plan, a run reads up to 3 searches and 60 products per search.

### FAQ

**Is it legal?** The Actor reads only pages anyone can see without an account, at a slow pace, and respects robots.txt. It collects product data, not personal data. AliExpress's terms of use restrict automated access: you are responsible for how you use the data. This is not legal advice.

**Why are some searches empty or BLOCKED?** If AliExpress refuses a request (rate limit or slider check), the Actor stops that search and charges nothing for it. It never solves or bypasses a check. Try again later or with fewer searches per run.

**Can I get reviews, all SKUs or shipping costs?** Not in this version: it reads the search pages only. Need a field? Open an issue.

### More PlainRows tools

Same pay-per-result pricing, same clean JSON, built to chain together in n8n, Make, Zapier or AI agents.

- **SEO and keywords:** [Keyword Search Volume, CPC & Difficulty](https://apify.com/plainrows/keyword-search-volume) · [Keyword Planner Alternative (Bulk Search Volume & CPC)](https://apify.com/plainrows/keyword-planner-alternative) · [Keyword Ideas Generator](https://apify.com/plainrows/keyword-ideas-generator) · [Google Autocomplete & People Also Ask](https://apify.com/plainrows/google-autocomplete-questions) · [Google Trends Explorer](https://apify.com/plainrows/google-trends-explorer) · [Website Organic Traffic & Top Keywords](https://apify.com/plainrows/domain-seo-overview) · [Bulk Domain Authority Checker](https://apify.com/plainrows/domain-authority-checker) · [Backlink Checker](https://apify.com/plainrows/backlink-checker) · [Broken Link Checker](https://apify.com/plainrows/broken-link-checker) · [AI Search Visibility Tracker (ChatGPT, Gemini, AI Mode)](https://apify.com/plainrows/ai-search-brand-visibility) · [Google Maps Rank Tracker (Geo-Grid Local SEO)](https://apify.com/plainrows/google-maps-rank-tracker)
- **Leads and companies:** [Google Maps Scraper](https://apify.com/plainrows/google-maps-businesses) · [Google Maps Email Extractor](https://apify.com/plainrows/google-maps-email-extractor) · [Google Maps Businesses Without Website](https://apify.com/plainrows/google-maps-no-website-leads) · [Website Technology Checker](https://apify.com/plainrows/website-tech-stack) · [Website Email Extractor](https://apify.com/plainrows/website-email-extractor) · [Contact Details Scraper (Emails, Phones, Socials)](https://apify.com/plainrows/contact-details-scraper) · [ATS Jobs Scraper (Workday, Greenhouse, Lever, Ashby)](https://apify.com/plainrows/ats-job-postings) · [Workday Jobs Scraper](https://apify.com/plainrows/workday-jobs-scraper) · [Greenhouse Jobs Scraper](https://apify.com/plainrows/greenhouse-jobs-scraper) · [Lever Jobs Scraper](https://apify.com/plainrows/lever-jobs-scraper) · [Ashby Jobs Scraper](https://apify.com/plainrows/ashby-jobs-scraper) · [Google Jobs Scraper](https://apify.com/plainrows/google-jobs-scraper) · [Google Ads Scraper (Transparency Center)](https://apify.com/plainrows/google-ads-transparency) · [Company Registry Lookup (SIRENE, LEI, Brreg)](https://apify.com/plainrows/company-registry-lookup) · [Public Tenders Search (EU TED & UK)](https://apify.com/plainrows/public-tenders-search)
- **E-commerce and travel:** [Amazon Product Search Scraper](https://apify.com/plainrows/amazon-product-search) · [Google Shopping Prices Scraper](https://apify.com/plainrows/google-shopping-prices) · [Google Hotels Prices Scraper](https://apify.com/plainrows/google-hotels-prices) · [Google Hotels Scraper](https://apify.com/plainrows/google-hotels-scraper) · [Tripadvisor Reviews Scraper](https://apify.com/plainrows/tripadvisor-reviews) · [Trustpilot Reviews Scraper](https://apify.com/plainrows/trustpilot-reviews)
- **Marketplaces and classifieds:** [Kleinanzeigen Scraper (Germany)](https://apify.com/plainrows/kleinanzeigen-scraper) · [AutoScout24 Scraper (Cars, Europe)](https://apify.com/plainrows/autoscout24-scraper) · [Kijiji Scraper (Canada)](https://apify.com/plainrows/kijiji-scraper) · [Marktplaats Scraper (Netherlands)](https://apify.com/plainrows/marktplaats-scraper)
- **Content and media:** [Google News Scraper](https://apify.com/plainrows/google-news-scraper) · [YouTube Search Scraper](https://apify.com/plainrows/youtube-search-scraper) · [YouTube Comments Scraper](https://apify.com/plainrows/youtube-comments-scraper) · [Google Images Scraper](https://apify.com/plainrows/google-images-scraper) · [Website Screenshot API](https://apify.com/plainrows/website-screenshot) · [Google Maps Reviews Scraper](https://apify.com/plainrows/google-maps-reviews) · [Google Reviews Scraper](https://apify.com/plainrows/google-reviews-scraper) · [App Store & Google Play Reviews Scraper](https://apify.com/plainrows/app-reviews-scraper) · [Google Play Reviews Scraper](https://apify.com/plainrows/google-play-reviews-scraper) · [App Store Reviews Scraper](https://apify.com/plainrows/app-store-reviews-scraper)

### Support

Open an issue on the Actor's page: issues are read and answered. Need another field, a higher limit or a custom version for your workflow? Ask in an issue.

# Actor input Schema

## `searches` (type: `array`):

One search per line: a keyword ("usb c cable", "wireless earbuds") or a search URL copied from aliexpress.com with your filters and sort order (e.g. sorted by orders). Up to 100 searches per run; duplicates are removed.

## `maxResultsPerSearch` (type: `integer`):

AliExpress shows 60 products per page; the Actor reads up to 20 pages (1,200 products) per search, one after the other.

## Actor input object example

```json
{
  "searches": [
    "wireless earbuds",
    "https://www.aliexpress.com/w/wholesale-phone-case.html"
  ],
  "maxResultsPerSearch": 60
}
```

# Actor output Schema

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

No description

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

No description

# 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 = {
    "searches": [
        "wireless earbuds",
        "https://www.aliexpress.com/w/wholesale-phone-case.html"
    ],
    "maxResultsPerSearch": 60
};

// Run the Actor and wait for it to finish
const run = await client.actor("plainrows/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 = {
    "searches": [
        "wireless earbuds",
        "https://www.aliexpress.com/w/wholesale-phone-case.html",
    ],
    "maxResultsPerSearch": 60,
}

# Run the Actor and wait for it to finish
run = client.actor("plainrows/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 '{
  "searches": [
    "wireless earbuds",
    "https://www.aliexpress.com/w/wholesale-phone-case.html"
  ],
  "maxResultsPerSearch": 60
}' |
apify call plainrows/aliexpress-scraper --silent --output-dataset

```

## MCP server setup

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