# Aliexpress Product Similar (`pintostudio/aliexpress-product-similar`) Actor

This Actor allows you to fetch related products from AliExpress, making it an invaluable tool for market research, competitor analysis, and cross-selling strategies. By providing details of similar products, it enables you to identify trends, compare prices, and diversify your offerings.

- **URL**: https://apify.com/pintostudio/aliexpress-product-similar.md
- **Developed by:** [Pinto Studio](https://apify.com/pintostudio) (community)
- **Categories:** E-commerce, AI
- **Features:** Limited permissions
- **Stats:** 20 total users, 0 monthly users, 36.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.90 / 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?

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 Similar Scraper Actor

The **Aliexpress Product Similar Scraper** allows you to fetch related products from AliExpress, making it an invaluable tool for market research, competitor analysis, and cross-selling strategies. By providing details of similar products, it enables you to identify trends, compare prices, and diversify your offerings.

***

### Features

- **Discover Related Products:** Fetch products similar to a given product ID to explore related items.
- **Pagination Support:** Easily handle large datasets by paginating through results.
- **Detailed Product Data:** Retrieve essential product information like title, price, and image URLs.
- **High Performance:** Get structured data optimized for quick integration and analysis.

***

### Parameters

#### `productId` (string, required)

The unique identifier of the AliExpress product whose similar items you want to retrieve.\
**Example:** `1005005380254492`

#### `page` (number, optional)

The page number to retrieve.\
**Default:** `1`

#### `pageSize` (number, optional)

The number of similar products per page.\
**Default:** `20`

***

### Example Request

```json
{
  "productId": "1005005380254492",
  "page": 1,
  "pageSize": 20
}
```

***

### Use Cases

- **Cross-Selling Opportunities:** Find products that complement your existing offerings.
- **Market Research:** Discover alternative options and pricing trends.
- **Competitor Analysis:** Identify similar items sold by competitors.

***

### FAQs

#### 1. **What does the Aliexpress Product Similar Scraper do?**

This actor retrieves a list of products similar to a given AliExpress product, helping you explore related items for various use cases.

***

#### 2. **What is the `productId` parameter?**

The `productId` is the unique identifier of a product on AliExpress. It is required to find similar products.

***

#### 3. **Can I control the number of results per request?**

Yes, use the `pageSize` parameter to set the number of results per page, with a default of 20 products.

***

#### 4. **How do I paginate through the results?**

Specify the `page` parameter to retrieve a specific page of results. Increment the page number for each subsequent request.

***

#### 5. **What type of data does the response include?**

The response includes:

- Product ID, title, and images.
- Price range and currency.
- Store information, including store name and ID.

***

#### 6. **Does this actor support filters?**

No, filtering is not available, but you can sort or filter the results manually after retrieval based on your needs.

***

#### 7. **Is the actor suitable for beginners?**

Yes! With simple parameters and structured JSON responses, this actor is beginner-friendly and easy to use.

***

#### 8. **How many similar products can I retrieve in total?**

The actor retrieves up to the total number of products available for a given `productId`. Use pagination to fetch all results.

***

#### 9. **What kind of insights can I get from this actor?**

This actor provides insights into related product trends, price comparisons, and cross-selling opportunities for AliExpress products.

***

#### 10. **How can this actor enhance my SEO strategy?**

By fetching similar products, you can:

- Expand product descriptions with related items.
- Optimize keywords based on similar product trends.
- Improve internal linking by showcasing related products on your website.

***

### SEO-Optimized Content

- **AliExpress similar products scraper**: Uncover related product options.
- **Cross-sell with AliExpress product insights**: Boost your ecommerce strategy.
- **AliExpress market research tool**: Explore competitor products.
- **Related product scraper for AliExpress**: Optimize your product listings.
- **Data-driven ecommerce growth**: Analyze trends with similar product data.

Start using the **Aliexpress Product Similar Scraper Actor** today to gain valuable insights and optimize your ecommerce strategy!

# Actor input Schema

## `productId` (type: `string`):

The product Id

## `page` (type: `string`):

The page Index

## `pageSize` (type: `string`):

The page Size

## Actor input object example

```json
{
  "productId": "1005009993687556",
  "page": "1",
  "pageSize": "20"
}
```

# 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 = {
    "productId": "1005009993687556",
    "page": "1",
    "pageSize": "20"
};

// Run the Actor and wait for it to finish
const run = await client.actor("pintostudio/aliexpress-product-similar").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 = {
    "productId": "1005009993687556",
    "page": "1",
    "pageSize": "20",
}

# Run the Actor and wait for it to finish
run = client.actor("pintostudio/aliexpress-product-similar").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 '{
  "productId": "1005009993687556",
  "page": "1",
  "pageSize": "20"
}' |
apify call pintostudio/aliexpress-product-similar --silent --output-dataset

```

## MCP server setup

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

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/6bqNMoKePZS5wplwM/builds/hdf4Gdq8HhLPPQCjn/openapi.json
