AliExpress API endpoint
Use Crawlora's Search AliExpress products API to extract supported public AliExpress data as structured JSON. This page includes request parameters, cURL examples, response schema, error behavior, credit cost, and a Playground link for testing before integration.
/aliexpress/searchReturns one page (up to 60 products) of public keyword search results with product ids, titles, links, images, prices, ratings, sold text, discount, SKU id, ship-from country, and store name when AliExpress lists them. Results can be sorted and filtered by price, free shipping, the Choice program, and product attributes; list the attribute values for a keyword with the search-filters endpoint. The search uses the anonymous US English/USD locale. Product-detail pages are currently unavailable through the supported HTTP profiles. Developers commonly use this endpoint for data enrichment, monitoring, research dashboards, internal automation, and agent-native workflows that need repeatable structured public web data. Authentication uses the documented Crawlora headers, and usage is metered with the credit cost shown on this page.
Request parameters are generated from the active endpoint catalog. Required values must be sent before Crawlora can call the upstream public web data source.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| q | string | Yes | Free-text search keywords | wireless earbuds | |
| page | integer | No | 1 | 1-indexed result page (1-200), defaults to 1 | 1 |
| sort | string | No | Sort order. Allowed values: best_match (default), orders, price_asc, price_desc Allowed values: best_match, orders, price_asc, price_desc. | price_asc | |
| min_price | number | No | Minimum price in USD (0-1000000) | 20 | |
| max_price | number | No | Maximum price in USD (0-1000000), not below min_price | 30 | |
| free_shipping | boolean | No | Only free-shipping products | ||
| choice | boolean | No | Only products in AliExpress's Choice program | ||
| attr | string | No | Attribute filter <attributeId>-<valueId>, from the search-filters endpoint for the same q; comma-separate up to 5 values, one per attribute group | 3079-4148335 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/aliexpress/search?q=wireless+earbuds&page=1&sort=best_match&free_shipping=true&choice=true" \ -H "x-api-key: $CRAWLORA_API_KEY"
Send your scraping API key in the x-api-key header. Use the console API Keys page to rotate or select the active key.
Endpoint usage is metered in credits. The plan prices, included credits, limits, and overage rates below match the active backend billing configuration.
| Plan | Price | Included credits | Daily cap | Rate limit | Overage |
|---|---|---|---|---|---|
| Free | $0/mo | 2,000 | 500 daily credits | 5/min | No overage |
| Starter | $9/mo | 20,000 | 5,000 daily credits | 15/min | $0.75/1,000 overage credits when enabled |
| Growth | $29/mo | 100,000 | 25,000 daily credits | 45/min | $0.45/1,000 overage credits when enabled |
| Pro | $79/mo | 400,000 | No daily cap | 120/min | $0.30/1,000 overage credits |
| Business | $199/mo | 1,200,000 | No daily cap | 300/min | $0.20/1,000 overage credits |
| Enterprise | $499/mo | 5,000,000 | No daily cap | 1,000/min | $0.12/1,000 overage credits |
This endpoint is executed through Crawlora's managed scraping infrastructure.
Crawlora does not silently return bad data when the upstream page cannot be used.
| Status | Common failure case |
|---|---|
| 400 | Invalid input or missing required parameter |
| 429 | Plan or endpoint rate limit exceeded |
| 500 | Internal execution error |
| 502 | Upstream platform failed, returned unusable HTML, or served a challenge page that could not be resolved |
When possible, Crawlora returns structured error context so your integration can retry, back off, or inspect the request.
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
{
"code": 200,
"msg": "OK",
"data": {
"query": "wireless earbuds",
"page": 1,
"page_size": 60,
"total_results": 16889,
"total_pages": 282,
"count": 60,
"filters": {
"sort": "best_match"
},
"source_url": "https://www.aliexpress.com/w/wholesale-wireless-earbuds.html?SearchText=wireless+earbuds&catId=0",
"fetched_at": "2026-10-02T00:00:00Z",
"products": [
{
"product_id": "3256812072210872",
"title": "XIAOMI Redmi Airdots 2 Wireless Bluetooth Headset",
"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": 18.33,
"rating": 4.9,
"sold_text": "3,000+ sold",
"discount_percent": 88,
"sku_id": "12000056622341651",
"ship_from": "CN",
"store_name": "Example Store"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/aliexpress.searchResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | aliexpress.SearchResponse | No | ||||
| data.count | integer | No | 60 | |||
| data.fetched_at | string | No | ||||
| data.filters | aliexpress.AppliedFilters | No | ||||
| data.filters.attr | array | No | 3079-4148335 | |||
| data.filters.choice | boolean | No | ||||
| data.filters.free_shipping | boolean | No | ||||
| data.filters.max_price | number | No | 30 | |||
| data.filters.min_price | number | No | 20 | |||
| data.filters.sort | string | No | price_asc | |||
| data.page | integer | No | 1 | |||
| data.page_size | integer | No | 60 | |||
| data.products | array | No | ||||
| data.products[].currency_code | string | No | USD | |||
| data.products[].discount_percent | integer | No | 72 | |||
| data.products[].image_url | string | No | https://ae-pic-a1.aliexpress-media.com/kf/example.jpg | |||
| data.products[].original_price | number | No | 18.33 | |||
| data.products[].price | number | No | 2.18 | |||
| data.products[].product_id | string | No | 3256812072210872 | |||
| data.products[].rating | number | No | 4.9 | |||
| data.products[].ship_from | string | No | US | |||
| data.products[].sku_id | string | No | 12000056622341651 | |||
| data.products[].sold_text | string | No | 3,000+ sold | |||
| data.products[].store_name | string | No | PinZhen Store | |||
| data.products[].title | string | No | Wireless Bluetooth Earbuds | |||
| data.products[].url | string | No | https://www.aliexpress.com/item/3256812072210872.html | |||
| data.query | string | No | wireless earbuds | |||
| data.source_url | string | No | ||||
| data.total_pages | integer | No | 282 | |||
| data.total_results | integer | No | 16912 | |||
| msg | string | No | OK |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/aliexpress/search?q=wireless+earbuds&page=1&sort=best_match&free_shipping=true&choice=true" \
-H "x-api-key: $CRAWLORA_API_KEY"Crawlora is designed for responsible structured public web data workflows. Customers are responsible for using Crawlora in compliance with applicable laws, third-party rights, target-platform rules, and Crawlora terms.
Read Crawlora terms