# Find top-rated AliExpress best sellers

**Use case:** 

Get the AliExpress results for a keyword that have at least the rating and the sold count you set, with most orders first inside each result page. The Actor reads the result pages and saves only the rows that reach both minimums; rows it leaves out are not charged. A result that shows no rating or no sold count is left out.

## Input

```json
{
  "searchQueries": [
    "yoga mat thick"
  ],
  "maxItems": 40,
  "sort": "orders",
  "minRating": 4.5,
  "minSoldCount": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxRequestRetries": 3,
  "debugLog": false
}
```

## Output

```json
{
  "imageUrl": {
    "label": "Image",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "priceType": {
    "label": "Price type",
    "format": "string"
  },
  "newUserPrice": {
    "label": "New-user price",
    "format": "number"
  },
  "isNewUserPrice": {
    "label": "Price is new-user deal",
    "format": "boolean"
  },
  "originalPrice": {
    "label": "Original price",
    "format": "number"
  },
  "discountPercent": {
    "label": "Discount %",
    "format": "integer"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "salesSignal": {
    "label": "Sold (as shown)",
    "format": "string"
  },
  "salesCount": {
    "label": "Sold count",
    "format": "integer"
  },
  "searchQuery": {
    "label": "Search term",
    "format": "string"
  },
  "position": {
    "label": "Position",
    "format": "integer"
  },
  "productUrl": {
    "label": "Item URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [AliExpress Search API & Scraper](https://apify.com/sourcing-data-studio/aliexpress-search-api.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sourcing-data-studio/aliexpress-search-api.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/sourcing-data-studio/aliexpress-search-api.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`).
