# AliExpress Scraper & API | EveryInfra (`blushing_parachute/everyinfra-aliexpress-api`) Actor

Unofficial AliExpress data via one Actor: search, profile, variants, reviews, ratings, product_detail. Pay per request, no start fee. First 3 requests free across EveryInfra Actors.

- **URL**: https://apify.com/blushing_parachute/everyinfra-aliexpress-api.md
- **Developed by:** [ECHO](https://apify.com/blushing_parachute) (community)
- **Categories:** E-commerce, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 16.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.70 / 1,000 search requests

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 Scraper & API | EveryInfra

Retrieve cross-border products, detailed variants, rating distributions, and buyer reviews to compare merchandise and compile consumer feedback.

Localize searches using a destination country code and display currency, though retrieving a variant does not guarantee it remains available for purchase.

### Actions

| Action | What you get | Required | Optional | Results per request | Price per request |
|---|---|---|---|---|---|
| `search` | Browse AliExpress listings for a product keyword. Compare price with the original price, discount, orders, rating, ship-from location and seller. Filters cover minimum price, minimum star rating and sort order. The figures describe each listing, not demand or margin. | keyword | min_price, min_rating, sort | 20 (up to 200) | $0.0027 |
| `profile` | Open an AliExpress item link and get the product page as JSON. Get title, prices, currency, rating, units sold, shipping, store details and stock signals. Despite the name, `profile` describes the product, not a shopper's profile. Stock figures are not guaranteed inventory. | url | country, currency | 1 | $0.0014 |
| `variants` | List the variants and SKUs of an AliExpress product, with each option's properties, color, image and price where the listing shows them. A missing combination does not mean it is sold out, and the list is not a full stock record. | url | country, currency | 1 | $0.0012 |
| `reviews` | Collect buyer feedback on an AliExpress product, including star rating, country, variant bought, shipping method, helpful votes and photos. When `is_translated` is true, `text` is a translation and `original_text` holds the reviewer's own words. | url | sort | 20 (up to 200) | $0.0045 |
| `ratings` | Read the average star rating and total review count for one AliExpress product. The star-by-star breakdown and the positive, neutral and negative rates are temporarily unavailable. Use `reviews` for individual reviews. | url | — | 1 | $0.0013 |
| `product_detail` | Fetch the full AliExpress product page for one item: price and discount, units sold, rating, shipping, variants, attributes, total stock and store background. `country` and `currency` set the regional context, and `sold_text` is the rounded figure shown on the page, not an exact count. | url | country, currency | 1 | $0.0011 |

### Input

Pick an `action` and fill the fields it uses. Example:

```json
{
  "action": "search",
  "keyword": "wireless keyboard"
}
```

Fields that another action needs are ignored when left empty. API users can also pass `{"action": ..., "params": {...}}`.

### Output

Each result is one dataset row. Rows keep every field the source page exposes for that action; a field the platform hides or leaves empty for a record is omitted rather than filled with a placeholder. When there is a next page, the run's `OUTPUT` record holds `next_page_token`.

- `search`: `product_id`, `title`, `url`, `price`, `original_price`, `currency`, `discount`, `rating`, `rating_scale`, `orders_count`, `review_count`, `image_url`, `ships_from`, `seller_name`, `category`, `is_top_rated`, `free_shipping`, `images`, `search_rank`, `seller_rating`, `seller_url`, `platform`, `tags`
- `profile`: `id`, `url`, `name`, `text`, `price`, `original_price`, `currency`, `discount`, `sold_count`, `rating`, `rating_scale`, `review_count`, `shipping`, `variants`, `store_name`, `store_url`, `image_url`, `images`, `description_images`, `price_max`, `original_price_max`, `sold_text`, `attributes`, `category_id`, `category_path`, `ship_to`, `total_stock`, `video_url`, `store_id`, `seller_id`, `store_country`, `store_opened_at`, `store_positive_rate`, `store_rating`, `store_sold_180d`, `store_is_top_rated`, `platform`
- `variants`: `id`, `url`, `name`, `text`, `price`, `original_price`, `currency`, `discount`, `sold_count`, `rating`, `rating_scale`, `review_count`, `shipping`, `variants`, `store_name`, `store_url`, `image_url`, `images`, `description_images`, `price_max`, `original_price_max`, `sold_text`, `attributes`, `category_id`, `category_path`, `ship_to`, `total_stock`, `video_url`, `store_id`, `seller_id`, `store_country`, `store_opened_at`, `store_positive_rate`, `store_rating`, `store_sold_180d`, `store_is_top_rated`, `platform`
- `reviews`: `review_id`, `text`, `rating`, `rating_scale`, `posted_at`, `country`, `author`, `sku_info`, `helpful_count`, `logistics`, `product_id`, `is_anonymous`, `unhelpful_count`, `language`, `original_text`, `is_translated`, `review_labels`, `sku_id`, `platform`, `images`
- `ratings`: `average_star`, `total_reviews`, `positive_rate`, `neutral_rate`, `negative_rate`, `five_star`, `four_star`, `three_star`, `two_star`, `one_star`, `platform`
- `product_detail`: `id`, `url`, `name`, `text`, `price`, `original_price`, `currency`, `discount`, `sold_count`, `rating`, `rating_scale`, `review_count`, `shipping`, `variants`, `store_name`, `store_url`, `image_url`, `images`, `description_images`, `price_max`, `original_price_max`, `sold_text`, `attributes`, `category_id`, `category_path`, `ship_to`, `total_stock`, `video_url`, `store_id`, `seller_id`, `store_country`, `store_opened_at`, `store_positive_rate`, `store_rating`, `store_sold_180d`, `store_is_top_rated`, `platform`

#### Field notes

- `price_max`: Upper end of the price range for products whose variants cost different amounts.
- `original_price_max`: Upper end of the list-price range for multi-variant products.
- `sold_text`: Sales figure as shown (for example 10,000+ sold); a rounded display, not an exact count.
- `attributes`: Product attributes as {name, value} rows (material, model and so on).
- `category_id`: AliExpress category ID.
- `category_path`: AliExpress category path.
- `ship_to`: The destination country or region this price and shipping quote applies to.
- `total_stock`: Total stock across all variants; each variant's own stock is in its variants entry.
- `variants`: SKU list, one entry per variant: sku_id, properties (option name → value, such as Color and Size), price, original_price, stock, available, image_url and max_buy_count; keys the platform does not show are left out.
- `video_url`: Product video link.
- `store_id`: Store ID.
- `seller_id`: Seller ID (AliExpress's own public ID).
- `store_country`: Country or region of the store.
- `store_opened_at`: When the store opened.
- `store_positive_rate`: Store positive-feedback rate as shown (for example 95.2%).
- `store_rating`: Store rating.
- `store_sold_180d`: Store sales over the last 180 days, as shown.
- `store_is_top_rated`: Whether the store is an AliExpress Top Rated seller.
- `max_buy_count`: Purchase limit for one variant (inside each variants entry).
- `images`: Image links: on product capabilities the product gallery in page order, on reviews the buyer's photos.
- `search_rank`: Position in this search result (search).
- `seller_rating`: Seller rating (search).
- `seller_url`: Seller store link (search).
- `is_anonymous`: Whether the review was posted anonymously (reviews).
- `unhelpful_count`: How many times the review was marked not helpful (reviews).
- `original_text`: The review in its original language (reviews); text may be a machine translation.
- `is_translated`: Whether text is a translation (reviews).
- `review_labels`: The reviewer's per-aspect labels (reviews), for example fit, quality or value for money, each with its verdict.
- `sku_id`: SKU ID of the purchased variant.

### Pricing

Pay per event, charged only when a run delivers data:

- `search`: $0.0027, one event per started block of 20 results.
- `profile`: $0.0014, one event per non-empty request, whatever the row count.
- `variants`: $0.0012, one event per non-empty request, whatever the row count.
- `reviews`: $0.0045, one event per started block of 20 results.
- `ratings`: $0.0013, one event per non-empty request, whatever the row count.
- `product_detail`: $0.0011, one event per non-empty request, whatever the row count.

Empty or failed requests are never charged. There is no actor-start fee and no per-row fee, and platform usage is included in these prices.

### Free trial

The first 3 accepted data requests per Apify account are free across all EveryInfra Actors combined (a lifetime total, not per Actor and not reset). Invalid input does not use a trial; an accepted request that returns no data still does. After that a paid Apify plan is required.

### Notes

- Results reflect what is publicly visible when the run happens; counts can be lower than requested.
- One run makes one request. For more pages, start another run with `page_token` where the action supports it.
- This is an independent Actor. It is not affiliated with, sponsored by, or endorsed by AliExpress or its owner; names and trademarks belong to their respective owners.

### Support

Open an issue on this Actor's Issues tab with the run ID.

# Actor input Schema

## `action` (type: `string`):

What to fetch. Each action uses only the fields listed for it below; other fields are ignored when empty.

## `keyword` (type: `string`):

Used by `search` (required). Specifies the product search query (for example, wireless earbuds) to return listing collections. Pass search keywords instead of seller IDs; access product details, variants, and reviews using item URLs.

## `min_price` (type: `number`):

Used by `search`. Sets the minimum item price numeric threshold for search queries to exclude lower-priced items. This is an item price filter rather than a discount percentage or API request budget; result currencies depend on search metadata.

## `min_rating` (type: `number`):

Used by `search`. Filters item searches by minimum star rating using a numeric scale from 0 to 5 (such as 4.5). This parameter evaluates overall product rating rather than review counts, positive feedback percentages, or individual review scores.

## `sort` (type: `string`):

Used by `search`, `reviews`. Sorts action results using allowed values. For search, options include relevance (default), popular, price_asc, price_desc, and top_rated (supporting legacy values default, orders, rating). For reviews, options are relevance (default) and newest, which sorts by review submission date rather than product listing date. ratings takes no sort.

## `url` (type: `string`):

Used by `profile` (required), `variants` (required), `reviews` (required), `ratings` (required), `product_detail` (required). Specifies the target AliExpress item using a full URL (such as https://www.aliexpress.com/item/\<item_id>.html). Use url with profile to fetch product metadata, variants for SKUs, reviews or ratings for feedback summaries, or product_detail (which also accepts a numeric item ID).

## `country` (type: `string`):

Used by `profile`, `variants`, `product_detail`. The country or region code, such as US, that profile, variants and product_detail read the product for (default US, converted to uppercase). It picks the regional view of the item; it does not change your account country or a real order's shipping address.

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

Used by `profile`, `variants`, `product_detail`. The currency for the item prices returned by profile, variants and product_detail, such as USD (default USD, converted to uppercase). It changes displayed prices only and has nothing to do with how EveryInfra API calls are billed.

## `limit` (type: `integer`):

How many results to request for list actions. Defaults and maximums per action: `search` 20 (max 200); `reviews` 20 (max 200). Billing: `search` one event per started block of 20 results; `reviews` one event per started block of 20 results.

## `params` (type: `object`):

Optional JSON object with the same fields as above, for API and integration use. Flat fields and params must not disagree.

## Actor input object example

```json
{
  "action": "search",
  "keyword": "wireless keyboard"
}
```

# Actor output Schema

## `records` (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 = {
    "keyword": "wireless keyboard"
};

// Run the Actor and wait for it to finish
const run = await client.actor("blushing_parachute/everyinfra-aliexpress-api").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 = { "keyword": "wireless keyboard" }

# Run the Actor and wait for it to finish
run = client.actor("blushing_parachute/everyinfra-aliexpress-api").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 '{
  "keyword": "wireless keyboard"
}' |
apify call blushing_parachute/everyinfra-aliexpress-api --silent --output-dataset

```

## MCP server setup

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

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/0IaZDAsMf06VhMxxo/builds/jj7kxBTh1g5PBCDVK/openapi.json
