# AliExpress Scraper: Product Prices & Ratings $0.37/1K (`moggedhq/aliexpress-scraper-cheap`) Actor

Scrape AliExpress searches and categories for USB-C cables, earbuds or home goods. Collect prices, discounts, sold labels, ratings, shipping labels and images by delivery market. $0.00037 per product, or $0.37 for 1,000 results, plus a $0.00040 start fee. No login.

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

## Pricing

from $0.30 / 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: Product Prices & Ratings

For sourcing teams, brands and analysts who monitor AliExpress listings. Collect public prices, discounts, ratings, sold labels and product images from keyword searches and categories in your chosen market. A priced product costs **$0.00037**. Collecting 1,000 costs **$0.37** plus the $0.00040 run start fee. No login is needed.

Enter a search such as USB-C cables, wireless earbuds or desk organizers. Set the destination and maximum number of products, then download a dataset or connect it to your price records. Category links let you monitor a catalog section as well as the results for a keyword. Each distinct listing ID appears once per run, even when multiple terms find it.

### What you get

| Field | Meaning |
|---|---|
| `summary` | A short price and title description at the front of each product row |
| `type` | `PRODUCT` for a listing, `NOTE` for a free input or source note, or `SUMMARY` for run totals |
| `itemId`, `productId` | The same AliExpress listing ID as a string |
| `title`, `url` | Listing title and direct AliExpress product link |
| `price`, `originalPrice`, `currency` | Numeric current listing price, comparison price when shown, and the source currency |
| `formattedPrice`, `formattedOriginalPrice` | Source display strings for a human-facing export |
| `discount`, `discountText` | Discount percentage reported by AliExpress, which may refer to the selected offer |
| `promoTags`, `promoStart`, `promoEnd` | Published promotional labels and dated promotion fields when available |
| `rating`, `reviewCount`, `reviewsCount` | Star rating and count fields where supplied in the listing data |
| `salesText`, `orders`, `ordersIsLowerBound` | Original sold label, parsed quantity when possible, and a flag for rounded or lower-bound observations |
| `imageUrl`, `images` | Main image and additional gallery image links present on the card |
| `shipping`, `freeShipping` | Public shipping label and explicit free-shipping signal where shown |
| `shipTo`, `requestedShipTo`, `language` | Source-confirmed destination when reported, requested destination and source language when reported |
| `offerSkuId` | SKU ID associated with the displayed listing offer when provided |
| `categoryId`, `sourceType`, `sourceQuery` | Category ID or keyword used to find the product |
| `sourcePage`, `rank` | Listing page and position on the original result page |
| `sourceUrl`, `priceSourceUrl`, `scrapedAt` | Page behind the observation and UTC collection timestamp |
| `detailLevel`, `missingFields`, `notes` | The source's coverage, important nullable fields and any added interpretation notes |
| `shopId`, `shopName`, `skus`, `specs`, `reviews` | Compatibility fields for marketplace data integrations |

Choose **Overview** for the product table, **Deals** for price and promotion columns, and **Market and shipping** for destination context. The **Coverage** view includes free notes and the summary row. Set `dealsOnly` to collect discount cards. Choose raw JSON when you want to keep nested shipping objects and image arrays.

### Start in three steps

1. Enter one or more `searchTerms` or paste a public category URL into `startUrls`.
2. Set a delivery country, currency, and maximum result count. For a sample from several keywords, set `maxItemsPerSearch` as well as `maxItems`.
3. Start the run, open the dataset, and check the summary for coverage. Use JSON for a pipeline or CSV for a spreadsheet.

The built example collected 50 distinct USD-priced listings for a US delivery market with one USB-C cable search. Each result matched one product charge. Eleven titles and priced offers also matched visible cards on a fresh signed-out visit. Prices reflect the public listing at the time the page is read.

```json
{
  "searchTerms": ["usb c cable"],
  "shipTo": "US",
  "currency": "USD",
  "maxItems": 50
}
```

### Input reference

