AliExpress SERP
Extract AliExpress search results — array of products with prices and seller summaries.
Use the JS token
AliExpress scrapers work best with your JavaScript token.
API usage
Add &scraper=aliexpress-serp to a Crawling API request. URL-encode the target URL in the url parameter.
curl 'https://api.crawlbase.com/?token=YOUR_TOKEN' \
--data-urlencode 'url=https://www.aliexpress.com/wholesale?SearchText=water+bottle' \
--data-urlencode 'scraper=aliexpress-serp' -Gfrom crawlbase import CrawlingAPI
api = CrawlingAPI({'token': 'YOUR_TOKEN'})
res = api.get(
'https://www.aliexpress.com/wholesale?SearchText=water+bottle',
{'scraper': 'aliexpress-serp'}
)
import json
data = json.loads(res['body'])const { CrawlingAPI } = require('crawlbase');
const api = new CrawlingAPI({ token: 'YOUR_TOKEN' });
const res = await api.get(
'https://www.aliexpress.com/wholesale?SearchText=water+bottle',
{ scraper: 'aliexpress-serp' }
);
const data = JSON.parse(res.body);require 'crawlbase'
api = Crawlbase::API.new(token: 'YOUR_TOKEN')
res = api.get('https://www.aliexpress.com/wholesale?SearchText=water+bottle', scraper: 'aliexpress-serp')
data = JSON.parse(res.body)Example input URL
The URL passed in the url parameter (URL-decoded for readability):
https://www.aliexpress.com/wholesale?SearchText=water+bottleResponse shape
JSON response body. Field types may be null when the source page omits the value.
Search query.
Product summaries.
Product ID.
Title.
Price.
URL.
Rating.
Orders.
Thumbnail.
Sample response
{
"query": "water bottle",
"products": [
{
"product_id": "1005008227636051",
"title": "Insulated Stainless Steel Water Bottle",
"price": "$8.99",
"rating": 4.7,
"orders_count": 12430
}
]
}
