AliExpress API endpoint
Returns one page (up to 60 products) of a public AliExpress category listing with the same product fields as the search endpoint: product id, title, link, image, price, currency, original price, rating, sold text, discount, SKU id, ship-from country and store name when AliExpress lists them. category_id is the AliExpress web category id from a /category/<id>/<slug>.html URL (for example 5090301 for Cellphones); the slug segment is cosmetic (the listing is selected by id) and defaults to products. The listing uses the anonymous US English/USD locale. Product-detail pages are currently unavailable through the supported HTTP profiles.
/aliexpress/category-productsMCP tool: aliexpress_category_products
This is the category-browsing counterpart to keyword search: instead of a query it walks AliExpress's own category path.
Query parameters:
category_id (required): the AliExpress web category id, the number in a
/category/<id>/<slug>.html URL on aliexpress.com, for example 5090301 for
Cellphones. This is not the id aliexpress_categories
returns: those are navigation/platform ids in a different namespace and give
an empty listing here. Discover valid ids with
aliexpress_category_ids (pass q for a
keyword or category_id to walk the tree), or copy the id from the
category's page URL.slug (optional): the category's path segment in AliExpress's own URL, for
example cellphones. It is cosmetic — the listing is selected by
category_id — so it defaults to products. Supplying the real slug keeps
your URLs identical to the site's.page (optional): 1-indexed page number, 1 through 60; defaults to 1.Each product has the fields documented in aliexpress_search:
product_id, title, url, image_url, price, currency_code,
original_price, rating, sold_text, discount_percent, sku_id,
ship_from, store_name.
Notable behavior:
category_id, slug, page, page_size,
total_results, total_pages and count alongside products,
source_url and fetched_at.?page=N. A page whose echoed number does not
match the request is reported as an upstream contract break rather than
silently returned.Errors:
400 for a missing/non-positive category_id, a slug containing anything
other than lower-case letters/digits/hyphens (path traversal and query
injection are rejected here), or a page outside 1-60. These are rejected
before any upstream request.503 when the upstream page cannot be used: a bot challenge page, a
transport failure, an unparseable body, or a listing that reports results
with no parseable products. A transient transport failure is retried once; a
challenge is never retried, solved or bypassed.Data source:
https://www.aliexpress.com/category/<category_id>/<slug>.html, the same
anonymous page family as aliexpress_search, with the
same product fields. The locale is fixed to US English / USD.| Field | Filled in, of 60 checked | Values in the sample |
|---|---|---|
| product_id | 60 | |
| title | 60 | median 126 characters |
| url | 60 | aliexpress.com |
| image_url | 60 | ae-pic-a1.aliexpress-media.com |
| price | 60 | 8.23 to 938.28, median 111.39 |
| currency_code | 60 | |
| discount_percent | 60 | 10 to 72, median 48 |
| sku_id | 60 | |
| rating | 44 | 1 to 5, median 4.7 |
| sold_text | 53 | “760 sold” and 37 other values |
| ship_from | 50 | CN (45), US (5) |
| store_name | 16 | “Shop1105233629 Store” and 11 other values |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| category_id | integer | Yes | AliExpress web category id: the number in a /category/<id>/<slug>.html URL (for example 5090301 for Cellphones); taxonomy ids from the categories endpoint are a different namespace and are not interchangeable | 5090301 | |
| slug | string | No | products | Category path segment used by AliExpress's own URL (lower-case letters, digits, hyphens); cosmetic, defaults to products | cellphones |
| page | integer | No | 1 | 1-indexed result page (1-60), defaults to 1 | 1 |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/aliexpress/category-products?category_id=5090301&page=1" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"category_id": 5090301,
"slug": "cellphones",
"page": 1,
"page_size": 60,
"total_results": 3421,
"total_pages": 58,
"count": 2,
"source_url": "https://www.aliexpress.com/category/5090301/cellphones.html",
"fetched_at": "2026-10-26T03:04:11Z",
"products": [
{
"product_id": "3256812072210872",
"title": "Wireless Bluetooth Earbuds",
"url": "https://www.aliexpress.com/item/3256812072210872.html",
"image_url": "https://ae-pic-a1.aliexpress-media.com/kf/example.jpg",
"price": 2.18,
"currency_code": "USD",
"original_price": 7.99,
"rating": 4.9,
"sold_text": "3,000+ sold",
"discount_percent": 72,
"ship_from": "US",
"store_name": "Example Store"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/aliexpress.categoryProductsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | aliexpress.CategoryProductsResponse | No | ||||
| data.category_id | integer | No | 5090301 | |||
| data.count | integer | No | 60 | |||
| data.fetched_at | string | No | ||||
| data.page | integer | No | 1 | |||
| data.page_size | integer | No | 60 | |||
| data.products | array | No | ProductSummary record, 13 fields: currency_code, discount_percent, image_url, original_price, price, product_id, rating, ship_from, sku_id, sold_text, store_name, title and 1 more. Described under Search AliExpress products API. | |||
| data.slug | string | No | cellphones | |||
| data.source_url | string | No | ||||
| data.total_pages | integer | No | 58 | |||
| data.total_results | integer | No | 3421 | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/aliexpress/category-products?category_id=5090301&page=1" \
-H "x-api-key: $CRAWLORA_API_KEY"