| Input | Default | How to use it |
|---|---|---|
| `searchTerms` | The Console example contains `usb c cable` | One or more marketplace search terms |
| `startUrls` | Empty | Public category URLs or AliExpress search listing URLs |
| `searchQueries`, `categoryUrls` | Empty | Alternative names for supplying search terms or category links |
| `maxItems` | 50 | Total distinct products across the whole run, from 1 to 5,000 |
| `maxItemsPerSearch` | Same as `maxItems` | Limits each individual search or category and helps spread a run across targets |
| `shipTo` | `US` | Delivery market code such as `US`, `GB`, `CA`, `AU`, `FR` or `DE` |
| `currency` | Destination currency | Currency requested from AliExpress, such as `USD`, `GBP`, `CAD` or `EUR` |
| `language` | `en` | Request a localized language such as `en`, `es`, `fr` or `de` |
| `sort` | `default` | Choose source order, `sales`, `priceAsc` or `priceDesc` |
| `priceMin`, `priceMax` | No range | Keep numeric display prices inside an inclusive range |
| `dealsOnly` | `false` | Keep cards with a positive discount or a higher comparison price |
| `includeUnpriced` | `false` | Also include public cards with no numeric price, free of product charges |
| `proxyConfiguration` | Automatic | Uses the platform default proxy for signed-out HTTP. Set a group, country, custom proxy URL, or explicitly disable the proxy to choose a route. |

The API combines `searchTerms` and `searchQueries` in that order and removes repeated targets. Canonical `sort`, `priceMin` and `priceMax` take precedence over the corresponding `sortBy`, `minPrice` and `maxPrice` aliases when you supply both. To read a different market, change the destination and requested currency together. For callers sharing China marketplace jobs, output uses family fields such as `itemId`, `shopName`, `originalPrice`, `reviewCount`, `skus`, `sourcePage` and `detailLevel`.

```json
{
  "searchTerms": ["wireless earbuds", "mechanical keyboard", "phone case"],
  "shipTo": "GB",
  "currency": "GBP",
  "maxItems": 90,
  "maxItemsPerSearch": 30,
  "priceMin": 3,
  "priceMax": 40,
  "dealsOnly": true
}
```

Use a category link when specificity matters more than the marketplace's keyword interpretation. For example, paste `https://www.aliexpress.com/category/5090301/usb-cables.html` as the first `startUrls` entry. Add keywords in the same job to fill more sections of a product monitoring table.

### Monitor prices every day

Create an Apify task from your inputs. Set a schedule for the task and connect its completed run to a webhook, a spreadsheet import or a data pipeline. Use the run's dataset ID to fetch the finished results. Fetch `SUMMARY` from the run's key-value store for the number of products, free failures, covered inputs and observed source requests.

Keep the same keyword, shipping market and currency in each scheduled run. Store `itemId`, `currency`, `price`, `scrapedAt` and requested market together when you compare prices. Keep `sourceQuery` and `rank` if you track visibility in the same marketplace search results. Where the source publishes several variants behind one card, the displayed listing price gives you a repeatable entry-level observation.

A listing can appear in several searches. Within a single run, its first useful occurrence becomes the stored row. Use separate tasks if you need the same product's rank under two different keywords or its public price in two markets. Across runs, preserve each observation so you can distinguish a retailer change from a changed input.

### Pricing

| Priced products delivered | Base product fees | Run total with standard start fee |
|---:|---:|---:|
| 1 | $0.00037 | $0.00077 |
| 50 | $0.0185 | $0.01890 |
| 1,000 | $0.37 | $0.37040 |

Bronze product fees are $0.0003515 each, Silver fees are $0.000333, and Gold and higher fees are $0.000296. The standard configuration uses one start unit at $0.00040. Apify counts more start units at larger memory allocations. Product charges apply once per distinct priced row. Free input notes, duplicates, unpriced rows, and the summary carry no product fee. The Actor checks your maximum charge before saving and charging another priced product.

### Run from your API

Start a run with the AliExpress Actor endpoint and your Apify API token. The example keeps the token in an environment variable. For scheduled or high-volume jobs, query the run until it finishes, then request its dataset using the returned dataset ID.

```bash
curl -sS -X POST \
  'https://api.apify.com/v2/acts/moggedhq~aliexpress-scraper-cheap/runs' \
  -H "Authorization: Bearer ${APIFY_TOKEN}" \
  -H 'Content-Type: application/json' \
  --data '{"searchTerms":["usb c cable"],"maxItems":50,"shipTo":"US","currency":"USD"}'
```

Retrieve the product columns with `/v2/datasets/DATASET_ID/items?view=overview`. Use `/v2/key-value-stores/STORE_ID/records/SUMMARY` for the run's coverage object. The full dataset contains the product records, any source or input notes, and one final summary. Keep only `type == "PRODUCT"` if you import data without a view.

### Use with AI agents (MCP)

Connect an agent to the Apify MCP server at `https://mcp.apify.com` using your Apify account. Ask it to run `moggedhq/aliexpress-scraper-cheap` with the keyword, destination and spending limit you want. For example, ask for 50 UK wireless earbud listings in GBP, sorted by source order, with discounts only. Have the agent read the dataset and `SUMMARY` before drawing conclusions.

