Skip to the content

Scraper API

AliExpress

aliexpress.searchAvailable

AliExpress search

The products on a page of AliExpress's results: prices, reductions, ratings, numbers sold, stores and labels, with advertisements marked.

Give it a search query.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
7, 1 required
Record
18 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/aliexpress.search/runs

{
"input": {
"query": "usb-c cable 100w"
}
}

sent, and answered

a record of the run18 fields

{
product_id: "3256811903226996"
url: "https://www.aliexpress.com/item/3256811903226996.html"
title: "USB C to Type C Cable for Xiaomi Motorola Huawei Macbook iPad Iphone 1…
price: { "amount": 1.09, "currency": "USD" }
price_text: "US $1.09"
original_price: null
discount_percent: 79
rating: 4.7
sold: 739
… 9 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 18 fields are set down here; the whole record is below.

aliexpress.com
The page AliExpress search reads, as a browser shows it
The page this scraper reads, photographed in a browser on 19 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

See where a product ranks
The results of an AliExpress search in their order, with position, sponsored and sold, so you know what a shopper sees first.
Source a product
Search a product and compare prices, reductions, ratings and numbers sold across the stores that sell it.
Find the products to follow
Collect product_id numbers from a search, then read each product's reviews with the reviews scraper.

What you send

A search query. These are its 7 inputs, as its schema has them.

querystring Required
What to search for, e.g. "wireless earbuds".
pageinteger Optional
The results page, from 1 (AliExpress serves at most 60, of up to 60 products each).Default 1
sortstring Optional
AliExpress's sort order: best match, most orders, or price.Default best_match
min_pricenumber Optional
Only products priced at least this much, in US dollars.
max_pricenumber Optional
Only products priced at most this much, in US dollars.
max_resultsinteger Optional
Return at most this many items of the page; all of them when not given.
include_sponsoredboolean Optional
False leaves the advertisements (sponsored: true) out.Default true

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/aliexpress.search/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"query":"usb-c cable 100w"}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("aliexpress.search", {"query": "usb-c cable 100w"})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("aliexpress.search", { query: "usb-c cable 100w" });
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "aliexpress.search", map[string]any{"query": "usb-c cable 100w"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("aliexpress.search", Map.of("query", "usb-c cable 100w"));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run aliexpress.search --input 'query=usb-c cable 100w'

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

The products on a page of AliExpress's results: prices, reductions, ratings, numbers sold, stores and labels, with advertisements marked. A record has 18 fields. One we could not read is null, never an empty string or a zero.

A record aliexpress.search returned
{
  "product_id": "3256811903226996",
  "url": "https://www.aliexpress.com/item/3256811903226996.html",
  "title": "USB C to Type C Cable for Xiaomi Motorola Huawei Macbook iPad Iphone 17 16 15 Series 100W Fast and Safe Nylon Braided Data Line",
  "price": {
    "amount": 1.09,
    "currency": "USD"
  },
  "price_text": "US $1.09",
  "original_price": null,
  "discount_percent": 79,
  "rating": 4.7,
  "sold": 739,
  "sold_text": "739 sold",
  "store_name": "DFLASHSS Store",
  "sponsored": false,
  "choice": true,
  "labels": [
    "Free shipping",
    "180 CM | Data Cable | 5 A | Type-C",
    "$4.21 saved"
  ],
  "image": "https://ae-pic-a1.aliexpress-media.com/kf/S83d6c934017a48b0a4b1a1ab21553e0cF.jpg",
  "position": 1,
  "page": 1,
  "fetched_at": "2026-11-19T18:07:38.152234Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

Values shortened for this page: labels: 5 items, the first 3 shown.

The fields of a record

product_idstring
AliExpress's number of the product: the number in its address (/item/<number>.html), as the United States site gives it.
urlstring
The product's address on aliexpress.com.
titlestring
The product's title.
priceobject or null
The price on the card, as shown to a visitor in the United States who is not signed in; it can be a first-order offer. Null when the card shows an offer instead of a price.Holds amount, currency.
price_textstring or null
The price as the page writes it, e.g. "US $3.82".
original_priceobject or null
The price before the reduction, when the card states one.Holds amount, currency.
discount_percentinteger or null
The reduction in percent, when the card states one.
ratingnumber or null
Average star rating, 1 to 5; null when the card shows none.
soldinteger or null
The number sold as the card states it; a lower bound when sold_text ends in a plus sign ("5,000+ sold" is 5000).
sold_textstring or null
The number sold as the page writes it, e.g. "5,000+ sold".
store_namestring or null
The name of the store that sells the product, when the page's data names it.
sponsoredboolean
True for an advertisement, false for a result.
choiceboolean
True when the card carries the AliExpress Choice badge.
labelslist of strings
The texts written on the card, e.g. Free shipping, Save $2.62.
imagestring or null
The address of the product's main picture.
positioninteger
The item's place among the returned items of this page, from 1.
pageinteger
The results page the item was on.
fetched_atdatetime
When the results page was read, in UTC.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • One run reads one page of results: up to 60 products.
  • Prices are those shown in the United States to a visitor who is not signed in, which can include new-shopper offers.

The bounds its schema sets

page
1 to 60; 1 unless you say otherwise
sort
best_match, orders, price_low, price_high; best_match unless you say otherwise
min_price
0 to 1,000,000
max_price
0 to 1,000,000
max_results
1 to 100

Scraper API pricing: how units workThe five ways a run ends

Questions

What does AliExpress search return?

The products on a page of AliExpress's results: prices, reductions, ratings, numbers sold, stores and labels, with advertisements marked. A record has 18 fields, among them product_id, url, title, price, price_text and original_price. A value that could not be read is null, never an empty string or a zero.

What do I send?

A search query. The input query is required. Optional: page, sort, min_price, max_price, max_results and include_sponsored.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

How much does one run return?

Its schema sets these bounds: page 1 to 60 (1 unless you say otherwise); sort best_match, orders, price_low, price_high (best_match unless you say otherwise); min_price 0 to 1,000,000; max_price 0 to 1,000,000; max_results 1 to 100. A run may take up to 5 minutes.

What does it not do?

One run reads one page of results: up to 60 products. Prices are those shown in the United States to a visitor who is not signed in, which can include new-shopper offers.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id aliexpress.search and the same input. It costs what the same API call costs.

Used in this playbook

A playbook runs AliExpress search as one of its steps and hands back the finished list. Its runs of this scraper cost what they cost here, and the playbook adds nothing.

  • E-commerce

    Shopify Niche Research

    The products of a niche's Shopify stores, with price, newness and reductions, and similar products on AliExpress with the margin.

AliExpress

AliExpress's public search results and customer reviews.

  • AliExpress reviews

    aliexpress.reviews

    An AliExpress product's address or number, and which page of its reviews. The reviews on that page: stars, text and its translation, date, country, the version bought, helpful votes and pictures.

AliExpress on the line-up

Where
Worldwide

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.