Docs
Log in
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' -G
from 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+bottle

Response shape

JSON response body. Field types may be null when the source page omits the value.

query
string
Search query.
products
array
Product summaries.
products[].product_id
string
Product ID.
products[].title
string
Title.
products[].price
string
Price.
products[].url
string
URL.
products[].rating
number
Rating.
products[].orders_count
integer
Orders.
products[].image_url
string
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
    }
  ]
}