### Limits

- The Actor reads public keyword and category listings. Individual item pages, store catalogs, full variants, stock, shipping quotes, descriptions and review text are unavailable. Compatibility fields for those details remain null.
- A listing price can represent a selected or cheapest variant. Welcome offers, bundles, account promotions, VAT, shipping and checkout totals can change what a particular shopper pays. Keep the shown price and market together when you compare observations.
- The source decides which cards and pages it exposes. `maxItems` is a ceiling. Narrow searches, duplicate cards, price filters and a source pause can reduce the result count.
- Marketplace cards can describe sold counts in rounded or localized terms. The original text is always kept when supplied. The numeric field may be null, and rounded quantities should be treated as bounds or display magnitudes.
- Discount urgency and delivery labels express what AliExpress displays on the card. A relative phrase such as “in 24hrs” does not establish a dated promotion or a guaranteed delivery date.
- The dataset reports the price currency sent by AliExpress. If the page serves another currency, those prices are excluded. Some category pages omit explicit destination metadata. That field stays null when this happens.
- If a source page asks for visitor verification or a pause, the Actor preserves prior results and lists the affected input in the summary.

### FAQ

**How do I compare prices across currencies?** Run each destination separately. Keep the original numeric price, currency and market in your table. Your own currency conversion can sit in a separate column.

**What happens when the same item appears repeatedly?** The first useful product row for that listing ID stays in the dataset. Repeats on another page or from another keyword are free.

**Can I export the discounts?** Select the Deals view or filter the original JSON on `discount`. When both values exist, `originalPrice` gives you the displayed comparison amount.

**Can I use this as an AliExpress price tracker?** Schedule a task with the same market and inputs and compare the resulting price observations by item ID. Each dataset gives you a point-in-time listing snapshot.

**Can I check which search terms worked?** Open `SUMMARY` and read the `inputs` array. It includes source type, result count, pages read and any source failure per attempted input.

**Why are price, rating, and sales counts recorded separately?** A marketplace can expose one without the others. The separate fields keep missing data visible and let you compare only the signals actually supplied by the listing.

**How do I store a clean history?** Use a key containing the listing ID and delivery market, then append a timestamped observation for each run. Preserve the sold label alongside any numeric count so downstream calculations can account for rounding.

# Actor input Schema

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

Search for products by keyword. Enter several terms to cover more of the catalog.

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

Paste public AliExpress category or search URLs.

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

An alias for searchTerms. Entries are combined and deduplicated.

## `categoryUrls` (type: `array`):

An alternative field for AliExpress category URLs.

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

Total distinct products for this run. 50 priced products cost $0.0185 plus the start fee.

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

Optional cap for each separate keyword or category.

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

Two-letter AliExpress market code. Defaults to US.

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

Three-letter currency code. Defaults to the delivery market currency.

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

AliExpress display language code. Defaults to en.

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

Request AliExpress source order, order volume, or price sorting.

## `priceMin` (type: `number`):

Keep displayed prices at or above this amount, in the requested currency.

## `priceMax` (type: `number`):

Keep displayed prices at or below this amount, in the requested currency.

## `dealsOnly` (type: `boolean`):

Keep products with a displayed discount or higher original price.

## `includeUnpriced` (type: `boolean`):

Include public cards with no numeric price. These rows have no product charge.

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

Automatic uses the platform default datacenter proxy. Disable the proxy to request direct cloud HTTP. Explicit settings take precedence.

## Actor input object example

```json
{
  "searchTerms": [
    "usb c cable"
  ],
  "maxItems": 50,
  "shipTo": "US",
  "currency": "USD",
  "language": "en",
  "dealsOnly": false,
  "includeUnpriced": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `products` (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 = {
    "searchTerms": [
        "usb c cable"
    ],
    "maxItems": 50,
    "shipTo": "US",
    "currency": "USD",
    "language": "en",
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("moggedhq/aliexpress-scraper-cheap").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"],
    "maxItems": 50,
    "shipTo": "US",
    "currency": "USD",
    "language": "en",
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("moggedhq/aliexpress-scraper-cheap").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"
  ],
  "maxItems": 50,
  "shipTo": "US",
  "currency": "USD",
  "language": "en",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call moggedhq/aliexpress-scraper-cheap --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moggedhq/aliexpress-scraper-cheap"
        }
    }
}
```

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/K3ae9WGm3PqVWPzQG/builds/3YFuKY7R46bO4b5oP/openapi.json
