# Export AliExpress search results to JSON or CSV

**Use case:** 

Turn an AliExpress keyword search into a dataset you can download as JSON, CSV or Excel or read through the API: item id, title, price, currency, rating, sold count, image and link for every result. No login and no browser extension. Schedule it, or call it from your own code or an AI agent.

## Input

```json
{
  "searchQueries": [
    "phone case"
  ],
  "maxItems": 20,
  "sort": "relevance",
  "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`).
