AliExpress

AliExpress price, stock, the per-SKU variant matrix, specs, images and link by product id, about 24,000 products per credit. A lookup for many ids, plus keyword search.

Embed
Preview of the card
<a href="https://scrapelyserp.com/docs/aliexpress-products"><img src="https://scrapelyserp.com/docs/_api/public/orgs/affc5b0f-d3c2-423a-8143-9d10db5736ae/spaces/981e6275-da3f-446c-82de-889f59c83b6f/pages/a6fcef06-d5ac-4993-b9ad-12b2a6803a45/social-card.svg?v=3e7ae33eec8b" alt="AliExpress" width="600" height="315"></a>

AliExpress price, stock, the per-SKU variant matrix, specs, images and link by product id, about 24,000 products per credit. A lookup for many ids, plus keyword search.

At a glance

Property

Value

platform

aliexpress

Product id

The number in an AliExpress product link, https://www.aliexpress.com/item/1005006123456789.html (1005006123456789). A pasted product link is reduced to its id. Search returns the same id.

Marketplaces

Live: global (aliexpress.com, prices in USD).

Tier

standard (the default), about 24,000 products per credit (an estimate until production traffic measures it)

Ids per call

50

Typical call

1–4 s per product

Search

GET /v1/structured/aliexpress/search by keyword, up to 60 results, about 179,000 results per credit.

Image search

GET /v1/structured/aliexpress/image-search by photo, up to 60 results, about 6,000 images per credit.

Example

curl -X POST "https://api.scrapelyserp.com/v1/products" \
  -H "Authorization: Bearer $SCRAPELY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "aliexpress",
    "ids": [
      "1005006123456789",
      "https://www.aliexpress.com/item/1005007654321098.html"
    ]
  }'

Full reference → POST /v1/products

AliExpress fields

Besides the common fields, each result carries an aliexpress object with the per-SKU matrix and specs.

Field

Description

price

The price charged, in USD (the sale price when on sale — the cheapest sellable SKU). null when AliExpress shows none.

aliexpress.variants

Each SKU (option combination): skuId, attributes, price, sale, image, inStock.

aliexpress.listPrice

The regular (pre-discount) price of the cheapest SKU, when a higher one is shown; null otherwise.

aliexpress.discount

The headline discount on the cheapest SKU (51% off); null when none.

aliexpress.sellerId

The seller’s numeric id; null when the page gives none.

aliexpress.specs

Product attributes AliExpress lists ({ name, value }).

availability

inStock is whether any SKU can still be ordered.

images

Product image URLs.

Not given

Ratings and reviews.

GET /v1/structured/aliexpress/search returns AliExpress products for a keyword — product id, title, price and currency, image and product link — up to 60 results, about 179,000 results per credit.

Parameter

Description

query

The keyword (required).

page

Always 1 — AliExpress returns one top page of up to 60 results (next_page is always null).

No matches

A keyword that matches nothing returns an empty list (total_results 0), not a failure. A page that could not be read is a failure (502 TARGET_FAILED, not charged); ask again.

GET or POST /v1/structured/aliexpress/image-search finds AliExpress products that look like a photo and returns one page of the same result rows as keyword search. Send image_url, or the image itself as image_base64 in a POST body (JPEG or PNG). about 6,000 images per credit is typical, and a larger photo costs more.

Parameter

Type

Default

Description

image_url

string

—

A public http or https URL of a JPEG or PNG photo.

image_base64

string

—

POST only: the image itself, base64 (a data:image/jpeg;base64, prefix is fine). JPEG or PNG, up to 3.5 MB.

Full reference → GET /v1/structured/aliexpress/image-search

One image, one page

Send exactly one of image_url or image_base64. An image URL must be a public http or https address; a private, local or loopback address is refused. A page we could not read is a 502 TARGET_FAILED, free; ask again.

Statuses on AliExpress

  • not_found: there is no such product id.

  • partial: the product page answered but the price matrix did not (title, link and image only).

  • unavailable: no usable answer after retries. Ask again; it is not charged.

Updated