# AliExpress Scraper (`mohamed.k.sirag/aliexpress-scraper`) Actor

A robust API solution for extracting real-time product data, pricing, and supplier information from AliExpress. This API supports advanced filtering, multi-currency conversion, and regional localization.

- **URL**: https://apify.com/mohamed.k.sirag/aliexpress-scraper.md
- **Developed by:** [Mohamed Sirag](https://apify.com/mohamed.k.sirag) (community)
- **Categories:** Automation, Developer tools, E-commerce
- **Security:** Limited permissions
- **Stats:** 66 total users, 0 monthly users, 0.0% runs succeeded, 5 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## 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 & Alibaba Scraper API

The AliExpress Scraper API provides a powerful, real-time gateway to one of the world's largest retail and wholesale marketplaces. Built for developers, drop-shippers, and data analysts, this API bypasses complex anti-bot measures to deliver structured JSON data directly to your application.
Whether you are tracking price fluctuations, sourcing products for a storefront, or performing competitive analysis, our API handles the heavy lifting of web scraping so you can focus on building your business.

### 🚀 Features

- **Advanced Filtering**: Filter by price range, minimum order quantity (MOQ), and supplier status.
- **Supplier Insights**: Access verified supplier data and Trade Assurance status.
- **Localization**: Support for multiple languages, regions, and currencies.
- **High Volume**: Fetch up to 1000 products per single request.

***

### Request Body:

The request must be a JSON object containing the search query and desired filters.

| Field | Type | Required | Description |
| :--- | :--- | :--- | :--- |
| `qurey` | string | Yes | The search keyword (e.g., "shirt"). |
| `max` | integer | No | Max number of results (default: 20, max: 1000, min: 1). |
| `region` | string | No | ISO Country code (default: "US"). |
| `language` | string | No | Language code (default: "EN"). |
| `currency` | string | No | Currency code (default: "USD"). |
| `filters` | object | No | See [Filter Object](#filter-object) below. |

**Filter Object:**

- `minPrice` (number): Minimum product price.
- `maxPrice` (number): Maximum product price.
- `minOrder` (number): Minimum order quantity filter.
- `tradeAssurance` (boolean): Only show suppliers with Trade Assurance.
- `verifiedSupplier` (boolean): Only show verified suppliers.

**Example Request:**

```json
{
    "qurey": "shirt",
    "max": 200,
    "region": "US",
    "language": "EN",
    "currency": "USD",
    "filters": {
        "minPrice": 2,
        "maxPrice": 3,
        "minOrder": 1,
        "tradeAssurance": true,
        "verifiedSupplier": true
    }
}
```

### 📦 Data Schema (Response)

A successful request returns an array of product objects.
Product Object Structure

**Example Response:**

```json

{
  "thumb": "https://s.alicdn.com/@sc04/kf/H30ac98a34a5d4e898d8282f4627692d8H.jpg_200x200.jpg",
  "title": "Wholesale Blank Plain T Shirt Custom Silk Screen Print Digital Logo Brand Polyester Cotton Tshirt Plus Size Men T-shirt For Men",
  "pricing": [
    {
      "dollarPrice": 3.4,
      "formatPrice": "CA$4.71",
      "max": 299,
      "min": 2,
      "price": 4.71
    },
    {
      "dollarPrice": 2.7,
      "formatPrice": "CA$3.74",
      "max": 2999,
      "min": 300,
      "price": 3.74
    },
    {
      "dollarPrice": 1.9,
      "formatPrice": "CA$2.64",
      "max": 299999,
      "min": 3000,
      "price": 2.64
    },
    {
      "dollarPrice": 1.3,
      "formatPrice": "CA$1.80",
      "max": -1, => ∞
      "min": 300000,
      "price": 1.8
    }
  ],
  "productId": "1600078881567",
  "images": [
    "https://sc04.alicdn.com/kf/H30ac98a34a5d4e898d8282f4627692d8H.jpg",
    "https://sc04.alicdn.com/kf/H1e5e620583004c91b5643633495e51c4x.jpg",
    "https://sc04.alicdn.com/kf/Ha84ed2632b0a40028abea54c1b5dcd29b.jpg",
    "https://sc04.alicdn.com/kf/H2d9ea72985bb494ba32d4cdf96e90a55f.jpg",
    "https://sc04.alicdn.com/kf/Ha2b0a6aaa41c4ba78a4968dff91ba35d3.jpg",
    "https://sc04.alicdn.com/kf/Ha91cbfab63cd4ca29bf4289ffda9d345F.jpg"
  ],
  "video": [
    {
      "duration": 30,
      "coverUrl": "https://sc04.alicdn.com/kf/H30ac98a34a5d4e898d8282f4627692d8H.jpg_120x120.jpg",
      "videoUrl": "http://gv.videocdn.alibaba.com/189c084e92cc5e9f/xnlU3y2OfbpOtus3kGH/kI0KvYkkvbs93HHBexB_353718872148_mp4_264_hd_unlimit_taobao.mp4?bizCode=icbu_vod_video"
    }
  ],
  "evaluation": "4.9",
  "productProperties": [
    {
      "name": "Logo position",
      "value": "Front"
    },
    {
      "name": "Collar",
      "value": "O-Neck"
    },
    {
      "name": "Printing Methods",
      "value": "Silk Screen Printing"
    },
    {
      "name": "Technics",
      "value": "Printed"
    },
    {
      "name": "Sleeve Style",
      "value": "Short sleeve"
    },
    {
      "name": "Fit Type",
      "value": "Regular Fit"
    },
    {
      "name": "Weaving method",
      "value": "Knitted"
    },
    {
      "name": "Fabric Type",
      "value": "Knitted"
    },
    {
      "name": "Material",
      "value": "Polyester / Cotton"
    },
    {
      "name": "Design",
      "value": "With Pattern"
    },
    {
      "name": "Length",
      "value": "Regular"
    },
    {
      "name": "Pattern Type",
      "value": "Solid"
    },
    {
      "name": "Style",
      "value": "Casual"
    },
    {
      "name": "Feature",
      "value": "Anti-Wrinkle, Anti-Pilling, Breathable, Eco-Friendly, Anti-shrink, Sustainable"
    },
    {
      "name": "Gender",
      "value": "Men"
    },
    {
      "name": "7 days sample order lead time",
      "value": "Support"
    },
    {
      "name": "Fabric Weight",
      "value": "180 Grams"
    },
    {
      "name": "Needle detection",
      "value": "Yes"
    },
    {
      "name": "Place of Origin",
      "value": "Fujian, China"
    },
    {
      "name": "Brand Name",
      "value": "JFJ"
    }
  ],
  "skuData": [
    {
      "name": "Color",
      "values": [
        {
          "name": "Blue",
          "img": "https://sc04.alicdn.com/kf/Hce7d86ff63284223a2d043c1cbb20ba8V.jpg"
        },
        {
          "name": "Black",
          "img": "https://sc04.alicdn.com/kf/Hcbeddd41272f4b6189b4b6aa472be6a1c.jpg"
        },
        {
          "name": "Pink",
          "img": "https://sc04.alicdn.com/kf/H6f08990a63944d58a099ee0446d072b4c.jpg"
        },
        {
          "name": "White",
          "img": "https://sc04.alicdn.com/kf/H407d503f9e034ca29b004da9762adc99l.jpg"
        },
        {
          "name": "Red",
          "img": "https://sc04.alicdn.com/kf/H86a0d8c6c62f4dc5aef9128aea16b85bm.jpg"
        },
        {
          "name": "Yellow",
          "img": "https://sc04.alicdn.com/kf/H89a680dcfd7f4d6eb20627b82018cb6fE.jpg"
        },
        {
          "name": "Orange",
          "img": "https://sc04.alicdn.com/kf/Hc3c454678fab480e9fcc4d5f9fcac4aag.jpg"
        },
        {
          "name": "Light Blue",
          "img": "https://sc04.alicdn.com/kf/H24f6973a52a24f3894018278a626fa319.jpg"
        },
        {
          "name": "Gray",
          "img": "https://sc04.alicdn.com/kf/Hf7ccccd8ed5a4e6382adddb2c1fbe554o.jpg"
        },
        {
          "name": "Fuchsia",
          "img": "https://sc04.alicdn.com/kf/H85574fda559746399a0046c2d7ef2516a.jpg"
        },
        {
          "name": "Green",
          "img": "https://sc04.alicdn.com/kf/H8075756ee9814d968745e1287ac06875G.jpg"
        },
        {
          "name": "light green",
          "img": "https://sc04.alicdn.com/kf/H939cb2fde8ab490cb10dc5e50d003022o.jpg"
        },
        {
          "name": "Fluorescent green",
          "img": "https://sc04.alicdn.com/kf/H843c89d65dd74ef48b5e6da8d8296f34L.jpg"
        },
        {
          "name": "lake blue",
          "img": "https://sc04.alicdn.com/kf/H8213c0ea11204330a8b419f22a4497faw.jpg"
        }
      ]
    },
    {
      "name": "Size",
      "values": [
        {
          "name": "S",
          "img": null
        },
        {
          "name": "M",
          "img": null
        },
        {
          "name": "L",
          "img": null
        },
        {
          "name": "XL",
          "img": null
        },
        {
          "name": "2 XL",
          "img": null
        }
      ]
    }
  ],
  "protectionType": [
    "safePayment",
    "easyReturn",
    "taAssurance"
  ],
  "productDetailUrl": "https://p4pclickproxy.alibaba.com/clickRedirect.do?",
  "reviewsCount": 504,
  "salesVolume": "69611 sold",
  "leadTimeInfo": [
    {
      "maxQuantity": 30,
      "minQuantity": 1,
      "processPeriod": 10
    },
    {
      "maxQuantity": 1000,
      "minQuantity": 31,
      "processPeriod": 20
    },
    {
      "maxQuantity": 3000,
      "minQuantity": 1001,
      "processPeriod": 25
    }
  ],
  "placeOfDispatches": [
    {
      "id": "CN",
      "name": "China"
    }
  ],
  "minOrder": "2",
  "orderUnit": "pieces",
  "supplier": {
    "companyID": "235054335",
    "companyName": "Fuzhou Jifengjie Trading Co., Ltd.",
    "contactSupplierURL": "https://p4pclickproxy.alibaba.com/clickRedirect.do?",
    "countryCode": "CN",
    "supplierYears": "6"
  },
  "shippingTo": "US",
  "delivery": "30 December"
}
```

**Key Response Fields:**
Top-Level Fields
| Field | Type | Description |
|---|---|---|
| productId | string | Unique identifier for the product. |
| title | string | Full descriptive name of the product. |
| thumb | string (URL) | Primary thumbnail image URL (low resolution). |
| evaluation | string | Average customer rating (e.g., "4.9"). |
| reviewsCount | integer | Total number of customer reviews. |
| salesVolume | string | Historical sales data (e.g., "69611 sold"). |
| minOrder | string | Minimum quantity required to place an order. |
| orderUnit | string | The unit of measurement for orders (e.g., "pieces"). |
| productDetailUrl | string (URL) | Direct link to the product page on the web. |
| delivery | string | Estimated delivery date. |
| shippingTo | string | ISO country code for the destination (e.g., "US"). |

Nested Objects & Arrays

1. Pricing (pricing\[])
   An array of objects representing tiered pricing based on order volume.

- min / max: The quantity range for this price tier ( -1 = ∞).
- price: Unit price in the local currency.
- dollarPrice: Unit price converted to USD.
- formatPrice: Formatted string of the price with currency symbol.

2. Media (images\[] & video\[])

- images: An array of high-resolution image URLs.
- video: An array containing video metadata including videoUrl, coverUrl, and duration (in seconds).

3. SKU Data (skuData\[])
   Defines the available variations for the product.

- Color: Includes the color name and an associated image URL (img) for that specific variant.
- Size: Lists available sizes (e.g., S, M, L, XL).

4. Product Properties (productProperties\[])
   A collection of technical specifications and attributes.

- name: The attribute label (e.g., "Material", "Fabric Weight").
- value: The specific detail (e.g., "Polyester / Cotton", "180 Grams").

5. Lead Time (leadTimeInfo\[])
   Shipping preparation times based on quantity.

- maxQuantity: Upper limit of the tier.
- processPeriod: Number of days required to ship.

6. Supplier Info (supplier)
   Details about the vendor.

- companyName: Registered name of the seller.
- supplierYears: How many years the supplier has been active on the platform.
- contactSupplierURL: A deep link to initiate a message with the vendor.

### 🎯 Use Cases

- Price Monitoring: Build dashboards to track market trends and price shifts for specific niches.
- Drop-shipping Automation: Auto-sync product details and pricing directly to your Shopify or WooCommerce store.
- Supplier Sourcing: Quickly vet manufacturers by filtering for years in business and evaluation scores.
- Market Research: Analyze the "Reviews Count" and "Evaluations" to identify high-demand products before they go viral.

### 🕵️‍♂️ Notes

- AliExpress may change its website structure; if scraping fails, please
- Avoid excessive concurrency to reduce blocking.

# Actor input Schema

## `qurey` (type: `string`):

query

## `max` (type: `integer`):

The maximum number of items you want to get.

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

No description

## `region` (type: `string`):

No description

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

No description

## `filters` (type: `object`):

Configure optional filters to refine your results.

## Actor input object example

```json
{
  "qurey": "shoes",
  "max": 20,
  "currency": "USD",
  "region": "US",
  "language": "en_US"
}
```

# Actor output Schema

## `overview` (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 = {
    "qurey": "shoes"
};

// Run the Actor and wait for it to finish
const run = await client.actor("mohamed.k.sirag/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 = { "qurey": "shoes" }

# Run the Actor and wait for it to finish
run = client.actor("mohamed.k.sirag/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 '{
  "qurey": "shoes"
}' |
apify call mohamed.k.sirag/aliexpress-scraper --silent --output-dataset

```

## MCP server setup

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