# 🛍️ AliExpress Product Search Scraper (`hipersoft/aliexpress-scraper`) Actor

Search AliExpress by keyword and export one clean row per product — title, sale price, original price, image and product URL. Export to JSON, CSV or Excel.

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

## Pricing

from $0.0015 / product scraped

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 🛍️ AliExpress Product Search Scraper

Search **AliExpress** by keyword and get back a clean, structured list of products — ready for JSON, CSV, Excel or Google Sheets. Type in the keywords you care about, press start, and export one tidy row per product: title, current sale price, original price, product image and a direct link to the item.

No account, no API keys, no setup. Just keywords in, product data out.

***

### What it does

Give the scraper one or more search terms — like `wireless earbuds`, `laptop stand` or `running shoes` — and it collects the matching products from AliExpress search results and turns them into a spreadsheet-ready dataset.

Each product row includes:

| Field | Description |
|---|---|
| `productId` | The AliExpress product ID |
| `title` | Product title |
| `salePrice` | Current selling price (as shown on the listing) |
| `originalPrice` | Original / list price, when available |
| `image` | Main product image URL |
| `url` | Direct link to the product page |

### Example output

```json
{
  "productId": "1005013089944692",
  "title": "Adjustable Laptop Stand Foldable Non-Slip Notebook Holder",
  "salePrice": "€ 15,31",
  "originalPrice": "€ 24,90",
  "image": "https://ae-pic-a1.aliexpress-media.com/kf/S7cfc9ec4062c403c9c43a258bef09d66i.jpg",
  "url": "https://www.aliexpress.com/item/1005013089944692.html"
}
```

### Input

| Setting | Description |
|---|---|
| **Search keywords** | One or more product keywords. Each keyword runs its own search and the results are combined into a single dataset. |
| **Max items** | Maximum number of products to collect across all searches. Set `0` for no limit. |

A minimal run is just a keyword list:

```json
{
  "queries": ["wireless earbuds", "laptop stand"],
  "maxItems": 100
}
```

### Common uses

- **Price research & monitoring** — track how a product category is priced across many sellers.
- **Product discovery** — find trending or best-selling items for a niche in seconds.
- **Dropshipping & sourcing** — build catalogs of candidate products with images and links.
- **Market analysis** — compare prices, titles and offers at scale across keywords.
- **Feeding other tools** — export to CSV/Excel or pipe the dataset straight into your own workflow, spreadsheet or BI tool.

### How to use it

1. Enter one or more **search keywords**.
2. Optionally set a **Max items** limit.
3. Click **Start**.
4. When the run finishes, download your results as **JSON, CSV, Excel** or view them in the dataset table.

### Output formats

Results are stored in a standard Apify dataset, so you can export to **JSON, CSV, Excel, XML** or grab them via the Apify API for use in your own apps and automations.

### FAQ

**Do I need an AliExpress account or API key?**
No. Just enter keywords and run it.

**Can I search multiple keywords at once?**
Yes — add as many keywords as you like. Each runs its own search and everything is merged into one dataset.

**How many products can I get?**
Use **Max items** to control the volume. Set it to `0` to collect everything the searches return.

**What does it cost?**
This Actor uses simple pay-per-result pricing — you're charged per product row returned. See the pricing tab for current rates and volume discounts.

***

*Not affiliated with, endorsed by, or sponsored by AliExpress. All product names, logos and brands are the property of their respective owners. Use responsibly and in line with applicable terms and laws.*

# Actor input Schema

## `queries` (type: `array`):

One or more product keywords to search on AliExpress — for example 'wireless earbuds', 'laptop stand' or 'running shoes'. Each keyword runs its own search and the results are combined.

## `country` (type: `string`):

Which regional storefront to read prices from — this sets the language and currency of the results.

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

Maximum number of products to collect across all searches (0 = no limit; collect everything the searches return).

## Actor input object example

```json
{
  "queries": [
    "wireless earbuds"
  ],
  "country": "US",
  "maxItems": 100
}
```

# Actor output Schema

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

The results as dataset items.

# 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 = {
    "queries": [
        "wireless earbuds"
    ]
};

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

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

```

## MCP server setup

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