# Compare prices and orders sold for LED lights

**Use case:** 

Reads the public AliExpress search pages for "led light" and "usb cable", one page (about 60 products) per word. Each record has the title, price, price before discount, discount, orders sold, rating, store, image, link and the place of the product in the results. Change the search words or the pages.

## Input

```json
{
  "queries": [
    "led light",
    "usb cable"
  ],
  "maxPagesPerQuery": 1,
  "maxResults": 120
}
```

## Output

```json
{
  "query": {
    "label": "Search word",
    "format": "string"
  },
  "page": {
    "label": "Page",
    "format": "integer"
  },
  "position": {
    "label": "Position",
    "format": "integer"
  },
  "source_id": {
    "label": "Product id",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "image_url": {
    "label": "Image",
    "format": "string"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "original_price": {
    "label": "Price before discount",
    "format": "number"
  },
  "discount_percent": {
    "label": "Discount %",
    "format": "integer"
  },
  "sold_count": {
    "label": "Sold",
    "format": "integer"
  },
  "sold_text": {
    "label": "Sold (text)",
    "format": "string"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "store_name": {
    "label": "Store",
    "format": "string"
  },
  "ships_from": {
    "label": "Ships from",
    "format": "string"
  },
  "is_ad": {
    "label": "Sponsored",
    "format": "boolean"
  },
  "is_gift": {
    "label": "Gift",
    "format": "boolean"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The AliExpress Search Scraper: Products and Prices Actor is ready to run with the inputs already set for "Compare prices and orders sold for LED lights". [Sign up or log in](https://console.apify.com/create-task-from-example/co1ScvYFBsws3AEXq) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Compare prices and orders sold for LED lights" task

The AliExpress Search Scraper: Products and Prices Actor will start running based on the input automatically. You can also change all the input fields, like search words or search page links, pages per search word, and more, to match your specific use case.

### 3. Receive the "Compare prices and orders sold for LED lights" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as search word, page, position, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Compare prices and orders sold for LED lights" task via API](https://apify.com/avakode/aliexpress-search.md).

## FAQ

### Can I use a link to a search page?

Yes. Put a link such as https://www.aliexpress.com/w/wholesale-usb-cable.html in Search words or search page links. Add ?page=3 to start at page 3. Product links are refused.

### Are product pages opened?

No. The task reads search result pages and not product pages, so variants, specifications, descriptions and reviews are not returned.

### How many products can one run read?

A run reads up to 10 search pages in total, about 60 products per page. Pages per search word is counted within that total.

## About this Actor

This example demonstrates how to use [AliExpress Search Scraper: Products and Prices](https://apify.com/avakode/aliexpress-search.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/avakode/aliexpress-search.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/avakode/aliexpress-search.md

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`).
