# Aliexpress Discovery Scraper (`getdataforme/aliexpress-discovery-scraper`) Actor

Efficiently extract detailed product data from Aliexpress using the Aliexpress Discovery Scraper. Customize searches, leverage proxy support, and handle large data volumes. Ideal for market analysis and competitive intelligence, it provides structured JSON output for seamless integration.

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

## Pricing

from $9.00 / 1,000 results

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?

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 Discovery Scraper

### Introduction

The Aliexpress Discovery Scraper is designed to efficiently extract product data from Aliexpress based on specified search queries. This tool is ideal for businesses and researchers looking to gather comprehensive product information for market analysis, competitive intelligence, and more.

### Features

- **Comprehensive Data Extraction**: Scrapes detailed product information including titles, prices, ratings, and images.
- **Customizable Search**: Tailor your search with specific keywords to target the exact products you need.
- **Proxy Support**: Utilizes Apify's residential proxy network to ensure reliable and anonymous data collection.
- **High Performance**: Capable of scraping large volumes of data quickly and efficiently.
- **Structured Output**: Provides data in a clean, structured JSON format for easy integration into your systems.
- **Scalable**: Adjust the number of items to scrape based on your project needs.
- **User-Friendly Interface**: Simple setup and execution through the Apify platform.

### Input Parameters

| Parameter           | Type     | Required | Description                                                                 | Example   |
|---------------------|----------|----------|-----------------------------------------------------------------------------|-----------|
| `searchQuery`       | String   | Yes      | Enter the search keywords to find products.                                 | "laptop"  |
| `maxItems`          | Integer  | No       | Maximum number of items to scrape.                                          | 100       |
| `proxyConfiguration`| Object   | No       | Specifies proxy servers for scraping. Defaults to using Apify's residential proxies. | See below |

### Example Usage

#### Example Input JSON

```json
{
  "searchQuery": "laptop",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "US"
  }
}
```

#### Example Output JSON

```json
[
  {
    "productId": "3256809981706062",
    "title": {
      "display": "14.1\" Ultra Slim Windows 11 Pro Laptop Computer intel Atom A3950 12GB RAM 1TB 2TB SSD Notebook PC 1080P HD Office Study Laptops"
    },
    "image": {
      "url": "https://ae-pic-a1.aliexpress-media.com/kf/Sf0c2ef0033af46d49da76f26e42f2024h.jpg"
    },
    "price": {
      "sale": {
        "formatted": "US $171.48",
        "amount": 171.48
      }
    },
    "rating": {
      "score": 4.9
    },
    "trade": {
      "count": "331"
    },
    "scrapedAt": "2026-05-14T10:30:12.253Z"
  }
]
```

### Use Cases

- **Market Research and Analysis**: Gather data to understand market trends and consumer preferences.
- **Competitive Intelligence**: Monitor competitor pricing and product offerings.
- **Price Monitoring**: Track price changes over time for strategic pricing decisions.
- **Content Aggregation**: Compile product information for content creation or aggregation platforms.
- **Academic Research**: Collect data for studies on e-commerce trends and consumer behavior.
- **Business Automation**: Automate data collection for inventory management and sales analysis.

### Installation and Usage

1. Search for "Aliexpress Discovery Scraper" in the Apify Store.
2. Click "Try for free" or "Run".
3. Configure input parameters.
4. Click "Start" to begin extraction.
5. Monitor progress in the log.
6. Export results in your preferred format (JSON, CSV, Excel).

### Output Format

The output is a JSON array where each object contains detailed product information such as `productId`, `title`, `image`, `price`, `rating`, `trade`, and `scrapedAt`. This structured format ensures easy data manipulation and integration.

### Support

For custom/simplified outputs or bug reports, please contact:

- Email: support@getdataforme.com
- Subject line: "custom support"
- Contact form: <https://getdataforme.com/contact/>

We're here to help you get the most out of this Actor!

# Actor input Schema

## `searchQuery` (type: `string`):

Enter the Search Keywords

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

Maximum number of items to scrape.

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

Specifies proxy servers that will be used by the scraper in order to hide its origin.

## Actor input object example

```json
{
  "searchQuery": "laptop",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `results` (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 = {
    "searchQuery": "laptop",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/aliexpress-discovery-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 = {
    "searchQuery": "laptop",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("getdataforme/aliexpress-discovery-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 '{
  "searchQuery": "laptop",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call getdataforme/aliexpress-discovery-scraper --silent --output-dataset

```

## MCP server setup

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