# Aliexpress Product Details (`coladeu/aliexpress-product-details`) Actor

AliExpress Product Details Scraper allows you to extract complete product information from AliExpress product pages like descriptions, shipping info, sku prices etc.

This actor scrapes structured and up-to-date data directly from AliExpress product URLs, making it ideal for e-commerce research

- **URL**: https://apify.com/coladeu/aliexpress-product-details.md
- **Developed by:** [Coladeu](https://apify.com/coladeu) (community)
- **Categories:** E-commerce
- **Stats:** 270 total users, 31 monthly users, 97.7% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.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.
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 Product Details Scraper

A powerful Apify Actor that extracts comprehensive product information from AliExpress in a structured, machine-readable format. This actor fetches detailed product data including pricing, shipping options, descriptions, images, and more for one or multiple products.

### Features

- **Comprehensive Data Extraction**: Retrieves all essential product information including:
  - **Pricing Details**: Current price, original price, discounts, currency conversion, and price localization
  - **Shipping Information**: Delivery options, shipping methods, estimated delivery times, and shipping costs
  - **Product Details**: Title, detailed descriptions, specifications, and product properties
  - **Media Assets**: Product images and visual content
  - **Shop Information**: Seller details, shop ratings, and shop card information
  - **Product Variants**: SKU options, quantity selections, and product variations
  - **Ratings & Reviews**: Product ratings and review data
  - **Additional Metadata**: Wishlist status and other product metadata

- **Bulk Processing**: Process multiple product IDs in a single run

- **Smart Caching**: Built-in caching system to avoid redundant API calls and reduce costs

- **Localization Support**: Customize location, locale, and currency for accurate regional pricing and shipping information

- **Structured Output**: Returns clean, structured JSON data ready for integration with other systems

- **Error Handling**: Robust error handling with automatic retry logic and failure detection

### Input Parameters

- **productIds** (array, required): List of AliExpress product IDs to scrape. You can extract the product ID from the product URL (e.g., `1005001234567890` from `https://www.aliexpress.com/item/1005001234567890.html`)
- **location** (string, optional): Default shipping destination country code (e.g., `US`, `GB`, `NL`). Defaults to `US`
- **locale** (string, optional): Locale code for language and regional settings (e.g., `en_US`, `en_GB`). Defaults to `en_US`
- **currency** (string, optional): Currency code for price display (e.g., `USD`, `GBP`, `EUR`). Defaults to `USD`

### Output Format

Each product is returned as a structured JSON object containing:

```json
{
  "id": "1005001234567890",
  "title": "Product Title",
  "description": {
    // Detailed product description and specifications
  },
  "images": {
    // Product image URLs and media assets
  },
  "shipping": [
    {
      // Shipping method details
      // Delivery times, costs, and options
    }
  ],
  "price": {
    // Current price, original price, discounts
    // Currency information and price localization
  },
  "shop": {
    // Seller information and shop details
  },
  "sku": {
    // Product variants and SKU options
  },
  "properties": {
    // Product specifications and attributes
  },
  "quantity": {
    // Available quantity options
  },
  "rating": {
    // Product ratings and review statistics
  },
  "wishlist": {
    // Wishlist information
  }
}
```

### Use Cases

- **E-commerce Integration**: Import AliExpress products into your e-commerce platform
- **Price Monitoring**: Track product prices and discounts over time
- **Market Research**: Analyze product details, shipping options, and pricing strategies
- **Dropshipping**: Automate product data collection for dropshipping businesses
- **Product Comparison**: Gather structured data for competitive analysis
- **Inventory Management**: Monitor product availability and variants

### Getting Started

#### Run Locally

```bash
apify run
```

#### Deploy to Apify

1. Log in to Apify:
   ```bash
   apify login
   ```

2. Deploy the Actor:
   ```bash
   apify push
   ```

### Example Usage

1. Go to [Apify Console](https://console.apify.com/actors)
2. Select this Actor
3. Configure input:
   - Add product IDs (one per line or comma-separated)
   - Optionally set location, locale, and currency
4. Run the Actor
5. Download results from the Dataset

### Resources

- [Apify SDK Documentation](https://docs.apify.com/sdk/js)
- [Apify Platform Documentation](https://docs.apify.com/platform)
- [Apify Academy](https://docs.apify.com/academy)
- [Join Apify Community on Discord](https://discord.com/invite/jyEM2PRvMU)

# Actor input Schema

## `productIds` (type: `array`):

Add multiple product IDs to fetch. Click 'Add item' to add a new product ID. You can get the product ID from the product URL on AliExpress. For example, https://www.aliexpress.com/item/1005001234567890.html has the product ID 1005001234567890.

## `location` (type: `string`):

Default shipping destination country code (used for single productId mode)

## `locale` (type: `string`):

Default locale code (used for single productId mode)

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

Default currency code (used for single productId mode)

## Actor input object example

```json
{
  "productIds": [],
  "location": "US",
  "locale": "en_US",
  "currency": "USD"
}
```

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

// Run the Actor and wait for it to finish
const run = await client.actor("coladeu/aliexpress-product-details").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 = { "productIds": [] }

# Run the Actor and wait for it to finish
run = client.actor("coladeu/aliexpress-product-details").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 '{
  "productIds": []
}' |
apify call coladeu/aliexpress-product-details --silent --output-dataset

```

## MCP server setup

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

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/lVWN8Yvj3IYnYzafT/builds/FAnHd1ADXu3FOuWNO/openapi.json
